Author: Hakan Ardo <[email protected]>
Branch: jit-targets
Changeset: r48911:893335d40c74
Date: 2011-11-08 10:26 +0100
http://bitbucket.org/pypy/pypy/changeset/893335d40c74/
Log: hg merge jit-refactor-tests
diff --git a/pypy/jit/metainterp/test/test_exception.py
b/pypy/jit/metainterp/test/test_exception.py
--- a/pypy/jit/metainterp/test/test_exception.py
+++ b/pypy/jit/metainterp/test/test_exception.py
@@ -35,10 +35,8 @@
return n
res = self.meta_interp(f, [10])
assert res == 0
- self.check_loops({'jump': 1,
- 'int_gt': 1, 'guard_true': 1,
- 'int_sub': 1})
-
+ self.check_resops({'jump': 2, 'guard_true': 2,
+ 'int_gt': 2, 'int_sub': 2})
def test_bridge_from_guard_exception(self):
myjitdriver = JitDriver(greens = [], reds = ['n'])
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit