summaryrefslogtreecommitdiffstats
path: root/Lib/opcode.py
diff options
context:
space:
mode:
authorMark Shannon <mark@hotpy.org>2023-01-05 16:05:51 (GMT)
committerGitHub <noreply@github.com>2023-01-05 16:05:51 (GMT)
commit28187141cc34063ef857976ddbca87ba09a882c2 (patch)
tree852d652bd98f0f7e322a30f6d648a1a4ce9612b2 /Lib/opcode.py
parentf20c553a458659f247fac1fb829f8172aa32f69a (diff)
downloadcpython-28187141cc34063ef857976ddbca87ba09a882c2.zip
cpython-28187141cc34063ef857976ddbca87ba09a882c2.tar.gz
cpython-28187141cc34063ef857976ddbca87ba09a882c2.tar.bz2
GH-99005: Add `CALL_INTRINSIC_1` instruction (GH-100771)
* Remove PRINT_EXPR instruction * Remove STOPITERATION_ERROR instruction * Remove IMPORT_STAR instruction
Diffstat (limited to 'Lib/opcode.py')
-rw-r--r--Lib/opcode.py8
1 files changed, 3 insertions, 5 deletions
diff --git a/Lib/opcode.py b/Lib/opcode.py
index 9271eb4..a5dea8c 100644
--- a/Lib/opcode.py
+++ b/Lib/opcode.py
@@ -112,11 +112,9 @@ def_op('CLEANUP_THROW', 55)
def_op('STORE_SUBSCR', 60)
def_op('DELETE_SUBSCR', 61)
-def_op('STOPITERATION_ERROR', 63)
-
def_op('GET_ITER', 68)
def_op('GET_YIELD_FROM_ITER', 69)
-def_op('PRINT_EXPR', 70)
+
def_op('LOAD_BUILD_CLASS', 71)
def_op('LOAD_ASSERTION_ERROR', 74)
@@ -124,7 +122,7 @@ def_op('RETURN_GENERATOR', 75)
def_op('LIST_TO_TUPLE', 82)
def_op('RETURN_VALUE', 83)
-def_op('IMPORT_STAR', 84)
+
def_op('SETUP_ANNOTATIONS', 85)
def_op('ASYNC_GEN_WRAP', 87)
@@ -220,7 +218,7 @@ def_op('DICT_UPDATE', 165)
def_op('CALL', 171)
def_op('KW_NAMES', 172)
hasconst.append(172)
-
+def_op('CALL_INTRINSIC_1', 173)
hasarg.extend([op for op in opmap.values() if op >= HAVE_ARGUMENT])