|
185 | 185 | import com.oracle.truffle.api.dsl.TypeSystemReference;
|
186 | 186 | import com.oracle.truffle.api.frame.Frame;
|
187 | 187 | import com.oracle.truffle.api.frame.FrameDescriptor;
|
188 |
| -import com.oracle.truffle.api.frame.FrameInstance; |
189 | 188 | import com.oracle.truffle.api.frame.FrameSlot;
|
190 | 189 | import com.oracle.truffle.api.frame.VirtualFrame;
|
191 | 190 | import com.oracle.truffle.api.nodes.ExplodeLoop;
|
@@ -677,7 +676,7 @@ Object execInheritGlobalsInheritLocals(VirtualFrame frame, Object source, @Suppr
|
677 | 676 | @Cached ReadCallerFrameNode readCallerFrameNode,
|
678 | 677 | @Cached ReadLocalsNode getLocalsNode) {
|
679 | 678 | PCode code = createAndCheckCode(frame, source);
|
680 |
| - PFrame callerFrame = readCallerFrameNode.executeWith(frame, PArguments.getCurrentFrameInfo(frame), 0); |
| 679 | + PFrame callerFrame = readCallerFrameNode.executeWith(frame, 0); |
681 | 680 | Object[] args = PArguments.create();
|
682 | 681 | inheritGlobals(callerFrame, args);
|
683 | 682 | inheritLocals(frame, callerFrame, args, getLocalsNode);
|
@@ -707,7 +706,7 @@ Object execCustomGlobalsGlobalLocals(VirtualFrame frame, Object source, PDict gl
|
707 | 706 | Object execInheritGlobalsCustomLocals(VirtualFrame frame, Object source, @SuppressWarnings("unused") PNone globals, Object locals,
|
708 | 707 | @Cached("create()") ReadCallerFrameNode readCallerFrameNode) {
|
709 | 708 | PCode code = createAndCheckCode(frame, source);
|
710 |
| - PFrame callerFrame = readCallerFrameNode.executeWith(frame, PArguments.getCallerFrameInfo(frame), FrameInstance.FrameAccess.READ_ONLY, 0); |
| 709 | + PFrame callerFrame = readCallerFrameNode.executeWith(frame, 0); |
711 | 710 | Object[] args = PArguments.create();
|
712 | 711 | inheritGlobals(callerFrame, args);
|
713 | 712 | setCustomLocals(args, locals);
|
|
0 commit comments