From: Ken Jin <28750310+Fidget-Spinner@users.noreply.github.com> Date: Wed, 24 Sep 2025 18:21:20 +0000 (+0100) Subject: Track from JUMP_BACKWARD rather than FOR_ITER X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dc414a3158b11f49f40f79978a1ffa189a597f96;p=thirdparty%2FPython%2Fcpython.git Track from JUMP_BACKWARD rather than FOR_ITER --- diff --git a/Python/bytecodes.c b/Python/bytecodes.c index d8e987708eba..770805a98d61 100644 --- a/Python/bytecodes.c +++ b/Python/bytecodes.c @@ -2978,7 +2978,7 @@ dummy_func( DISPATCH(); } } - _PyJIT_InitializeTracing(tstate, frame, next_instr, STACK_LEVEL(), 0, NULL); + _PyJIT_InitializeTracing(tstate, frame, this_instr, STACK_LEVEL(), 0, NULL); ENTER_TRACING(); // Don't add the JUMP_BACKWARD_JIT instruction to the trace. DISPATCH(); diff --git a/Python/generated_cases.c.h b/Python/generated_cases.c.h index 1633559d72ac..e190f651fa4c 100644 --- a/Python/generated_cases.c.h +++ b/Python/generated_cases.c.h @@ -8400,7 +8400,7 @@ DISPATCH(); } } - _PyJIT_InitializeTracing(tstate, frame, next_instr, STACK_LEVEL(), 0, NULL); + _PyJIT_InitializeTracing(tstate, frame, this_instr, STACK_LEVEL(), 0, NULL); ENTER_TRACING(); DISPATCH(); } @@ -22048,7 +22048,7 @@ TRACING_DISPATCH(); } } - _PyJIT_InitializeTracing(tstate, frame, next_instr, STACK_LEVEL(), 0, NULL); + _PyJIT_InitializeTracing(tstate, frame, this_instr, STACK_LEVEL(), 0, NULL); ENTER_TRACING(); TRACING_DISPATCH(); }