aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Lib/opcode.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/opcode.py')
-rw-r--r--Lib/opcode.py26
1 files changed, 3 insertions, 23 deletions
diff --git a/Lib/opcode.py b/Lib/opcode.py
index 08dfd2674dc..36831d8a122 100644
--- a/Lib/opcode.py
+++ b/Lib/opcode.py
@@ -257,6 +257,9 @@ if sys.version_info[:2] >= (3, 13):
__all__.extend(["hasarg", "hasconst", "hasname", "hasjump", "hasjrel",
"hasjabs", "hasfree", "haslocal", "hasexc"])
+ _intrinsic_1_descs = _opcode.get_intrinsic1_descs()
+ _intrinsic_2_descs = _opcode.get_intrinsic2_descs()
+
hascompare = [opmap["COMPARE_OP"]]
_nb_ops = [
@@ -288,29 +291,6 @@ _nb_ops = [
("NB_INPLACE_XOR", "^="),
]
-_intrinsic_1_descs = [
- "INTRINSIC_1_INVALID",
- "INTRINSIC_PRINT",
- "INTRINSIC_IMPORT_STAR",
- "INTRINSIC_STOPITERATION_ERROR",
- "INTRINSIC_ASYNC_GEN_WRAP",
- "INTRINSIC_UNARY_POSITIVE",
- "INTRINSIC_LIST_TO_TUPLE",
- "INTRINSIC_TYPEVAR",
- "INTRINSIC_PARAMSPEC",
- "INTRINSIC_TYPEVARTUPLE",
- "INTRINSIC_SUBSCRIPT_GENERIC",
- "INTRINSIC_TYPEALIAS",
-]
-
-_intrinsic_2_descs = [
- "INTRINSIC_2_INVALID",
- "INTRINSIC_PREP_RERAISE_STAR",
- "INTRINSIC_TYPEVAR_WITH_BOUND",
- "INTRINSIC_TYPEVAR_WITH_CONSTRAINTS",
- "INTRINSIC_SET_FUNCTION_TYPE_PARAMS",
-]
-
_cache_format = {
"LOAD_GLOBAL": {