summaryrefslogtreecommitdiffstats
path: root/Python/opcode_targets.h
diff options
context:
space:
mode:
authorMark Shannon <mark@hotpy.org>2023-09-07 13:39:03 (GMT)
committerGitHub <noreply@github.com>2023-09-07 13:39:03 (GMT)
commit0858328ca2457ae95715eb93e347d5c0547bec6f (patch)
tree35c18050d74c747699f30e9862fd4a63fb14eaa7 /Python/opcode_targets.h
parentd485551c9d1792ff3539eef1d6374bd4c01dcd5d (diff)
downloadcpython-0858328ca2457ae95715eb93e347d5c0547bec6f.zip
cpython-0858328ca2457ae95715eb93e347d5c0547bec6f.tar.gz
cpython-0858328ca2457ae95715eb93e347d5c0547bec6f.tar.bz2
GH-108614: Add `RESUME_CHECK` instruction (GH-108630)
Diffstat (limited to 'Python/opcode_targets.h')
-rw-r--r--Python/opcode_targets.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Python/opcode_targets.h b/Python/opcode_targets.h
index 305eb0b..413bb88 100644
--- a/Python/opcode_targets.h
+++ b/Python/opcode_targets.h
@@ -46,6 +46,7 @@ static void *opcode_targets[256] = {
&&TARGET_POP_TOP,
&&TARGET_PUSH_EXC_INFO,
&&TARGET_PUSH_NULL,
+ &&TARGET_RESUME_CHECK,
&&TARGET_RETURN_GENERATOR,
&&TARGET_RETURN_VALUE,
&&TARGET_SETUP_ANNOTATIONS,
@@ -164,8 +165,8 @@ static void *opcode_targets[256] = {
&&TARGET_POP_JUMP_IF_NOT_NONE,
&&TARGET_POP_JUMP_IF_TRUE,
&&TARGET_RAISE_VARARGS,
- &&TARGET_RERAISE,
&&TARGET_RESUME,
+ &&TARGET_RERAISE,
&&TARGET_RETURN_CONST,
&&TARGET_SEND,
&&TARGET_SEND_GEN,
@@ -235,7 +236,6 @@ static void *opcode_targets[256] = {
&&_unknown_opcode,
&&_unknown_opcode,
&&_unknown_opcode,
- &&_unknown_opcode,
&&TARGET_INSTRUMENTED_RESUME,
&&TARGET_INSTRUMENTED_END_FOR,
&&TARGET_INSTRUMENTED_END_SEND,