diff options
author | Alon Zakai <alonzakai@gmail.com> | 2014-03-17 12:53:02 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2014-03-17 17:56:17 -0700 |
commit | dc797a4570fcb776020c886581f6de7feaf734ea (patch) | |
tree | 071813628c10298d0331eb83b9800eb97190ad23 /emcc | |
parent | fb331c96b0c710e9b2ff4f944aa4b43e62a320e6 (diff) |
make simplifyIfs a settings option
Diffstat (limited to 'emcc')
-rwxr-xr-x | emcc | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1691,7 +1691,7 @@ try: # 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 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'] |