diff options
author | Alon Zakai <alonzakai@gmail.com> | 2014-01-21 14:37:07 -0800 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2014-01-21 14:37:07 -0800 |
commit | 4757fe25341d47bd8be2330c9609be452240dc16 (patch) | |
tree | faa23651a096d8e613106269892d8b4a48c7e480 /tools/shared.py | |
parent | 5aca98bc3c716bdff10aab915e190afe47e21379 (diff) |
deprecate -O3 in preparation for using it for heavier js opts
Diffstat (limited to 'tools/shared.py')
-rw-r--r-- | tools/shared.py | 6 |
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: |