[pypy-commit] pypy jit-threshold-hooks: grrr
fijal
noreply at buildbot.pypy.org
Wed Jul 17 16:39:50 CEST 2013
Author: Maciej Fijalkowski <fijall at gmail.com>
Branch: jit-threshold-hooks
Changeset: r65441:fb34a38a0ec4
Date: 2013-07-17 16:39 +0200
http://bitbucket.org/pypy/pypy/changeset/fb34a38a0ec4/
Log: grrr
diff --git a/pypy/module/pypyjit/interp_jit.py b/pypy/module/pypyjit/interp_jit.py
--- a/pypy/module/pypyjit/interp_jit.py
+++ b/pypy/module/pypyjit/interp_jit.py
@@ -176,7 +176,7 @@
For testing. Set the threshold for this code object at position pos
at value given.
"""
- w_code.jit_cells[pos << 1] = value # we ignore the profiling case
+ w_code.jit_cells[pos << 1] = r_uint(value) # we ignore the profiling case
@unwrap_spec(w_code=PyCode, value=int)
def set_local_bridge_threshold(space, w_code, value):
More information about the pypy-commit
mailing list