summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibJS/Bytecode
diff options
context:
space:
mode:
authorHendiadyoin1 <leon.a@serenityos.org>2022-10-31 21:36:22 +0100
committerAndreas Kling <kling@serenityos.org>2022-11-01 11:21:18 +0100
commit4a06e68ecd2af0f619eb6fda9d6355f7d0aae0b9 (patch)
tree49ea6e40c40f2fbb30e4bc2973fcb5af87c5cceb /Userland/Libraries/LibJS/Bytecode
parent1e1bf84e6d73defe618ff5d96654022c740ee7f5 (diff)
downloadserenity-4a06e68ecd2af0f619eb6fda9d6355f7d0aae0b9.zip
LibJS: Set default bytecode optimization level to Optimize
Diffstat (limited to 'Userland/Libraries/LibJS/Bytecode')
-rw-r--r--Userland/Libraries/LibJS/Bytecode/Interpreter.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibJS/Bytecode/Interpreter.h b/Userland/Libraries/LibJS/Bytecode/Interpreter.h
index c6451eaf69..a1646b15b6 100644
--- a/Userland/Libraries/LibJS/Bytecode/Interpreter.h
+++ b/Userland/Libraries/LibJS/Bytecode/Interpreter.h
@@ -71,7 +71,7 @@ public:
None,
Optimize,
__Count,
- Default = None,
+ Default = Optimize,
};
static Bytecode::PassManager& optimization_pipeline(OptimizationLevel = OptimizationLevel::Default);