src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.nodes/src/org/graalvm/compiler/nodes/InvokeWithExceptionNode.java
equal
deleted
inserted
replaced
157 } |
157 } |
158 |
158 |
159 @Override |
159 @Override |
160 public void setNext(FixedNode x) { |
160 public void setNext(FixedNode x) { |
161 if (x != null) { |
161 if (x != null) { |
162 this.setNext(KillingBeginNode.begin(x, getLocationIdentity())); |
162 this.setNext(KillingBeginNode.begin(x, this.getKilledLocationIdentity())); |
163 } else { |
163 } else { |
164 this.setNext(null); |
164 this.setNext(null); |
165 } |
165 } |
166 } |
166 } |
167 |
167 |
190 public boolean hasSideEffect() { |
190 public boolean hasSideEffect() { |
191 return true; |
191 return true; |
192 } |
192 } |
193 |
193 |
194 @Override |
194 @Override |
195 public LocationIdentity getLocationIdentity() { |
195 public LocationIdentity getKilledLocationIdentity() { |
196 return LocationIdentity.any(); |
196 return LocationIdentity.any(); |
197 } |
197 } |
198 |
198 |
199 @Override |
199 @Override |
200 public Map<Object, Object> getDebugProperties(Map<Object, Object> map) { |
200 public Map<Object, Object> getDebugProperties(Map<Object, Object> map) { |
288 /** |
288 /** |
289 * Replaces this InvokeWithExceptionNode with a normal InvokeNode. Kills the exception dispatch |
289 * Replaces this InvokeWithExceptionNode with a normal InvokeNode. Kills the exception dispatch |
290 * code. |
290 * code. |
291 */ |
291 */ |
292 public InvokeNode replaceWithInvoke() { |
292 public InvokeNode replaceWithInvoke() { |
293 InvokeNode newInvoke = graph().add(new InvokeNode(callTarget, bci, stamp, getLocationIdentity())); |
293 InvokeNode newInvoke = graph().add(new InvokeNode(callTarget, bci, stamp, this.getKilledLocationIdentity())); |
294 newInvoke.setStateAfter(stateAfter); |
294 newInvoke.setStateAfter(stateAfter); |
295 newInvoke.setStateDuring(stateDuring); |
295 newInvoke.setStateDuring(stateDuring); |
296 AbstractBeginNode oldException = this.exceptionEdge; |
296 AbstractBeginNode oldException = this.exceptionEdge; |
297 graph().replaceSplitWithFixed(this, newInvoke, this.next()); |
297 graph().replaceSplitWithFixed(this, newInvoke, this.next()); |
298 GraphUtil.killCFG(oldException); |
298 GraphUtil.killCFG(oldException); |