[pypy-commit] pypy better-jit-hooks: bah, fix translation
fijal
noreply at buildbot.pypy.org
Fri Jan 6 09:57:33 CET 2012
Author: Maciej Fijalkowski <fijall at gmail.com>
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?')
More information about the pypy-commit
mailing list