mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 11:38:11 +00:00
LibJS: Replace GlobalObject with VM in remaining AOs [Part 19/19]
This commit is contained in:
parent
25849f8a6d
commit
56b2ae5ac0
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