Mercurial > hg > graal-jvmci-8
comparison graal/com.oracle.graal.nodes/src/com/oracle/graal/nodes/FixedGuardNode.java @ 11632:625662f170ee
Merge.
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Fri, 13 Sep 2013 16:17:42 +0200 |
parents | 1aed684853f6 340e67bf1758 |
children | 23d91654c363 |
comparison
equal
deleted
inserted
replaced
11631:1aed684853f6 | 11632:625662f170ee |
---|---|
105 } | 105 } |
106 } | 106 } |
107 | 107 |
108 @Override | 108 @Override |
109 public void lower(LoweringTool tool) { | 109 public void lower(LoweringTool tool) { |
110 if (graph().getGuardsPhase() == StructuredGraph.GuardsPhase.FLOATING_GUARDS) { | 110 if (graph().getGuardsPhase() == StructuredGraph.GuardsStage.FLOATING_GUARDS) { |
111 GuardingNode guard = tool.createGuard(condition(), getReason(), getAction(), isNegated()); | 111 GuardingNode guard = tool.createGuard(condition(), getReason(), getAction(), isNegated()); |
112 ValueAnchorNode newAnchor = graph().add(new ValueAnchorNode(guard.asNode())); | 112 ValueAnchorNode newAnchor = graph().add(new ValueAnchorNode(guard.asNode())); |
113 this.replaceAtUsages(guard.asNode()); | 113 this.replaceAtUsages(guard.asNode()); |
114 graph().replaceFixedWithFixed(this, newAnchor); | 114 graph().replaceFixedWithFixed(this, newAnchor); |
115 } else { | 115 } else { |