Fix successor opcode name printing in Tier 2 DEOPT debug message (#117471)

This commit is contained in:
Guido van Rossum 2024-04-02 11:25:48 -07:00 committed by GitHub
parent 027fa2eccf
commit 8eda146e87
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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);