mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 19:57:35 +00:00
LibJS: Fix crash due to AST node tracking inside call stack
This commit is contained in:
parent
74d1caf7d1
commit
6f668ca3a4
4 changed files with 6 additions and 5 deletions
|
@ -225,7 +225,7 @@ Value CallExpression::execute(Interpreter& interpreter, GlobalObject& global_obj
|
|||
}
|
||||
}
|
||||
|
||||
vm.call_frame().current_node = vm.node_stack().last();
|
||||
vm.call_frame().current_node = vm.current_node();
|
||||
Object* new_object = nullptr;
|
||||
Value result;
|
||||
if (is<NewExpression>(*this)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue