Author: Hakan Ardo <[email protected]>
Branch: jit-short_from_state
Changeset: r44347:7f8fce3ad9f1
Date: 2011-05-21 10:11 +0200
http://bitbucket.org/pypy/pypy/changeset/7f8fce3ad9f1/
Log: we now get 3 versions of the loop
diff --git a/pypy/jit/metainterp/test/test_send.py
b/pypy/jit/metainterp/test/test_send.py
--- a/pypy/jit/metainterp/test/test_send.py
+++ b/pypy/jit/metainterp/test/test_send.py
@@ -385,9 +385,9 @@
res = self.meta_interp(f, [198],
policy=StopAtXPolicy(State.externfn.im_func))
assert res == f(198)
- # we get two TreeLoops: an initial one, and one entering from
- # the interpreter
- self.check_tree_loop_count(2)
+ # we get four TreeLoops: one for each of the 3 getvalue functions,
+ # and one entering from the interpreter
+ self.check_tree_loop_count(4)
def test_two_behaviors(self):
py.test.skip("XXX fix me!!!!!!! problem in optimize.py")
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit