aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2013-10-09 08:11:30 -0400
committerAlon Zakai <alonzakai@gmail.com>2013-10-09 11:10:07 -0400
commite10ee6c5cb0aa89bbae465a1e667a03c0e13aa39 (patch)
tree0aab8bd9e00c3fa3bfaee8022ff7f0f7310b1499 /tools
parent933e92a754d2b352add7d5b763dfc9d11cdc99c9 (diff)
run relooper in -O1, and do not run js opts there
Diffstat (limited to 'tools')
-rw-r--r--tools/shared.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/shared.py b/tools/shared.py
index 1862af14..63397f98 100644
--- a/tools/shared.py
+++ b/tools/shared.py
@@ -758,8 +758,8 @@ class Settings2(type):
self.attrs['ASM_JS'] = 1
self.attrs['ASSERTIONS'] = 0
self.attrs['DISABLE_EXCEPTION_CATCHING'] = 1
- if opt_level >= 2:
self.attrs['RELOOP'] = 1
+ if opt_level >= 2:
self.attrs['ALIASING_FUNCTION_POINTERS'] = 1
if opt_level >= 3:
# Aside from these, -O3 also runs closure compiler and llvm lto