summaryrefslogtreecommitdiffstats
path: root/Include/opcode.h
diff options
context:
space:
mode:
authorMark Shannon <mark@hotpy.org>2023-06-05 10:07:04 (GMT)
committerGitHub <noreply@github.com>2023-06-05 10:07:04 (GMT)
commit06893403668961fdbd5d9ece18162eb3470fc8dd (patch)
treeb7aeda20407a014944b7044b81e451a50e9f6924 /Include/opcode.h
parente8ecb9ee6bec03d0c4490f3e7f1524e56e2f6a0f (diff)
downloadcpython-06893403668961fdbd5d9ece18162eb3470fc8dd.zip
cpython-06893403668961fdbd5d9ece18162eb3470fc8dd.tar.gz
cpython-06893403668961fdbd5d9ece18162eb3470fc8dd.tar.bz2
GH-105229: Replace some superinstructions with single instruction equivalent. (GH-105230)
Diffstat (limited to 'Include/opcode.h')
-rw-r--r--Include/opcode.h28
1 files changed, 14 insertions, 14 deletions
diff --git a/Include/opcode.h b/Include/opcode.h
index bbf5756..7aa6f84 100644
--- a/Include/opcode.h
+++ b/Include/opcode.h
@@ -114,6 +114,9 @@ extern "C" {
#define SET_UPDATE 163
#define DICT_MERGE 164
#define DICT_UPDATE 165
+#define LOAD_FAST_LOAD_FAST 168
+#define STORE_FAST_LOAD_FAST 169
+#define STORE_FAST_STORE_FAST 170
#define CALL 171
#define KW_NAMES 172
#define CALL_INTRINSIC_1 173
@@ -203,20 +206,17 @@ extern "C" {
#define LOAD_ATTR_METHOD_WITH_VALUES 82
#define LOAD_CONST__LOAD_FAST 84
#define LOAD_FAST__LOAD_CONST 86
-#define LOAD_FAST__LOAD_FAST 88
-#define LOAD_GLOBAL_BUILTIN 111
-#define LOAD_GLOBAL_MODULE 112
-#define STORE_ATTR_INSTANCE_VALUE 113
-#define STORE_ATTR_SLOT 148
-#define STORE_ATTR_WITH_HINT 153
-#define STORE_FAST__LOAD_FAST 154
-#define STORE_FAST__STORE_FAST 158
-#define STORE_SUBSCR_DICT 159
-#define STORE_SUBSCR_LIST_INT 160
-#define UNPACK_SEQUENCE_LIST 161
-#define UNPACK_SEQUENCE_TUPLE 166
-#define UNPACK_SEQUENCE_TWO_TUPLE 167
-#define SEND_GEN 168
+#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 HAS_ARG(op) ((((op) >= HAVE_ARGUMENT) && (!IS_PSEUDO_OPCODE(op)))\
|| ((op) == JUMP) \