[pypy-svn] r66992 - pypy/branch/pyjitpl5/pypy/jit/backend/x86/test
fijal at codespeak.net
fijal at codespeak.net
Wed Aug 19 18:17:13 CEST 2009
Author: fijal
Date: Wed Aug 19 18:17:12 2009
New Revision: 66992
Modified:
pypy/branch/pyjitpl5/pypy/jit/backend/x86/test/test_regalloc.py
Log:
(pedronis, fijal) Increase coverage for regalloc.py
Modified: pypy/branch/pyjitpl5/pypy/jit/backend/x86/test/test_regalloc.py
==============================================================================
--- pypy/branch/pyjitpl5/pypy/jit/backend/x86/test/test_regalloc.py (original)
+++ pypy/branch/pyjitpl5/pypy/jit/backend/x86/test/test_regalloc.py Wed Aug 19 18:17:12 2009
@@ -283,3 +283,14 @@
'''
self.interpret(ops, [0, 10, 0, 0])
assert self.getint(0) == 1
+
+ def test_jump_different_args(self):
+ ops = '''
+ [i0, i15, i16, i18, i1, i2, i3]
+ i4 = int_add(i3, 1)
+ i5 = int_lt(i4, 20)
+ guard_true(i5)
+ fail(i2, i1)
+ jump(i0, i18, i15, i16, i2, i1, i4)
+ '''
+ self.interpret(ops, [0, 1, 2, 3])
More information about the Pypy-commit
mailing list