mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-30 20:59:16 +00:00
LibJS: Replace GlobalObject with VM in remaining AOs [Part 19/19]
This commit is contained in:
parent
25849f8a6d
commit
56b2ae5ac0
Notes:
sideshowbarker
2024-07-17 07:53:23 +09:00
Author: https://github.com/linusg
Commit: 56b2ae5ac0
Pull-request: https://github.com/SerenityOS/serenity/pull/14973
Reviewed-by: https://github.com/davidot ✅
46 changed files with 173 additions and 207 deletions
|
@ -95,7 +95,7 @@ ThrowCompletionOr<Promise*> SyntheticModule::evaluate(VM& vm)
|
|||
module_context.lexical_environment = environment();
|
||||
|
||||
// 8. Push moduleContext on to the execution context stack; moduleContext is now the running execution context.
|
||||
TRY(vm.push_execution_context(module_context, realm().global_object()));
|
||||
TRY(vm.push_execution_context(module_context, {}));
|
||||
|
||||
// 9. Let result be the result of performing module.[[EvaluationSteps]](module).
|
||||
auto result = m_evaluation_steps(*this);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue