aboutsummaryrefslogtreecommitdiff
path: root/tests/runner.py
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2011-12-30 19:02:16 -0800
committerAlon Zakai <alonzakai@gmail.com>2011-12-30 19:02:16 -0800
commit193225a93b88c6d3bc4d5b73cb9c1346029eb072 (patch)
tree8971bec1f68ba78a33b58d5339d6e0d33dab7b40 /tests/runner.py
parent8608b60d2deecf8a042d4f8ca4237aeb23f3c63a (diff)
fix bug with optimizing shifts too large for us to be optimizing
Diffstat (limited to 'tests/runner.py')
-rw-r--r--tests/runner.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/runner.py b/tests/runner.py
index c35f0121..934b05cc 100644
--- a/tests/runner.py
+++ b/tests/runner.py
@@ -5315,6 +5315,8 @@ Options that are modified or new in %s include:
for input, expected, passes in [
(open(path_from_root('tools', 'test-js-optimizer.js')).read(), open(path_from_root('tools', 'test-js-optimizer-output.js')).read(),
['hoistMultiples', 'loopOptimizer', 'unGlobalize', 'removeAssignsToUndefined', 'simplifyExpressionsPre', 'simplifyExpressionsPost']),
+ (open(path_from_root('tools', 'test-js-optimizer-t2c.js')).read(), open(path_from_root('tools', 'test-js-optimizer-t2c-output.js')).read(),
+ ['simplifyExpressionsPre', 'optimizeShiftsConservative']),
#(open(path_from_root('tools', 'test-js-optimizer-t2.js')).read(), open(path_from_root('tools', 'test-js-optimizer-t2-output.js')).read(),
# ['simplifyExpressionsPre', 'optimizeShiftsAggressive']),
]: