LibJS: Keep track of current AST node inside the call stack

This commit is contained in:
Jean-Baptiste Boric 2021-02-28 10:45:26 +01:00 committed by Andreas Kling
commit 6172cb3599
Notes: sideshowbarker 2024-07-18 21:49:43 +09:00
5 changed files with 10 additions and 1 deletions

View file

@ -56,6 +56,7 @@ struct ScopeFrame {
};
struct CallFrame {
const ASTNode* current_node;
FlyString function_name;
Value this_value;
Vector<Value> arguments;