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

Reply via email to