aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rw-r--r--tools/shared.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/shared.py b/tools/shared.py
index eedb2e8b..d2891943 100644
--- a/tools/shared.py
+++ b/tools/shared.py
@@ -564,6 +564,7 @@ class Settings:
@classmethod
def apply_opt_level(self, opt_level, noisy=False):
if opt_level >= 1:
+ Settings.ASM_JS = 1
Settings.ASSERTIONS = 0
Settings.DISABLE_EXCEPTION_CATCHING = 1
Settings.EMIT_GENERATED_FUNCTIONS = 1