Skip to content

Commit

Permalink
Fix successor opcode name printing in Tier 2 DEOPT debug message (#11…
Browse files Browse the repository at this point in the history
  • Loading branch information
gvanrossum committed Apr 2, 2024
1 parent 027fa2e commit 8eda146
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Python/ceval.c
Expand Up @@ -1078,7 +1078,7 @@ _PyEval_EvalFrameDefault(PyThreadState *tstate, _PyInterpreterFrame *frame, int
printf("DEOPT: [UOp ");
_PyUOpPrint(&next_uop[-1]);
printf(" -> %s]\n",
_PyOpcode_OpName[frame->instr_ptr->op.code]);
_PyOpcode_OpName[next_instr->op.code]);
}
#endif
OPT_HIST(trace_uop_execution_counter, trace_run_length_hist);
Expand Down

0 comments on commit 8eda146

Please sign in to comment.