mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 21:57:34 +00:00
LibJS: Make BlockDeclarationInstantiation take a VM&
There's no need for this to require an AST Interpreter.
This commit is contained in:
parent
9e95c9892c
commit
4684d3fe54
2 changed files with 4 additions and 5 deletions
|
@ -313,7 +313,7 @@ public:
|
|||
ThrowCompletionOr<void> for_each_var_function_declaration_in_reverse_order(ThrowCompletionOrVoidCallback<FunctionDeclaration const&>&& callback) const;
|
||||
ThrowCompletionOr<void> for_each_var_scoped_variable_declaration(ThrowCompletionOrVoidCallback<VariableDeclaration const&>&& callback) const;
|
||||
|
||||
void block_declaration_instantiation(Interpreter&, Environment*) const;
|
||||
void block_declaration_instantiation(VM&, Environment*) const;
|
||||
|
||||
ThrowCompletionOr<void> for_each_function_hoistable_with_annexB_extension(ThrowCompletionOrVoidCallback<FunctionDeclaration&>&& callback) const;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue