Mercurial > hg > truffle
comparison graal/com.oracle.graal.nodes/src/com/oracle/graal/nodes/debug/BlackholeNode.java @ 19526:8fc336a04d77
Create TYPE fields for LIRInstruction and CompositeValue. Renaming NodeClass#get to NodeClass#create.
author | Thomas Wuerthinger <thomas.wuerthinger@oracle.com> |
---|---|
date | Fri, 20 Feb 2015 22:22:55 +0100 |
parents | 61d3cb8e1280 |
children | 14e703edb2ab |
comparison
equal
deleted
inserted
replaced
19525:35481bcb5882 | 19526:8fc336a04d77 |
---|---|
29 import com.oracle.graal.nodes.spi.*; | 29 import com.oracle.graal.nodes.spi.*; |
30 | 30 |
31 @NodeInfo | 31 @NodeInfo |
32 public final class BlackholeNode extends FixedWithNextNode implements LIRLowerable { | 32 public final class BlackholeNode extends FixedWithNextNode implements LIRLowerable { |
33 | 33 |
34 public static final NodeClass<BlackholeNode> TYPE = NodeClass.get(BlackholeNode.class); | 34 public static final NodeClass<BlackholeNode> TYPE = NodeClass.create(BlackholeNode.class); |
35 @Input ValueNode value; | 35 @Input ValueNode value; |
36 | 36 |
37 public BlackholeNode(ValueNode value) { | 37 public BlackholeNode(ValueNode value) { |
38 super(TYPE, StampFactory.forVoid()); | 38 super(TYPE, StampFactory.forVoid()); |
39 this.value = value; | 39 this.value = value; |