[pypy-commit] pypy default: Don't disable the JIT when a trace func is enabled.
alex_gaynor
noreply at buildbot.pypy.org
Sat Mar 16 22:51:50 CET 2013
Author: Alex Gaynor <alex.gaynor at gmail.com>
Branch:
Changeset: r62374:250b7b22adf8
Date: 2013-03-16 14:51 -0700
http://bitbucket.org/pypy/pypy/changeset/250b7b22adf8/
Log: Don't disable the JIT when a trace func is enabled.
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
@@ -22,6 +22,7 @@
'lastblock',
'is_being_profiled',
'w_globals',
+ 'w_f_trace',
]
JUMP_ABSOLUTE = opmap['JUMP_ABSOLUTE']
@@ -37,9 +38,6 @@
def set_jitcell_at(newcell, next_instr, is_being_profiled, bytecode):
bytecode.jit_cells[next_instr, is_being_profiled] = newcell
-def confirm_enter_jit(next_instr, is_being_profiled, bytecode, frame, ec):
- return (frame.w_f_trace is None and
- ec.w_tracefunc is None)
def can_never_inline(next_instr, is_being_profiled, bytecode):
return False
@@ -55,7 +53,6 @@
pypyjitdriver = PyPyJitDriver(get_printable_location = get_printable_location,
get_jitcell_at = get_jitcell_at,
set_jitcell_at = set_jitcell_at,
- confirm_enter_jit = confirm_enter_jit,
can_never_inline = can_never_inline,
should_unroll_one_iteration =
should_unroll_one_iteration,
More information about the pypy-commit
mailing list