Skip to content

Commit 61c235c

Browse files
testing: can it be places here???
1 parent 5c942f1 commit 61c235c

File tree

3 files changed

+3
-7
lines changed

3 files changed

+3
-7
lines changed

Python/bytecodes.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5362,10 +5362,6 @@ dummy_func(
53625362

53635363
tier2 op(_MAKE_WARM, (--)) {
53645364
current_executor->vm_data.warm = true;
5365-
// It's okay if this ends up going negative.
5366-
if (--tstate->interp->trace_run_counter == 0) {
5367-
_Py_set_eval_breaker_bit(tstate, _PY_EVAL_JIT_INVALIDATE_COLD_BIT);
5368-
}
53695365
}
53705366

53715367
tier2 op(_FATAL_ERROR, (--)) {

Python/executor_cases.c.h

Lines changed: 0 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Tools/jit/trampoline.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,8 @@ _JIT_ENTRY(
1212
) {
1313
typedef DECLARE_TARGET((*jit_func));
1414
jit_func jitted = (jit_func)exec->jit_code;
15+
if (--tstate->interp->trace_run_counter == 0) {
16+
_Py_set_eval_breaker_bit(tstate, _PY_EVAL_JIT_INVALIDATE_COLD_BIT);
17+
}
1518
return jitted(frame, stack_pointer, tstate);
1619
}

0 commit comments

Comments
 (0)