1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 12:47:35 +00:00

LibJS: Add ScriptOrModule to execution context and track it everywhere

This commit is contained in:
davidot 2022-01-17 14:48:22 +01:00 committed by Linus Groh
parent 99edf5b25a
commit 57c5a59cab
10 changed files with 42 additions and 6 deletions

View file

@ -239,6 +239,8 @@ public:
void save_execution_context_stack();
void restore_execution_context_stack();
ScriptOrModule get_active_script_or_module() const;
private:
explicit VM(OwnPtr<CustomData>);