Author: Hakan Ardo <[email protected]>
Branch: jit-targets
Changeset: r50350:a1c0dc4d1391
Date: 2011-12-10 15:16 +0100
http://bitbucket.org/pypy/pypy/changeset/a1c0dc4d1391/
Log: fix+
diff --git a/pypy/jit/metainterp/test/test_ajit.py
b/pypy/jit/metainterp/test/test_ajit.py
--- a/pypy/jit/metainterp/test/test_ajit.py
+++ b/pypy/jit/metainterp/test/test_ajit.py
@@ -2695,8 +2695,10 @@
# The attempts of retracing first loop will end up retracing the
# second and thus fail 5 times, saturating the retrace_count. Instead a
- # bridge back to the preamble of the first loop is produced.
- self.check_trace_count(6)
+ # bridge back to the preamble of the first loop is produced. A guard in
+ # this bridge is later traced resulting in a failed attempt of
retracing
+ # the second loop.
+ self.check_trace_count(8)
# FIXME: Add a gloabl retrace counter and test that we are not trying
more than 5 times.
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit