Author: Armin Rigo <[email protected]>
Branch: jit-simplify-backendintf
Changeset: r50394:6ea88ccf9778
Date: 2011-12-11 21:21 +0100
http://bitbucket.org/pypy/pypy/changeset/6ea88ccf9778/
Log: Fix test.
diff --git a/pypy/jit/metainterp/test/test_tl.py
b/pypy/jit/metainterp/test/test_tl.py
--- a/pypy/jit/metainterp/test/test_tl.py
+++ b/pypy/jit/metainterp/test/test_tl.py
@@ -72,16 +72,16 @@
res = self.meta_interp(main, [0, 6], listops=True,
backendopt=True)
assert res == 5040
- self.check_resops({'jump': 1, 'int_le': 2, 'guard_value': 1,
- 'int_mul': 2, 'guard_false': 2, 'int_sub': 2})
+ self.check_simple_loop({'jump': 1, 'int_le': 1,
+ 'int_mul': 1, 'guard_false': 1, 'int_sub': 1})
def test_tl_2(self):
main = self._get_main()
res = self.meta_interp(main, [1, 10], listops=True,
backendopt=True)
assert res == main(1, 10)
- self.check_resops({'int_le': 2, 'int_sub': 2, 'jump': 1,
- 'guard_false': 2, 'guard_value': 1})
+ self.check_simple_loop({'int_le': 1, 'int_sub': 1, 'jump': 1,
+ 'guard_false': 1})
def test_tl_call(self, listops=True, policy=None):
from pypy.jit.tl.tl import interp
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit