summaryrefslogtreecommitdiffstats
path: root/Include/opcode.h
diff options
context:
space:
mode:
authorMark Shannon <mark@hotpy.org>2023-06-08 11:35:34 (GMT)
committerGitHub <noreply@github.com>2023-06-08 11:35:34 (GMT)
commite830289c52cecd99e5e2291972d648e9b3452a51 (patch)
tree096949cf5c51cb557f8d844940771cd7e2ee3a4e /Include/opcode.h
parent410c2f13e50ea53074cb1fb8074ac0c4d3564cc8 (diff)
downloadcpython-e830289c52cecd99e5e2291972d648e9b3452a51.zip
cpython-e830289c52cecd99e5e2291972d648e9b3452a51.tar.gz
cpython-e830289c52cecd99e5e2291972d648e9b3452a51.tar.bz2
GH-105229: Remove remaining two-codeunit superinstructions (GH-105326)
* Remove LOAD_CONST__LOAD_FAST and LOAD_FAST__LOAD_CONST superinstructions.
Diffstat (limited to 'Include/opcode.h')
-rw-r--r--Include/opcode.h24
1 files changed, 11 insertions, 13 deletions
diff --git a/Include/opcode.h b/Include/opcode.h
index 7aa6f84..7f69fd6 100644
--- a/Include/opcode.h
+++ b/Include/opcode.h
@@ -204,19 +204,17 @@ extern "C" {
#define LOAD_ATTR_METHOD_LAZY_DICT 80
#define LOAD_ATTR_METHOD_NO_DICT 81
#define LOAD_ATTR_METHOD_WITH_VALUES 82
-#define LOAD_CONST__LOAD_FAST 84
-#define LOAD_FAST__LOAD_CONST 86
-#define LOAD_GLOBAL_BUILTIN 88
-#define LOAD_GLOBAL_MODULE 111
-#define STORE_ATTR_INSTANCE_VALUE 112
-#define STORE_ATTR_SLOT 113
-#define STORE_ATTR_WITH_HINT 148
-#define STORE_SUBSCR_DICT 153
-#define STORE_SUBSCR_LIST_INT 154
-#define UNPACK_SEQUENCE_LIST 158
-#define UNPACK_SEQUENCE_TUPLE 159
-#define UNPACK_SEQUENCE_TWO_TUPLE 160
-#define SEND_GEN 161
+#define LOAD_GLOBAL_BUILTIN 84
+#define LOAD_GLOBAL_MODULE 86
+#define STORE_ATTR_INSTANCE_VALUE 88
+#define STORE_ATTR_SLOT 111
+#define STORE_ATTR_WITH_HINT 112
+#define STORE_SUBSCR_DICT 113
+#define STORE_SUBSCR_LIST_INT 148
+#define UNPACK_SEQUENCE_LIST 153
+#define UNPACK_SEQUENCE_TUPLE 154
+#define UNPACK_SEQUENCE_TWO_TUPLE 158
+#define SEND_GEN 159
#define HAS_ARG(op) ((((op) >= HAVE_ARGUMENT) && (!IS_PSEUDO_OPCODE(op)))\
|| ((op) == JUMP) \