summaryrefslogtreecommitdiffstats
path: root/Python/ceval.c
diff options
context:
space:
mode:
authorDennis Sweeney <36520290+sweeneyde@users.noreply.github.com>2022-04-28 04:36:34 (GMT)
committerGitHub <noreply@github.com>2022-04-28 04:36:34 (GMT)
commit37c6db60f9ac62b8a80bf04a8146274756ee0da0 (patch)
tree29cc3ac65b9ee6d2246f4efbdf23767749fbd9bd /Python/ceval.c
parent407c3afe1986f4c43cb0e68e28b90da30eebd738 (diff)
downloadcpython-37c6db60f9ac62b8a80bf04a8146274756ee0da0.zip
cpython-37c6db60f9ac62b8a80bf04a8146274756ee0da0.tar.gz
cpython-37c6db60f9ac62b8a80bf04a8146274756ee0da0.tar.bz2
gh-91869: Fix tracing of specialized instructions with extended args (GH-91945)
Diffstat (limited to 'Python/ceval.c')
-rw-r--r--Python/ceval.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/Python/ceval.c b/Python/ceval.c
index 6e7a248..1d2c643 100644
--- a/Python/ceval.c
+++ b/Python/ceval.c
@@ -5627,6 +5627,15 @@ handle_eval_breaker:
assert(oparg);
oparg <<= 8;
oparg |= _Py_OPARG(*next_instr);
+ opcode = _PyOpcode_Deopt[_Py_OPCODE(*next_instr)];
+ PRE_DISPATCH_GOTO();
+ DISPATCH_GOTO();
+ }
+
+ TARGET(EXTENDED_ARG_QUICK) {
+ assert(oparg);
+ oparg <<= 8;
+ oparg |= _Py_OPARG(*next_instr);
NOTRACE_DISPATCH_SAME_OPARG();
}