summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorBrandt Bucher <brandtbucher@microsoft.com>2022-02-16 16:48:16 (GMT)
committerGitHub <noreply@github.com>2022-02-16 16:48:16 (GMT)
commita9da085015db8cbb81f660158864ac94fe6c67a2 (patch)
treec24578d6baf4b19b1e57598c32797ec9b17aaf99 /Lib
parente8a19b092fc0551581e10d6f310dd5feabac7609 (diff)
downloadcpython-a9da085015db8cbb81f660158864ac94fe6c67a2.zip
cpython-a9da085015db8cbb81f660158864ac94fe6c67a2.tar.gz
cpython-a9da085015db8cbb81f660158864ac94fe6c67a2.tar.bz2
bpo-46702: Specialize UNPACK_SEQUENCE (GH-31240)
Diffstat (limited to 'Lib')
-rw-r--r--Lib/opcode.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/Lib/opcode.py b/Lib/opcode.py
index a1f0c6e..8237aa7 100644
--- a/Lib/opcode.py
+++ b/Lib/opcode.py
@@ -283,6 +283,10 @@ _specialized_instructions = [
"STORE_ATTR_INSTANCE_VALUE",
"STORE_ATTR_SLOT",
"STORE_ATTR_WITH_HINT",
+ "UNPACK_SEQUENCE_ADAPTIVE",
+ "UNPACK_SEQUENCE_LIST",
+ "UNPACK_SEQUENCE_TUPLE",
+ "UNPACK_SEQUENCE_TWO_TUPLE",
# Super instructions
"LOAD_FAST__LOAD_FAST",
"STORE_FAST__LOAD_FAST",