LibJS: Remove two unused members from ExecutionContext

This commit is contained in:
Andreas Kling 2024-05-31 15:12:33 +02:00
commit a3782782fa
Notes: sideshowbarker 2024-07-17 03:05:16 +09:00
15 changed files with 29 additions and 36 deletions

View file

@ -186,7 +186,7 @@ ThrowCompletionOr<Value> Interpreter::run(Script& script_record, JS::GCPtr<Envir
auto& global_environment = script_record.realm().global_environment();
// 2. Let scriptContext be a new ECMAScript code execution context.
auto script_context = ExecutionContext::create(vm.heap());
auto script_context = ExecutionContext::create();
// 3. Set the Function of scriptContext to null.
// NOTE: This was done during execution context construction.