From 251e19e3a0593325d4ff13b7265660f14354ef44 Mon Sep 17 00:00:00 2001 From: Ken Jin <28750310+Fidget-Spinner@users.noreply.github.com> Date: Mon, 10 Nov 2025 17:49:35 +0000 Subject: [PATCH] fix TC --- Python/bytecodes.c | 1 + Python/generated_cases.c.h | 1 + 2 files changed, 2 insertions(+) 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); -- 2.47.3