summaryrefslogtreecommitdiffstats
path: root/Python/opcode_targets.h
diff options
context:
space:
mode:
authorIrit Katriel <1055913+iritkatriel@users.noreply.github.com>2023-11-03 10:01:36 (GMT)
committerGitHub <noreply@github.com>2023-11-03 10:01:36 (GMT)
commitd49aba5a7a3c695213810a9f82715809c6332df2 (patch)
treef949b9af90ff9d697ed2836efaea5b3b3e06e34c /Python/opcode_targets.h
parent7810b6981ac663b77bc9ee9dc4b1960ec6845ea7 (diff)
downloadcpython-d49aba5a7a3c695213810a9f82715809c6332df2.zip
cpython-d49aba5a7a3c695213810a9f82715809c6332df2.tar.gz
cpython-d49aba5a7a3c695213810a9f82715809c6332df2.tar.bz2
gh-111354: Simplify _PyGen_yf by moving some of its work to the compiler and frame state (#111648)
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 d35da27..bcd6ea7 100644
--- a/Python/opcode_targets.h
+++ b/Python/opcode_targets.h
@@ -44,7 +44,6 @@ static void *opcode_targets[256] = {
&&TARGET_UNARY_NEGATIVE,
&&TARGET_UNARY_NOT,
&&TARGET_WITH_EXCEPT_START,
- &&TARGET_YIELD_VALUE,
&&TARGET_BINARY_OP,
&&TARGET_BUILD_CONST_KEY_MAP,
&&TARGET_BUILD_LIST,
@@ -118,6 +117,7 @@ static void *opcode_targets[256] = {
&&TARGET_SWAP,
&&TARGET_UNPACK_EX,
&&TARGET_UNPACK_SEQUENCE,
+ &&TARGET_YIELD_VALUE,
&&_unknown_opcode,
&&_unknown_opcode,
&&_unknown_opcode,