diff options
author | Alon Zakai <alonzakai@gmail.com> | 2014-03-14 20:05:33 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2014-03-17 17:56:17 -0700 |
commit | 3215f80b20f5cf98390c43a2c5c8b3f4ebcdd984 (patch) | |
tree | 28a3c5a52f7a3c07c1b45587f233ffe3b52a6fa1 /tests | |
parent | 4f0e8c3aed0ce2e4606c5c8facacfbd3c015d375 (diff) |
simplifyIfs js optimizer pass
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test_other.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/test_other.py b/tests/test_other.py index 7200b9fd..a9880cf3 100644 --- a/tests/test_other.py +++ b/tests/test_other.py @@ -1773,6 +1773,8 @@ This pointer might make sense in another type signature: i: 0 ['simplifyExpressions', 'optimizeShiftsConservative']), (path_from_root('tools', 'test-js-optimizer-t2.js'), open(path_from_root('tools', 'test-js-optimizer-t2-output.js')).read(), ['simplifyExpressions', 'optimizeShiftsAggressive']), + (path_from_root('tools', 'test-js-optimizer-si.js'), open(path_from_root('tools', 'test-js-optimizer-si-output.js')).read(), + ['simplifyIfs']), # Make sure that optimizeShifts handles functions with shift statements. (path_from_root('tools', 'test-js-optimizer-t3.js'), open(path_from_root('tools', 'test-js-optimizer-t3-output.js')).read(), ['optimizeShiftsAggressive']), |