[pypy-svn] pypy jit-virtual_state: we now get a second specialied version

hakanardo commits-noreply at bitbucket.org
Tue Feb 8 19:30:30 CET 2011


Author: Hakan Ardo <hakan at debian.org>
Branch: jit-virtual_state
Changeset: r41711:018f5b6f12c6
Date: 2011-02-08 18:44 +0100
http://bitbucket.org/pypy/pypy/changeset/018f5b6f12c6/

Log:	we now get a second specialied version

diff --git a/pypy/jit/metainterp/test/test_recursive.py b/pypy/jit/metainterp/test/test_recursive.py
--- a/pypy/jit/metainterp/test/test_recursive.py
+++ b/pypy/jit/metainterp/test/test_recursive.py
@@ -1070,7 +1070,7 @@
         assert portal(0, 1) == 2095
         res = self.meta_interp(portal, [0, 1], inline=True)
         assert res == 2095
-        self.check_loops(call_assembler=6, everywhere=True)
+        self.check_loops(call_assembler=12, everywhere=True)
 
     def test_inline_with_hitting_the_loop_sometimes_exc(self):
         driver = JitDriver(greens = ['codeno'], reds = ['i', 'k'],
@@ -1108,7 +1108,7 @@
         assert main(0, 1) == 2095
         res = self.meta_interp(main, [0, 1], inline=True)
         assert res == 2095
-        self.check_loops(call_assembler=6, everywhere=True)
+        self.check_loops(call_assembler=12, everywhere=True)
 
     def test_handle_jitexception_in_portal(self):
         # a test for _handle_jitexception_in_portal in blackhole.py


More information about the Pypy-commit mailing list