Mercurial > hg > truffle
diff graal/com.oracle.graal.java/src/com/oracle/graal/java/GraphBuilderContext.java @ 19167:ce23018b970a
rename: makeNonNull -> nullCheckedValue
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Fri, 06 Feb 2015 12:11:22 +0100 |
parents | ac9ad302e12f |
children | c8091ec0fdc0 |
line wrap: on
line diff
--- a/graal/com.oracle.graal.java/src/com/oracle/graal/java/GraphBuilderContext.java Thu Feb 05 15:33:15 2015 -0800 +++ b/graal/com.oracle.graal.java/src/com/oracle/graal/java/GraphBuilderContext.java Fri Feb 06 12:11:22 2015 +0100 @@ -50,10 +50,10 @@ void push(Kind kind, ValueNode value); /** - * @see GuardingPiNode#makeNonNull(ValueNode) + * @see GuardingPiNode#nullCheckedValue(ValueNode) */ - static ValueNode makeNonNull(GraphBuilderContext builder, ValueNode value) { - ValueNode nonNullValue = GuardingPiNode.makeNonNull(value); + static ValueNode nullCheckedValue(GraphBuilderContext builder, ValueNode value) { + ValueNode nonNullValue = GuardingPiNode.nullCheckedValue(value); if (nonNullValue != value) { builder.append((FixedWithNextNode) nonNullValue); }