src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.nodes/src/org/graalvm/compiler/nodes/InvokeNode.java
changeset 58877 aec7bf35d6f5
parent 58299 6df94ce3ab2f
equal deleted inserted replaced
58876:1a8d65e71a66 58877:aec7bf35d6f5
   107         super(TYPE, invoke.stamp);
   107         super(TYPE, invoke.stamp);
   108         this.callTarget = invoke.callTarget;
   108         this.callTarget = invoke.callTarget;
   109         this.bci = invoke.bci;
   109         this.bci = invoke.bci;
   110         this.polymorphic = invoke.polymorphic;
   110         this.polymorphic = invoke.polymorphic;
   111         this.useForInlining = invoke.useForInlining;
   111         this.useForInlining = invoke.useForInlining;
   112         this.identity = invoke.getLocationIdentity();
   112         this.identity = invoke.getKilledLocationIdentity();
   113     }
   113     }
   114 
   114 
   115     @Override
   115     @Override
   116     public void replaceBci(int newBci) {
   116     public void replaceBci(int newBci) {
   117         assert BytecodeFrame.isPlaceholderBci(bci) && !BytecodeFrame.isPlaceholderBci(newBci) : "can only replace placeholder with better bci";
   117         assert BytecodeFrame.isPlaceholderBci(bci) && !BytecodeFrame.isPlaceholderBci(newBci) : "can only replace placeholder with better bci";
   179         }
   179         }
   180         return debugProperties;
   180         return debugProperties;
   181     }
   181     }
   182 
   182 
   183     @Override
   183     @Override
   184     public LocationIdentity getLocationIdentity() {
   184     public LocationIdentity getKilledLocationIdentity() {
   185         return identity;
   185         return identity;
   186     }
   186     }
   187 
   187 
   188     @Override
   188     @Override
   189     public void lower(LoweringTool tool) {
   189     public void lower(LoweringTool tool) {