Mercurial > hg > truffle
diff graal/com.oracle.graal.nodes/src/com/oracle/graal/nodes/ValueNode.java @ 18941:c943ba97b2a7
Remove class ScheduledNode from the node class hierarchy.
author | Thomas Wuerthinger <thomas.wuerthinger@oracle.com> |
---|---|
date | Sat, 24 Jan 2015 00:45:12 +0100 |
parents | ad3c2cacdd1a |
children | edf3a7fdd067 |
line wrap: on
line diff
--- a/graal/com.oracle.graal.nodes/src/com/oracle/graal/nodes/ValueNode.java Fri Jan 23 22:13:55 2015 +0100 +++ b/graal/com.oracle.graal.nodes/src/com/oracle/graal/nodes/ValueNode.java Sat Jan 24 00:45:12 2015 +0100 @@ -32,7 +32,7 @@ * instructions. */ @NodeInfo -public abstract class ValueNode extends ScheduledNode implements KindProvider { +public abstract class ValueNode extends com.oracle.graal.graph.Node implements KindProvider { /** * The kind of this value. This is {@link Kind#Void} for instructions that produce no value. @@ -52,6 +52,11 @@ this.stamp = stamp; } + @Override + public StructuredGraph graph() { + return (StructuredGraph) super.graph(); + } + /** * Checks if the given stamp is different than the current one ( * {@code newStamp.equals(oldStamp) == false}). If it is different then the new stamp will