diff options
author | Alon Zakai <alonzakai@gmail.com> | 2013-02-03 10:17:32 -0800 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2013-02-03 10:17:32 -0800 |
commit | 3605e51ea9f67d6a5761313fb37a4a77521e61ac (patch) | |
tree | 1d69833ce041a264c9002348adc3d445fbfa203f /emcc | |
parent | b4914455a788a63ca2191678a28620ded82d07f2 (diff) |
do not run unnecessary optimizeShiftsAggressive+eliminate steps in asm mode, it is pointless and just wastes compilation time
Diffstat (limited to 'emcc')
-rwxr-xr-x | emcc | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1195,7 +1195,7 @@ try: js_optimizer_queue += [get_eliminate(), 'simplifyExpressionsPre'] - if shared.Settings.RELOOP: + if shared.Settings.RELOOP and not shared.Settings.ASM_JS: js_optimizer_queue += ['optimizeShiftsAggressive', get_eliminate()] # aggressive shifts optimization requires loops, it breaks on switches if closure: |