[pypy-commit] pypy ppc-jit-backend: (edelsohn, bivab): Cast "j" to float in test_stuff_translates.

edelsohn noreply at buildbot.pypy.org
Tue Jun 12 17:17:20 CEST 2012


Author: edelsohn
Branch: ppc-jit-backend
Changeset: r55619:97c6fa6d9229
Date: 2012-06-12 11:17 -0400
http://bitbucket.org/pypy/pypy/changeset/97c6fa6d9229/

Log:	(edelsohn, bivab): Cast "j" to float in test_stuff_translates.

diff --git a/pypy/jit/backend/ppc/test/test_ztranslation.py b/pypy/jit/backend/ppc/test/test_ztranslation.py
--- a/pypy/jit/backend/ppc/test/test_ztranslation.py
+++ b/pypy/jit/backend/ppc/test/test_ztranslation.py
@@ -53,6 +53,7 @@
             set_param(jitdriver, "trace_eagerness", 2)
             total = 0
             frame = Frame(i)
+            j = float(j)
             while frame.i > 3:
                 jitdriver.can_enter_jit(frame=frame, total=total, j=j)
                 jitdriver.jit_merge_point(frame=frame, total=total, j=j)


More information about the pypy-commit mailing list