Skip to content

Commit 8eda146

Browse files
authored
Fix successor opcode name printing in Tier 2 DEOPT debug message (#117471)
1 parent 027fa2e commit 8eda146

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Python/ceval.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -1078,7 +1078,7 @@ _PyEval_EvalFrameDefault(PyThreadState *tstate, _PyInterpreterFrame *frame, int
10781078
printf("DEOPT: [UOp ");
10791079
_PyUOpPrint(&next_uop[-1]);
10801080
printf(" -> %s]\n",
1081-
_PyOpcode_OpName[frame->instr_ptr->op.code]);
1081+
_PyOpcode_OpName[next_instr->op.code]);
10821082
}
10831083
#endif
10841084
OPT_HIST(trace_uop_execution_counter, trace_run_length_hist);

0 commit comments

Comments
 (0)