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 /src | |
parent | fb331c96b0c710e9b2ff4f944aa4b43e62a320e6 (diff) |
make simplifyIfs a settings option
Diffstat (limited to 'src')
-rw-r--r-- | src/settings.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/settings.js b/src/settings.js index 8e0d9e2d..8b046e95 100644 --- a/src/settings.js +++ b/src/settings.js @@ -172,6 +172,7 @@ var OUTLINING_LIMIT = 0; // A function size above which we try to automatically // it). var AGGRESSIVE_VARIABLE_ELIMINATION = 0; // Run aggressiveVariableElimination in js-optimizer.js +var SIMPLIFY_IFS = 1; // Whether to simplify ifs in js-optimizer.js // Generated code debugging options var SAFE_HEAP = 0; // Check each write to the heap, for example, this will give a clear |