[pypy-commit] pypy remember-tracing-counts: fix
fijal
noreply at buildbot.pypy.org
Mon Sep 14 12:08:45 CEST 2015
Author: Maciej Fijalkowski <fijall at gmail.com>
Branch: remember-tracing-counts
Changeset: r79619:a548405b60ae
Date: 2015-09-14 12:08 +0200
http://bitbucket.org/pypy/pypy/changeset/a548405b60ae/
Log: fix
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
@@ -196,14 +196,14 @@
def get_jitcell_at_key(space, next_instr, is_being_profiled, w_pycode):
ll_pycode = cast_instance_to_gcref(w_pycode)
return space.wrap(bool(jit_hooks.get_jitcell_at_key(
- 'pypyjit', next_instr, int(is_being_profiled), ll_pycode)))
+ 'pypyjit', r_uint(next_instr), int(is_being_profiled), ll_pycode)))
@unwrap_spec(next_instr=int, is_being_profiled=bool, w_pycode=PyCode)
@dont_look_inside
def dont_trace_here(space, next_instr, is_being_profiled, w_pycode):
ll_pycode = cast_instance_to_gcref(w_pycode)
jit_hooks.dont_trace_here(
- 'pypyjit', next_instr, int(is_being_profiled), ll_pycode)
+ 'pypyjit', r_uint(next_instr), int(is_being_profiled), ll_pycode)
return space.w_None
@unwrap_spec(next_instr=int, is_being_profiled=bool, w_pycode=PyCode)
@@ -211,5 +211,5 @@
def trace_next_iteration(space, next_instr, is_being_profiled, w_pycode):
ll_pycode = cast_instance_to_gcref(w_pycode)
jit_hooks.trace_next_iteration(
- 'pypyjit', next_instr, int(is_being_profiled), ll_pycode)
+ 'pypyjit', r_uint(next_instr), int(is_being_profiled), ll_pycode)
return space.w_None
More information about the pypy-commit
mailing list