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
1 changed files with 1 additions and 1 deletions

View File

@ -1078,7 +1078,7 @@ exit_to_tier1:
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);