aboutsummaryrefslogtreecommitdiff
path: root/tests/test_other.py
diff options
context:
space:
mode:
authorRyan Kelly <ryan@rfk.id.au>2014-01-23 21:59:13 +1100
committerRyan Kelly <ryan@rfk.id.au>2014-01-23 22:32:40 +1100
commit0bae95f2fc0f917b2ddf7343171c2353aa11a820 (patch)
tree18e7a09f5d406dcfe2731aa81df767c157dac2e6 /tests/test_other.py
parenta912e8271c990e59b2dd7c1d03d1adb9151f49de (diff)
Add dedicated testcases for registerizeHarder pass.
Diffstat (limited to 'tests/test_other.py')
-rw-r--r--tests/test_other.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/test_other.py b/tests/test_other.py
index 53128391..8895a911 100644
--- a/tests/test_other.py
+++ b/tests/test_other.py
@@ -1773,6 +1773,8 @@ f.close()
['asm', 'eliminate']),
(path_from_root('tools', 'test-js-optimizer-asm-regs.js'), open(path_from_root('tools', 'test-js-optimizer-asm-regs-output.js')).read(),
['asm', 'registerize']),
+ (path_from_root('tools', 'test-js-optimizer-asm-regs-harder.js'), open(path_from_root('tools', 'test-js-optimizer-asm-regs-harder-output.js')).read(),
+ ['asm', 'registerizeHarder']),
(path_from_root('tools', 'test-js-optimizer-asm-regs-min.js'), open(path_from_root('tools', 'test-js-optimizer-asm-regs-min-output.js')).read(),
['asm', 'registerize', 'minifyLocals']),
(path_from_root('tools', 'test-js-optimizer-asm-pre.js'), open(path_from_root('tools', 'test-js-optimizer-asm-pre-output.js')).read(),