summaryrefslogtreecommitdiff
path: root/Python/opcode_targets.h
diff options
context:
space:
mode:
authorMark Shannon <mark@hotpy.org>2022-01-06 13:09:25 +0000
committerGitHub <noreply@github.com>2022-01-06 13:09:25 +0000
commite028ae99ecee671c0e8a3eabb829b5b2acfc4441 (patch)
tree497e68f1caeb92104bf3a464977bb0e024131f69 /Python/opcode_targets.h
parent3e43fac2503afe219336742b150b3ef6e470686f (diff)
downloadcpython-git-e028ae99ecee671c0e8a3eabb829b5b2acfc4441.tar.gz
bpo-45923: Handle call events in bytecode (GH-30364)
* Add a RESUME instruction to handle "call" events.
Diffstat (limited to 'Python/opcode_targets.h')
-rw-r--r--Python/opcode_targets.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/opcode_targets.h b/Python/opcode_targets.h
index 7ba45666ed..c78425ff9b 100644
--- a/Python/opcode_targets.h
+++ b/Python/opcode_targets.h
@@ -150,7 +150,7 @@ static void *opcode_targets[256] = {
&&TARGET_LOAD_CLASSDEREF,
&&TARGET_COPY_FREE_VARS,
&&_unknown_opcode,
- &&_unknown_opcode,
+ &&TARGET_RESUME,
&&TARGET_MATCH_CLASS,
&&_unknown_opcode,
&&_unknown_opcode,