Skip to content

Commit da66058

Browse files
remove faulty assertion
1 parent ac0711d commit da66058

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

Python/ceval.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1003,7 +1003,6 @@ bail_tracing_and_jit(PyThreadState *tstate, _PyInterpreterFrame *frame)
10031003
if (exit == NULL) {
10041004
// We hold a strong reference to the code object, so the instruction won't be freed.
10051005
if (err <= 0) {
1006-
assert(tstate->interp->jit_state.jump_backward_instr->op.code == JUMP_BACKWARD_JIT);
10071006
_Py_BackoffCounter counter = tstate->interp->jit_state.jump_backward_instr[1].counter;
10081007
tstate->interp->jit_state.jump_backward_instr[1].counter = restart_backoff_counter(counter);
10091008
}

0 commit comments

Comments
 (0)