]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
fix TC
authorKen Jin <28750310+Fidget-Spinner@users.noreply.github.com>
Mon, 10 Nov 2025 17:49:35 +0000 (17:49 +0000)
committerKen Jin <28750310+Fidget-Spinner@users.noreply.github.com>
Mon, 10 Nov 2025 17:49:35 +0000 (17:49 +0000)
Python/bytecodes.c
Python/generated_cases.c.h

index 5bfd9ea8a5a03082684bf350a53b5e56990cef75..0469e0c96080ac8af6476a0f772aacc64cab836c 100644 (file)
@@ -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);
index 29b294f0f6e9cb8aa795217cc89e422cfa97c2e6..f2f562a134cf10f4d01ca6965dacc2616b627a51 100644 (file)
@@ -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);