mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 02:37:42 +00:00
LibJS: Keep track of current AST node inside the call stack
This commit is contained in:
parent
0039ecb189
commit
6172cb3599
5 changed files with 10 additions and 1 deletions
|
@ -225,6 +225,7 @@ Value CallExpression::execute(Interpreter& interpreter, GlobalObject& global_obj
|
|||
}
|
||||
}
|
||||
|
||||
vm.call_frame().current_node = vm.node_stack().last();
|
||||
Object* new_object = nullptr;
|
||||
Value result;
|
||||
if (is<NewExpression>(*this)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue