Author: Maciej Fijalkowski <[email protected]>
Branch: remember-tracing-counts
Changeset: r79617:84812c89457a
Date: 2015-09-14 11:41 +0200
http://bitbucket.org/pypy/pypy/changeset/84812c89457a/
Log: don't look into those functions
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
@@ -192,12 +192,14 @@
W_NotFromAssembler.typedef.acceptable_as_base_class = False
@unwrap_spec(next_instr=int, is_being_profiled=bool, w_pycode=PyCode)
+@dont_look_inside
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)))
@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(
@@ -205,6 +207,7 @@
return space.w_None
@unwrap_spec(next_instr=int, is_being_profiled=bool, w_pycode=PyCode)
+@dont_look_inside
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(
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit