Mercurial > hg > truffle
comparison graal/com.oracle.graal.nodes/src/com/oracle/graal/nodes/debug/OpaqueNode.java @ 19403:61d3cb8e1280
Add generic parameter to NodeClass. Change Graph#getNodes(Class) to Graph#getNodes(NodeClass).
author | Thomas Wuerthinger <thomas.wuerthinger@oracle.com> |
---|---|
date | Mon, 16 Feb 2015 17:47:43 +0100 |
parents | 7e2c87dae93e |
children | 8fc336a04d77 |
comparison
equal
deleted
inserted
replaced
19402:a16f1bbe2965 | 19403:61d3cb8e1280 |
---|---|
29 import com.oracle.graal.nodes.spi.*; | 29 import com.oracle.graal.nodes.spi.*; |
30 | 30 |
31 @NodeInfo | 31 @NodeInfo |
32 public final class OpaqueNode extends FloatingNode implements LIRLowerable { | 32 public final class OpaqueNode extends FloatingNode implements LIRLowerable { |
33 | 33 |
34 public static final NodeClass TYPE = NodeClass.get(OpaqueNode.class); | 34 public static final NodeClass<OpaqueNode> TYPE = NodeClass.get(OpaqueNode.class); |
35 @Input ValueNode value; | 35 @Input ValueNode value; |
36 | 36 |
37 public OpaqueNode(ValueNode value) { | 37 public OpaqueNode(ValueNode value) { |
38 super(TYPE, value.stamp().unrestricted()); | 38 super(TYPE, value.stamp().unrestricted()); |
39 this.value = value; | 39 this.value = value; |