diff options
author | Alon Zakai <alonzakai@gmail.com> | 2012-10-23 17:13:34 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2012-10-23 17:13:34 -0700 |
commit | e3d2f0cced1dcd1e260591d201a45573d2b3409f (patch) | |
tree | af17c539ece4117c05c8fe6c3a4815bb42572e6b /tests/runner.py | |
parent | 49f0a1c9350920838e67238b79567c18712ca99a (diff) |
include eliminator as js optimizer pass
Diffstat (limited to 'tests/runner.py')
-rwxr-xr-x | tests/runner.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/runner.py b/tests/runner.py index 1d291ea2..d3ef11ab 100755 --- a/tests/runner.py +++ b/tests/runner.py @@ -7866,6 +7866,8 @@ f.close() ['optimizeShiftsAggressive']), (path_from_root('tools', 'test-js-optimizer-regs.js'), open(path_from_root('tools', 'test-js-optimizer-regs-output.js')).read(), ['registerize']), + (path_from_root('tools', 'eliminator', 'eliminator-test.js'), open(path_from_root('tools', 'eliminator', 'eliminator-test-output.js')).read(), + ['eliminate']), ]: output = Popen([NODE_JS, JS_OPTIMIZER, input] + passes, stdin=PIPE, stdout=PIPE).communicate()[0] self.assertIdentical(expected, output.replace('\n\n', '\n')) |