We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 06c1ce1 commit 533e511Copy full SHA for 533e511
core/vm.cpp
@@ -2082,13 +2082,14 @@ class Interpreter {
2082
// Cache these, because pop will invalidate them.
2083
std::vector<HeapThunk *> thunks_copy = f.thunks;
2084
2085
+ const AST *f_ast = f.ast;
2086
stack.pop();
2087
2088
if (func->body == nullptr) {
2089
// Built-in function.
2090
// Give nullptr for self because noone looking at this frame will
2091
// attempt to bind to self (it's native code).
- stack.newFrame(FRAME_BUILTIN_FORCE_THUNKS, f.ast);
2092
+ stack.newFrame(FRAME_BUILTIN_FORCE_THUNKS, f_ast);
2093
stack.top().thunks = thunks_copy;
2094
stack.top().val = scratch;
2095
goto replaceframe;
0 commit comments