1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 03:47:34 +00:00

LibJS: Make GlobalDeclarationInstantiation take a VM&

This doesn't need to take an AST Interpreter&.
This commit is contained in:
Andreas Kling 2023-06-15 10:37:42 +02:00
parent 872d798951
commit 32d9c8e3ca
3 changed files with 3 additions and 4 deletions

View file

@ -537,7 +537,7 @@ public:
bool has_top_level_await() const { return m_has_top_level_await; }
void set_has_top_level_await() { m_has_top_level_await = true; }
ThrowCompletionOr<void> global_declaration_instantiation(Interpreter&, GlobalEnvironment&) const;
ThrowCompletionOr<void> global_declaration_instantiation(VM&, GlobalEnvironment&) const;
private:
virtual bool is_program() const override { return true; }