[pypy-commit] pypy default: fix test: the cond_call=0 was actually a long-standing bug that the new

cfbolz noreply at buildbot.pypy.org
Sun Feb 22 17:28:13 CET 2015


Author: Carl Friedrich Bolz <cfbolz at gmx.de>
Branch: 
Changeset: r76046:3930b6579b7e
Date: 2015-02-22 17:26 +0100
http://bitbucket.org/pypy/pypy/changeset/3930b6579b7e/

Log:	fix test: the cond_call=0 was actually a long-standing bug that the
	new heapcache fixes

diff --git a/rpython/jit/metainterp/test/test_recursive.py b/rpython/jit/metainterp/test/test_recursive.py
--- a/rpython/jit/metainterp/test/test_recursive.py
+++ b/rpython/jit/metainterp/test/test_recursive.py
@@ -794,7 +794,7 @@
             return frame.thing.val + s
 
         res = self.meta_interp(main, [0], inline=True)
-        self.check_resops(call=0, cond_call=0) # got removed by optimization
+        self.check_resops(call=0, cond_call=2)
         assert res == main(0)
 
     def test_directly_call_assembler_virtualizable_reset_token(self):


More information about the pypy-commit mailing list