diff options
Diffstat (limited to 'emcc')
-rwxr-xr-x | emcc | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -1689,7 +1689,9 @@ try: js_optimizer_queue += ['simplifyExpressions'] - if debug_level == 0 or profiling: js_optimizer_queue += ['simplifyIfs'] + # simplify ifs if it is ok to make the code somewhat unreadable, and unless outlining (simplified ifs + # with commaified code breaks late aggressive variable elimination) + if (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'] |