[pypy-commit] pypy jit-short_from_state: we now get 3 versions of the loop

hakanardo noreply at buildbot.pypy.org
Sat May 21 16:03:02 CEST 2011


Author: Hakan Ardo <hakan at debian.org>
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")


More information about the pypy-commit mailing list