aboutsummaryrefslogtreecommitdiff
path: root/emcc
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2014-05-03 12:09:37 -0700
committerAlon Zakai <alonzakai@gmail.com>2014-05-03 12:29:23 -0700
commit77aa2a72f38d73e71eef48cacfe72cce33fc7201 (patch)
tree6dd3e801732e0aa3307e2af370eabd1c8570e207 /emcc
parent2308587a85de571844e71e574fcc63c7955d6012 (diff)
emit a global const for Math_fround(0) to avoid function call overheads in the fround polyfill
Diffstat (limited to 'emcc')
-rwxr-xr-xemcc2
1 files changed, 1 insertions, 1 deletions
diff --git a/emcc b/emcc
index b9d74713..1629f5c7 100755
--- a/emcc
+++ b/emcc
@@ -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()