Skip to content

Commit

Permalink
[GR-18817] backport: Fix BCI to rethrow an exception in the interpreter.
Browse files Browse the repository at this point in the history
  • Loading branch information
ezzarghili committed Oct 11, 2019
2 parents b30f73a + 0084c92 commit 65e0378
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ private EconomicSet<Node> inlineMultipleMethods(StructuredGraph graph, Providers
FixedNode exceptionSux = exceptionEdge.next();
graph.addBeforeFixed(exceptionSux, exceptionMerge);
exceptionObjectPhi = graph.addWithoutUnique(new ValuePhiNode(StampFactory.forKind(JavaKind.Object), exceptionMerge));
exceptionMerge.setStateAfter(exceptionEdge.stateAfter().duplicateModified(invoke.stateAfter().bci, true, JavaKind.Object, new JavaKind[]{JavaKind.Object},
exceptionMerge.setStateAfter(exceptionEdge.stateAfter().duplicateModified(invoke.bci(), true, JavaKind.Object, new JavaKind[]{JavaKind.Object},
new ValueNode[]{exceptionObjectPhi}));
}

Expand Down

0 comments on commit 65e0378

Please sign in to comment.