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)
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit