src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.nodes/src/org/graalvm/compiler/nodes/InvokeWithExceptionNode.java
--- a/src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.nodes/src/org/graalvm/compiler/nodes/InvokeWithExceptionNode.java Thu Oct 31 14:23:06 2019 -0700
+++ b/src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.nodes/src/org/graalvm/compiler/nodes/InvokeWithExceptionNode.java Thu Oct 31 16:54:16 2019 -0700
@@ -159,7 +159,7 @@
@Override
public void setNext(FixedNode x) {
if (x != null) {
- this.setNext(KillingBeginNode.begin(x, getLocationIdentity()));
+ this.setNext(KillingBeginNode.begin(x, this.getKilledLocationIdentity()));
} else {
this.setNext(null);
}
@@ -192,7 +192,7 @@
}
@Override
- public LocationIdentity getLocationIdentity() {
+ public LocationIdentity getKilledLocationIdentity() {
return LocationIdentity.any();
}
@@ -290,7 +290,7 @@
* code.
*/
public InvokeNode replaceWithInvoke() {
- InvokeNode newInvoke = graph().add(new InvokeNode(callTarget, bci, stamp, getLocationIdentity()));
+ InvokeNode newInvoke = graph().add(new InvokeNode(callTarget, bci, stamp, this.getKilledLocationIdentity()));
newInvoke.setStateAfter(stateAfter);
newInvoke.setStateDuring(stateDuring);
AbstractBeginNode oldException = this.exceptionEdge;