From: Ken Jin <28750310+Fidget-Spinner@users.noreply.github.com> Date: Mon, 10 Nov 2025 17:49:35 +0000 (+0000) Subject: fix TC X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=251e19e3a0593325d4ff13b7265660f14354ef44;p=thirdparty%2FPython%2Fcpython.git fix TC --- diff --git a/Python/bytecodes.c b/Python/bytecodes.c index 5bfd9ea8a5a0..0469e0c96080 100644 --- a/Python/bytecodes.c +++ b/Python/bytecodes.c @@ -5681,6 +5681,7 @@ dummy_func( label(stop_tracing) { #if _Py_TIER2 assert(IS_JIT_TRACING()); + int opcode = next_instr->op.code; _PyJit_translate_single_bytecode_to_trace(tstate, frame, NULL, true); LEAVE_TRACING(); int err = bail_tracing_and_jit(tstate, frame); diff --git a/Python/generated_cases.c.h b/Python/generated_cases.c.h index 29b294f0f6e9..f2f562a134cf 100644 --- a/Python/generated_cases.c.h +++ b/Python/generated_cases.c.h @@ -12355,6 +12355,7 @@ JUMP_TO_LABEL(error); { #if _Py_TIER2 assert(IS_JIT_TRACING()); + int opcode = next_instr->op.code; _PyFrame_SetStackPointer(frame, stack_pointer); _PyJit_translate_single_bytecode_to_trace(tstate, frame, NULL, true); stack_pointer = _PyFrame_GetStackPointer(frame);