Mercurial > hg > truffle
diff graal/com.oracle.graal.phases.common/src/com/oracle/graal/phases/common/ConditionalEliminationPhase.java @ 11711:f12b418ebc74
Allow only single input for value anchors.
author | Thomas Wuerthinger <thomas.wuerthinger@oracle.com> |
---|---|
date | Thu, 19 Sep 2013 02:20:46 +0200 |
parents | cfca65c7cf02 |
children | 7e7edb86fb43 |
line wrap: on
line diff
--- a/graal/com.oracle.graal.phases.common/src/com/oracle/graal/phases/common/ConditionalEliminationPhase.java Thu Sep 19 01:50:08 2013 +0200 +++ b/graal/com.oracle.graal.phases.common/src/com/oracle/graal/phases/common/ConditionalEliminationPhase.java Thu Sep 19 02:20:46 2013 +0200 @@ -505,7 +505,7 @@ } ValueAnchorNode anchor = null; if (replacementAnchor == null) { - anchor = graph.add(new ValueAnchorNode()); + anchor = graph.add(new ValueAnchorNode(null)); replacementAnchor = anchor; } PiNode piNode;