summaryrefslogtreecommitdiffstats
path: root/Python/ceval.c
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2024-04-02 18:25:48 (GMT)
committerGitHub <noreply@github.com>2024-04-02 18:25:48 (GMT)
commit8eda146e87d5531c9d2bc62fd1fea3bd3163f9b1 (patch)
tree66a494aef39bd42743eace42ded996a296d304d4 /Python/ceval.c
parent027fa2eccf39ddccdf7b416d16601277a7112054 (diff)
downloadcpython-8eda146e87d5531c9d2bc62fd1fea3bd3163f9b1.zip
cpython-8eda146e87d5531c9d2bc62fd1fea3bd3163f9b1.tar.gz
cpython-8eda146e87d5531c9d2bc62fd1fea3bd3163f9b1.tar.bz2
Fix successor opcode name printing in Tier 2 DEOPT debug message (#117471)
Diffstat (limited to 'Python/ceval.c')
-rw-r--r--Python/ceval.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/ceval.c b/Python/ceval.c
index 1b13eb1..f3b7316 100644
--- a/Python/ceval.c
+++ b/Python/ceval.c
@@ -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);