Mercurial > hg > graal-compiler
diff graal/com.oracle.graal.nodes/src/com/oracle/graal/nodes/GuardPhiNode.java @ 16332:ddd68e267e34
explicitly define optional inputs in @Input
author | Lukas Stadler <lukas.stadler@oracle.com> |
---|---|
date | Mon, 30 Jun 2014 18:46:41 +0200 |
parents | 882f4cb7cfcf |
children | 6ce37ad3ea47 |
line wrap: on
line diff
--- a/graal/com.oracle.graal.nodes/src/com/oracle/graal/nodes/GuardPhiNode.java Mon Jun 30 18:46:41 2014 +0200 +++ b/graal/com.oracle.graal.nodes/src/com/oracle/graal/nodes/GuardPhiNode.java Mon Jun 30 18:46:41 2014 +0200 @@ -29,7 +29,7 @@ @NodeInfo(nameTemplate = "GuardPhi({i#values})", allowedUsageTypes = {InputType.Guard}) public class GuardPhiNode extends PhiNode implements GuardingNode { - @Input(InputType.Guard) final NodeInputList<ValueNode> values = new NodeInputList<>(this); + @OptionalInput(InputType.Guard) final NodeInputList<ValueNode> values = new NodeInputList<>(this); public GuardPhiNode(MergeNode merge) { super(StampFactory.forVoid(), merge);