From d40b7d67b1e4d872940b09c551e42ac38b58c744 Mon Sep 17 00:00:00 2001 From: Timothy Flynn Date: Thu, 31 Oct 2024 08:03:09 -0400 Subject: [PATCH] Revert "LibJS+LibWeb: Remove now-unused lexical environment override" This reverts commit d39f6975f9c8209d422734b830ad22196a54b79d. --- Userland/Libraries/LibJS/Bytecode/Interpreter.cpp | 6 +++++- Userland/Libraries/LibJS/Bytecode/Interpreter.h | 2 +- Userland/Libraries/LibWeb/HTML/Scripting/ClassicScript.cpp | 4 ++-- Userland/Libraries/LibWeb/HTML/Scripting/ClassicScript.h | 2 +- 4 files changed, 9 insertions(+), 5 deletions(-) diff --git a/Userland/Libraries/LibJS/Bytecode/Interpreter.cpp b/Userland/Libraries/LibJS/Bytecode/Interpreter.cpp index 7b2d1457457..79546e65bc3 100644 --- a/Userland/Libraries/LibJS/Bytecode/Interpreter.cpp +++ b/Userland/Libraries/LibJS/Bytecode/Interpreter.cpp @@ -182,7 +182,7 @@ ALWAYS_INLINE Value Interpreter::do_yield(Value value, Optional