aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Include/opcode.h
diff options
context:
space:
mode:
authorBrandt Bucher <brandtbucher@microsoft.com>2022-02-16 08:48:16 -0800
committerGitHub <noreply@github.com>2022-02-16 08:48:16 -0800
commita9da085015db8cbb81f660158864ac94fe6c67a2 (patch)
treec24578d6baf4b19b1e57598c32797ec9b17aaf99 /Include/opcode.h
parente8a19b092fc0551581e10d6f310dd5feabac7609 (diff)
downloadcpython-a9da085015db8cbb81f660158864ac94fe6c67a2.tar.gz
cpython-a9da085015db8cbb81f660158864ac94fe6c67a2.zip
bpo-46702: Specialize UNPACK_SEQUENCE (GH-31240)
Diffstat (limited to 'Include/opcode.h')
-rw-r--r--Include/opcode.h14
1 files changed, 9 insertions, 5 deletions
diff --git a/Include/opcode.h b/Include/opcode.h
index 58fc6280893..df45e7b5e5a 100644
--- a/Include/opcode.h
+++ b/Include/opcode.h
@@ -169,11 +169,15 @@ extern "C" {
#define STORE_ATTR_INSTANCE_VALUE 81
#define STORE_ATTR_SLOT 131
#define STORE_ATTR_WITH_HINT 140
-#define LOAD_FAST__LOAD_FAST 141
-#define STORE_FAST__LOAD_FAST 143
-#define LOAD_FAST__LOAD_CONST 150
-#define LOAD_CONST__LOAD_FAST 153
-#define STORE_FAST__STORE_FAST 154
+#define UNPACK_SEQUENCE_ADAPTIVE 141
+#define UNPACK_SEQUENCE_LIST 143
+#define UNPACK_SEQUENCE_TUPLE 150
+#define UNPACK_SEQUENCE_TWO_TUPLE 153
+#define LOAD_FAST__LOAD_FAST 154
+#define STORE_FAST__LOAD_FAST 158
+#define LOAD_FAST__LOAD_CONST 159
+#define LOAD_CONST__LOAD_FAST 161
+#define STORE_FAST__STORE_FAST 166
#define DO_TRACING 255
#ifdef NEED_OPCODE_JUMP_TABLES
static uint32_t _PyOpcode_RelativeJump[8] = {