aboutsummaryrefslogtreecommitdiff
path: root/tools/shared.py
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2014-01-21 14:37:07 -0800
committerAlon Zakai <alonzakai@gmail.com>2014-01-21 14:37:07 -0800
commit4757fe25341d47bd8be2330c9609be452240dc16 (patch)
treefaa23651a096d8e613106269892d8b4a48c7e480 /tools/shared.py
parent5aca98bc3c716bdff10aab915e190afe47e21379 (diff)
deprecate -O3 in preparation for using it for heavier js opts
Diffstat (limited to 'tools/shared.py')
-rw-r--r--tools/shared.py6
1 files changed, 0 insertions, 6 deletions
diff --git a/tools/shared.py b/tools/shared.py
index e05a5f7a..e28a66c3 100644
--- a/tools/shared.py
+++ b/tools/shared.py
@@ -809,12 +809,6 @@ class Settings2(type):
self.attrs['DISABLE_EXCEPTION_CATCHING'] = 1
self.attrs['RELOOP'] = 1
self.attrs['ALIASING_FUNCTION_POINTERS'] = 1
- if opt_level >= 3:
- # Aside from these, -O3 also runs closure compiler and llvm lto
- self.attrs['FORCE_ALIGNED_MEMORY'] = 1
- self.attrs['DOUBLE_MODE'] = 0
- self.attrs['PRECISE_I64_MATH'] = 0
- if noisy: logging.warning('Applying some potentially unsafe optimizations! (Use -O2 if this fails.)')
def __getattr__(self, attr):
if attr in self.attrs: