# HG changeset patch # User Thomas Wuerthinger # Date 1379318534 -7200 # Node ID 74ea8747b43a2106124992731a8a96d31b4e6a15 # Parent 6f2435671a700f6167a4009a4e6aee70bcd536da Add PhiNode in InliningUtil with addWithoutUnique. diff -r 6f2435671a70 -r 74ea8747b43a graal/com.oracle.graal.phases.common/src/com/oracle/graal/phases/common/InliningUtil.java --- a/graal/com.oracle.graal.phases.common/src/com/oracle/graal/phases/common/InliningUtil.java Mon Sep 16 02:31:05 2013 +0200 +++ b/graal/com.oracle.graal.phases.common/src/com/oracle/graal/phases/common/InliningUtil.java Mon Sep 16 10:02:14 2013 +0200 @@ -621,7 +621,7 @@ FixedNode exceptionSux = exceptionEdge.next(); graph.addBeforeFixed(exceptionSux, exceptionMerge); - exceptionObjectPhi = graph.add(new PhiNode(Kind.Object, exceptionMerge)); + exceptionObjectPhi = graph.addWithoutUnique(new PhiNode(Kind.Object, exceptionMerge)); exceptionMerge.setStateAfter(exceptionEdge.stateAfter().duplicateModified(invoke.stateAfter().bci, true, Kind.Object, exceptionObjectPhi)); }