# HG changeset patch # User Gilles Duboscq # Date 1368197280 -7200 # Node ID afc3e97391bf26c3fb3f4aed196fef2e3becd648 # Parent fde5ccbab3a3d60f8e3c4d59e398fb091a05b27e In TailDuplication phase, replaced phi values users should not need to be anchored diff -r fde5ccbab3a3 -r afc3e97391bf graal/com.oracle.graal.phases.common/src/com/oracle/graal/phases/common/TailDuplicationPhase.java --- a/graal/com.oracle.graal.phases.common/src/com/oracle/graal/phases/common/TailDuplicationPhase.java Fri May 10 23:27:19 2013 +0200 +++ b/graal/com.oracle.graal.phases.common/src/com/oracle/graal/phases/common/TailDuplicationPhase.java Fri May 10 16:48:00 2013 +0200 @@ -282,11 +282,6 @@ // re-wire the phi duplicates to the correct input for (PhiNode phi : phiSnapshot) { PhiNode phiDuplicate = (PhiNode) duplicates.get(phi); - for (Node usage : phiDuplicate.usages()) { - if (usage instanceof ValueNode) { - ((ValueNode) usage).dependencies().add(prevBegin); - } - } phiDuplicate.replaceAtUsages(phi.valueAt(forwardEnd)); phiDuplicate.safeDelete(); }