diff options
author | Jean-Baptiste Boric <jblbeurope@gmail.com> | 2021-02-28 10:45:26 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-03-01 11:14:36 +0100 |
commit | 6172cb35994718651f91e79a53bbd792f29846b9 (patch) | |
tree | 4eaa0ee9a4c1c3188a353c356e5c18cf7f11ee8c /Userland/Libraries/LibJS/Runtime/VM.h | |
parent | 0039ecb1897ce7b3390e915fe2442fb2e7440a18 (diff) | |
download | serenity-6172cb35994718651f91e79a53bbd792f29846b9.zip |
LibJS: Keep track of current AST node inside the call stack
Diffstat (limited to 'Userland/Libraries/LibJS/Runtime/VM.h')
-rw-r--r-- | Userland/Libraries/LibJS/Runtime/VM.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Userland/Libraries/LibJS/Runtime/VM.h b/Userland/Libraries/LibJS/Runtime/VM.h index 571703ec93..745329ae73 100644 --- a/Userland/Libraries/LibJS/Runtime/VM.h +++ b/Userland/Libraries/LibJS/Runtime/VM.h @@ -56,6 +56,7 @@ struct ScopeFrame { }; struct CallFrame { + const ASTNode* current_node; FlyString function_name; Value this_value; Vector<Value> arguments; |