diff options
author | Alon Zakai <alonzakai@gmail.com> | 2014-05-03 12:09:37 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2014-05-03 12:29:23 -0700 |
commit | 77aa2a72f38d73e71eef48cacfe72cce33fc7201 (patch) | |
tree | 6dd3e801732e0aa3307e2af370eabd1c8570e207 /emcc | |
parent | 2308587a85de571844e71e574fcc63c7955d6012 (diff) |
emit a global const for Math_fround(0) to avoid function call overheads in the fround polyfill
Diffstat (limited to 'emcc')
-rwxr-xr-x | emcc | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1727,7 +1727,7 @@ try: # with commaified code breaks late aggressive variable elimination) if shared.Settings.SIMPLIFY_IFS and (debug_level == 0 or profiling) and shared.Settings.OUTLINING_LIMIT == 0: js_optimizer_queue += ['simplifyIfs'] - if opt_level >= 3 and shared.Settings.PRECISE_F32: js_optimizer_queue += ['optimizeFrounds'] + if shared.Settings.PRECISE_F32: js_optimizer_queue += ['optimizeFrounds'] if closure and not shared.Settings.ASM_JS: flush_js_optimizer_queue() |