mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-26 17:55:07 +02:00
Revert "LibJS: Shrink ExecutionContext by replacing ScriptOrModule …"
… with Cell*.
This reverts commit d3495c62a7.
This commit is contained in:
committed by
Tim Ledbetter
parent
ba8d63556f
commit
36f74ba96c
Notes:
github-actions[bot]
2026-03-11 23:14:19 +00:00
Author: https://github.com/tcl3 Commit: https://github.com/LadybirdBrowser/ladybird/commit/36f74ba96ce Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/8374
@@ -159,7 +159,7 @@ ThrowCompletionOr<GC::Ref<Promise>> SyntheticModule::evaluate(VM& vm)
|
||||
module_context->realm = &realm;
|
||||
|
||||
// 4. Set the ScriptOrModule of moduleContext to module.
|
||||
module_context->script_or_module = this;
|
||||
module_context->script_or_module = GC::Ref<Module>(*this);
|
||||
|
||||
// 5. Set the VariableEnvironment of moduleContext to module.[[Environment]].
|
||||
module_context->variable_environment = environment();
|
||||
|
||||
Reference in New Issue
Block a user