https://github.com/python/cpython/commit/6f579147e35f85d74c262719c6cac7277f96b124
commit: 6f579147e35f85d74c262719c6cac7277f96b124
branch: main
author: Yongtao Huang <[email protected]>
committer: Fidget-Spinner <[email protected]>
date: 2026-01-24T09:37:45Z
summary:

Misc: remove duplicate `instr_frame` assignment in 
`_PyJit_TryInitializeTracing` (GH-144155)

Remove duplicate instr_frame assignment in optimizer

files:
M Python/optimizer.c

diff --git a/Python/optimizer.c b/Python/optimizer.c
index f25242972efeb1..b8208c7d888e38 100644
--- a/Python/optimizer.c
+++ b/Python/optimizer.c
@@ -1050,7 +1050,6 @@ _PyJit_TryInitializeTracing(
     tracer->initial_state.exit = exit;
     tracer->initial_state.stack_depth = curr_stackdepth;
     tracer->initial_state.chain_depth = chain_depth;
-    tracer->prev_state.instr_frame = frame;
     tracer->prev_state.dependencies_still_valid = true;
     tracer->prev_state.instr_code = (PyCodeObject 
*)Py_NewRef(_PyFrame_GetCode(frame));
     tracer->prev_state.instr = curr_instr;

_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3//lists/python-checkins.python.org
Member address: [email protected]

Reply via email to