diff options
author | Alon Zakai <alonzakai@gmail.com> | 2013-01-08 16:41:44 -0800 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2013-01-08 16:43:52 -0800 |
commit | 78dbafb289e222550abda6b53e7099352a599804 (patch) | |
tree | bac704182dd01dc3d78bf0f1ca6064f78b1d7786 /tests/runner.py | |
parent | 0779c55c28f17d796f3f13962cfcac954e6cef59 (diff) |
keep a coercion right on top of heap accesses in asm mode
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 a6508fe9..d5662375 100755 --- a/tests/runner.py +++ b/tests/runner.py @@ -8929,6 +8929,8 @@ f.close() ['eliminateAsm']), (path_from_root('tools', 'test-js-optimizer-asm-regs.js'), open(path_from_root('tools', 'test-js-optimizer-asm-regs-output.js')).read(), ['registerizeAsm']), + (path_from_root('tools', 'test-js-optimizer-asm-pre.js'), open(path_from_root('tools', 'test-js-optimizer-asm-pre-output.js')).read(), + ['simplifyExpressionsPreAsm']), ]: output = Popen([NODE_JS, path_from_root('tools', 'js-optimizer.js'), input] + passes, stdin=PIPE, stdout=PIPE).communicate()[0] self.assertIdentical(expected, output.replace('\r\n', '\n').replace('\n\n', '\n')) |