Mercurial > hg > truffle
comparison graal/com.oracle.graal.nodes/src/com/oracle/graal/nodes/GuardPhiNode.java @ 18995:a2cb19764970
Rename MergeNode to AbstractMergeNode.
author | Thomas Wuerthinger <thomas.wuerthinger@oracle.com> |
---|---|
date | Wed, 28 Jan 2015 01:04:20 +0100 |
parents | f57d86eb036f |
children | 7e2c87dae93e |
comparison
equal
deleted
inserted
replaced
18994:8b4ef818169c | 18995:a2cb19764970 |
---|---|
33 @NodeInfo(nameTemplate = "GuardPhi({i#values})", allowedUsageTypes = {InputType.Guard}) | 33 @NodeInfo(nameTemplate = "GuardPhi({i#values})", allowedUsageTypes = {InputType.Guard}) |
34 public class GuardPhiNode extends PhiNode implements GuardingNode { | 34 public class GuardPhiNode extends PhiNode implements GuardingNode { |
35 | 35 |
36 @OptionalInput(InputType.Guard) NodeInputList<ValueNode> values; | 36 @OptionalInput(InputType.Guard) NodeInputList<ValueNode> values; |
37 | 37 |
38 public GuardPhiNode(MergeNode merge) { | 38 public GuardPhiNode(AbstractMergeNode merge) { |
39 super(StampFactory.forVoid(), merge); | 39 super(StampFactory.forVoid(), merge); |
40 this.values = new NodeInputList<>(this); | 40 this.values = new NodeInputList<>(this); |
41 } | 41 } |
42 | 42 |
43 public GuardPhiNode(MergeNode merge, ValueNode[] values) { | 43 public GuardPhiNode(AbstractMergeNode merge, ValueNode[] values) { |
44 super(StampFactory.forVoid(), merge); | 44 super(StampFactory.forVoid(), merge); |
45 this.values = new NodeInputList<>(this, values); | 45 this.values = new NodeInputList<>(this, values); |
46 } | 46 } |
47 | 47 |
48 @Override | 48 @Override |