summaryrefslogtreecommitdiffstats
path: root/Lib/_opcode_metadata.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/_opcode_metadata.py')
-rw-r--r--Lib/_opcode_metadata.py42
1 files changed, 22 insertions, 20 deletions
diff --git a/Lib/_opcode_metadata.py b/Lib/_opcode_metadata.py
index 64ee56f..d93e8d8 100644
--- a/Lib/_opcode_metadata.py
+++ b/Lib/_opcode_metadata.py
@@ -7,6 +7,7 @@ _specializations = {
"RESUME_CHECK",
],
"LOAD_CONST": [
+ "LOAD_CONST_MORTAL",
"LOAD_CONST_IMMORTAL",
],
"TO_BOOL": [
@@ -178,26 +179,27 @@ _specialized_opmap = {
'LOAD_ATTR_SLOT': 205,
'LOAD_ATTR_WITH_HINT': 206,
'LOAD_CONST_IMMORTAL': 207,
- 'LOAD_GLOBAL_BUILTIN': 208,
- 'LOAD_GLOBAL_MODULE': 209,
- 'LOAD_SUPER_ATTR_ATTR': 210,
- 'LOAD_SUPER_ATTR_METHOD': 211,
- 'RESUME_CHECK': 212,
- 'SEND_GEN': 213,
- 'STORE_ATTR_INSTANCE_VALUE': 214,
- 'STORE_ATTR_SLOT': 215,
- 'STORE_ATTR_WITH_HINT': 216,
- 'STORE_SUBSCR_DICT': 217,
- 'STORE_SUBSCR_LIST_INT': 218,
- 'TO_BOOL_ALWAYS_TRUE': 219,
- 'TO_BOOL_BOOL': 220,
- 'TO_BOOL_INT': 221,
- 'TO_BOOL_LIST': 222,
- 'TO_BOOL_NONE': 223,
- 'TO_BOOL_STR': 224,
- 'UNPACK_SEQUENCE_LIST': 225,
- 'UNPACK_SEQUENCE_TUPLE': 226,
- 'UNPACK_SEQUENCE_TWO_TUPLE': 227,
+ 'LOAD_CONST_MORTAL': 208,
+ 'LOAD_GLOBAL_BUILTIN': 209,
+ 'LOAD_GLOBAL_MODULE': 210,
+ 'LOAD_SUPER_ATTR_ATTR': 211,
+ 'LOAD_SUPER_ATTR_METHOD': 212,
+ 'RESUME_CHECK': 213,
+ 'SEND_GEN': 214,
+ 'STORE_ATTR_INSTANCE_VALUE': 215,
+ 'STORE_ATTR_SLOT': 216,
+ 'STORE_ATTR_WITH_HINT': 217,
+ 'STORE_SUBSCR_DICT': 218,
+ 'STORE_SUBSCR_LIST_INT': 219,
+ 'TO_BOOL_ALWAYS_TRUE': 220,
+ 'TO_BOOL_BOOL': 221,
+ 'TO_BOOL_INT': 222,
+ 'TO_BOOL_LIST': 223,
+ 'TO_BOOL_NONE': 224,
+ 'TO_BOOL_STR': 225,
+ 'UNPACK_SEQUENCE_LIST': 226,
+ 'UNPACK_SEQUENCE_TUPLE': 227,
+ 'UNPACK_SEQUENCE_TWO_TUPLE': 228,
}
opmap = {