comparison graal/com.oracle.graal.nodes/src/com/oracle/graal/nodes/GuardedValueNode.java @ 19410: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
19409:a16f1bbe2965 19410:61d3cb8e1280
37 * A GuardedValueNode will only go away if its guard is null or {@link StructuredGraph#start()}. 37 * A GuardedValueNode will only go away if its guard is null or {@link StructuredGraph#start()}.
38 */ 38 */
39 @NodeInfo 39 @NodeInfo
40 public final class GuardedValueNode extends FloatingGuardedNode implements LIRLowerable, Virtualizable, IterableNodeType, Canonicalizable, ValueProxy { 40 public final class GuardedValueNode extends FloatingGuardedNode implements LIRLowerable, Virtualizable, IterableNodeType, Canonicalizable, ValueProxy {
41 41
42 public static final NodeClass TYPE = NodeClass.get(GuardedValueNode.class); 42 public static final NodeClass<GuardedValueNode> TYPE = NodeClass.get(GuardedValueNode.class);
43 @Input ValueNode object; 43 @Input ValueNode object;
44 protected final Stamp piStamp; 44 protected final Stamp piStamp;
45 45
46 public GuardedValueNode(ValueNode object, GuardingNode guard, Stamp stamp) { 46 public GuardedValueNode(ValueNode object, GuardingNode guard, Stamp stamp) {
47 super(TYPE, stamp, guard); 47 super(TYPE, stamp, guard);