From: Ken Jin <28750310+Fidget-Spinner@users.noreply.github.com> Date: Tue, 28 Oct 2025 11:11:39 +0000 (+0000) Subject: remove faulty assertion X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=da6605858b6604d3826056cce047696ed581fc3f;p=thirdparty%2FPython%2Fcpython.git remove faulty assertion --- diff --git a/Python/ceval.c b/Python/ceval.c index 29a110ce28da..76b09488c3b8 100644 --- a/Python/ceval.c +++ b/Python/ceval.c @@ -1003,7 +1003,6 @@ bail_tracing_and_jit(PyThreadState *tstate, _PyInterpreterFrame *frame) if (exit == NULL) { // We hold a strong reference to the code object, so the instruction won't be freed. if (err <= 0) { - assert(tstate->interp->jit_state.jump_backward_instr->op.code == JUMP_BACKWARD_JIT); _Py_BackoffCounter counter = tstate->interp->jit_state.jump_backward_instr[1].counter; tstate->interp->jit_state.jump_backward_instr[1].counter = restart_backoff_counter(counter); }