diff options
author | Alon Zakai <alonzakai@gmail.com> | 2013-10-09 15:26:46 -0400 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2013-10-09 15:26:46 -0400 |
commit | 7e5d2a672c8ad58cb20fbd4d10e2729851da39be (patch) | |
tree | ba2e21257aef176a0583f55d1c21b50188db657e /emcc | |
parent | ce14f4f22d4dbfa0feed2e22bb5ba9a6defaa823 (diff) |
use aliasing function pointers in -O1
Diffstat (limited to 'emcc')
-rwxr-xr-x | emcc | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -132,15 +132,15 @@ Options that are modified or new in %s include: optimizations, relooping, and no runtime assertions or C++ exception catching (to re-enable C++ exception catching, use - -s DISABLE_EXCEPTION_CATCHING=0 ). - (For details on the affects of different - opt levels, see apply_opt_level() in - tools/shared.py and also src/settings.js.) - -O2 As -O1, plus various js-level optimizatios, - LLVM -O3 optimizations, and + -s DISABLE_EXCEPTION_CATCHING=0 ), and enables -s ALIASING_FUNCTION_POINTERS=1 + (For details on the affects of different + opt levels, see apply_opt_level() in + tools/shared.py and also src/settings.js.) + -O2 As -O1, plus various js-level optimizations and + LLVM -O3 optimizations -O3 As -O2, plus dangerous optimizations that may break the generated code! This adds |