Mercurial > hg > truffle
comparison graal/com.oracle.graal.nodes/src/com/oracle/graal/nodes/ValuePhiNode.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 | 880717e44675 |
children | 58f2aad37d0e |
comparison
equal
deleted
inserted
replaced
19525:35481bcb5882 | 19526:8fc336a04d77 |
---|---|
31 * Value {@link PhiNode}s merge data flow values at control flow merges. | 31 * Value {@link PhiNode}s merge data flow values at control flow merges. |
32 */ | 32 */ |
33 @NodeInfo(nameTemplate = "ValuePhi({i#values})") | 33 @NodeInfo(nameTemplate = "ValuePhi({i#values})") |
34 public class ValuePhiNode extends PhiNode { | 34 public class ValuePhiNode extends PhiNode { |
35 | 35 |
36 public static final NodeClass<ValuePhiNode> TYPE = NodeClass.get(ValuePhiNode.class); | 36 public static final NodeClass<ValuePhiNode> TYPE = NodeClass.create(ValuePhiNode.class); |
37 @Input protected NodeInputList<ValueNode> values; | 37 @Input protected NodeInputList<ValueNode> values; |
38 | 38 |
39 public ValuePhiNode(Stamp stamp, AbstractMergeNode merge) { | 39 public ValuePhiNode(Stamp stamp, AbstractMergeNode merge) { |
40 this(TYPE, stamp, merge); | 40 this(TYPE, stamp, merge); |
41 } | 41 } |