aboutsummaryrefslogtreecommitdiff
path: root/emcc
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2013-10-09 15:26:46 -0400
committerAlon Zakai <alonzakai@gmail.com>2013-10-09 15:26:46 -0400
commit7e5d2a672c8ad58cb20fbd4d10e2729851da39be (patch)
treeba2e21257aef176a0583f55d1c21b50188db657e /emcc
parentce14f4f22d4dbfa0feed2e22bb5ba9a6defaa823 (diff)
use aliasing function pointers in -O1
Diffstat (limited to 'emcc')
-rwxr-xr-xemcc12
1 files changed, 6 insertions, 6 deletions
diff --git a/emcc b/emcc
index 3b068702..f8d7319e 100755
--- a/emcc
+++ b/emcc
@@ -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