From 8eaf48888ee3d6bbae509963779e9000bfb3ee41 Mon Sep 17 00:00:00 2001 From: Timothy Flynn Date: Tue, 20 Feb 2024 14:08:33 -0500 Subject: [PATCH] LibJS: Remove FLATTEN attribute from Interpreter::run_bytecode This is what caused stack usage to increase so much with the new BC. Revert it for now so we can restore our old stack limit. --- Userland/Libraries/LibJS/Bytecode/Interpreter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Userland/Libraries/LibJS/Bytecode/Interpreter.cpp b/Userland/Libraries/LibJS/Bytecode/Interpreter.cpp index e6b4e6ff5e..e59c3e7d1f 100644 --- a/Userland/Libraries/LibJS/Bytecode/Interpreter.cpp +++ b/Userland/Libraries/LibJS/Bytecode/Interpreter.cpp @@ -273,7 +273,7 @@ ThrowCompletionOr Interpreter::run(SourceTextModule& module) return js_undefined(); } -FLATTEN void Interpreter::run_bytecode() +void Interpreter::run_bytecode() { auto* locals = vm().running_execution_context().locals.data(); auto& accumulator = this->accumulator();