aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2013-02-18 15:47:07 -0800
committerAlon Zakai <alonzakai@gmail.com>2013-02-18 15:47:07 -0800
commit06b262b3f17f74d476f94ff87af58c70ab070eb1 (patch)
treec2442e1cf2967d751e2c8b751fda33a0259d5472 /tools
parent3e3dc0bbd3029200a6d4fa3866444be54ec27616 (diff)
run closure in -O3, it makes sense there with the other unsafe optimizations
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 401a580b..0282fbb1 100644
--- a/tools/shared.py
+++ b/tools/shared.py
@@ -566,6 +566,7 @@ class Settings:
if opt_level >= 2:
Settings.RELOOP = 1
if opt_level >= 3:
+ # Aside from these, -O3 also runs closure compiler
Settings.INLINING_LIMIT = 0
Settings.DOUBLE_MODE = 0
Settings.PRECISE_I64_MATH = 0