Author: Maciej Fijalkowski <[email protected]>
Branch: better-jit-hooks
Changeset: r51053:45d0a0377adb
Date: 2012-01-06 10:57 +0200
http://bitbucket.org/pypy/pypy/changeset/45d0a0377adb/

Log:    bah, fix translation

diff --git a/pypy/module/pypyjit/interp_resop.py 
b/pypy/module/pypyjit/interp_resop.py
--- a/pypy/module/pypyjit/interp_resop.py
+++ b/pypy/module/pypyjit/interp_resop.py
@@ -25,7 +25,7 @@
                                          greenkey[2].getref_base())
         pycode = cast_base_ptr_to_instance(PyCode, ll_code)
         return space.newtuple([space.wrap(pycode), space.wrap(next_instr),
-                               space.newbool(is_being_profiled)])
+                               space.newbool(bool(is_being_profiled))])
     else:
         return space.wrap('who knows?')
 
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to