aboutsummaryrefslogtreecommitdiff
path: root/tools/shared.py
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2013-02-28 11:22:14 -0500
committerAlon Zakai <alonzakai@gmail.com>2013-02-28 11:33:24 -0500
commit7880f929b46de2da7910d2050eac40bfbf32bda7 (patch)
treee9f60dac2ba43b1eac271421099da2ab4b210d82 /tools/shared.py
parent39f68160b61b0d358edf36bfb220486da79909d8 (diff)
inline by default, now that lto is off by default
Diffstat (limited to 'tools/shared.py')
-rw-r--r--tools/shared.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/tools/shared.py b/tools/shared.py
index 524145fa..3912245d 100644
--- a/tools/shared.py
+++ b/tools/shared.py
@@ -574,8 +574,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
+ # Aside from these, -O3 also runs closure compiler and llvm lto
Settings.DOUBLE_MODE = 0
Settings.PRECISE_I64_MATH = 0
if noisy: print >> sys.stderr, 'Warning: Applying some potentially unsafe optimizations! (Use -O2 if this fails.)'