diff options
author | Alon Zakai <alonzakai@gmail.com> | 2011-12-20 10:32:59 -0800 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2011-12-20 11:04:45 -0800 |
commit | 8060c58d107a76d78526714e81c18e1344793620 (patch) | |
tree | d731c9b1246062474b4c8183679e45957146b190 /tests | |
parent | 2f3cb58579bbca6645b144de339b73c19f37abed (diff) |
hoist multiples into branchings right before them
Diffstat (limited to 'tests')
-rw-r--r-- | tests/runner.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/runner.py b/tests/runner.py index a2073af1..1b3921ab 100644 --- a/tests/runner.py +++ b/tests/runner.py @@ -5123,7 +5123,7 @@ Options that are modified or new in %s include: def test_js_optimizer(self): input = open(path_from_root('tools', 'test-js-optimizer.js')).read() expected = open(path_from_root('tools', 'test-js-optimizer-output.js')).read() - output = Popen([NODE_JS, JS_OPTIMIZER, 'unGlobalize', 'removeAssignsToUndefined', 'simplifyExpressionsPre', 'simplifyExpressionsPost', 'loopOptimizer'], + output = Popen([NODE_JS, JS_OPTIMIZER, 'hoistMultiples', 'unGlobalize', 'removeAssignsToUndefined', 'simplifyExpressionsPre', 'simplifyExpressionsPost', 'loopOptimizer'], stdin=PIPE, stdout=PIPE).communicate(input)[0] self.assertIdentical(expected, output.replace('\n\n', '\n')) |