diff options
author | Irit Katriel <1055913+iritkatriel@users.noreply.github.com> | 2021-07-15 12:13:12 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-15 12:13:12 (GMT) |
commit | 641345d636320a6fca04a5271fa4c4c5ba3e5437 (patch) | |
tree | 94bc416ec61aa551bf4691fa70b3ad92373783ed /Lib/opcode.py | |
parent | a0551059ba6a83d32a36fb3b87911c77f26f5b9f (diff) | |
download | cpython-641345d636320a6fca04a5271fa4c4c5ba3e5437.zip cpython-641345d636320a6fca04a5271fa4c4c5ba3e5437.tar.gz cpython-641345d636320a6fca04a5271fa4c4c5ba3e5437.tar.bz2 |
bpo-26280: Port BINARY_SUBSCR to PEP 659 adaptive interpreter (GH-27043)
Diffstat (limited to 'Lib/opcode.py')
-rw-r--r-- | Lib/opcode.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Lib/opcode.py b/Lib/opcode.py index 7e5916a..7ba1519 100644 --- a/Lib/opcode.py +++ b/Lib/opcode.py @@ -220,6 +220,10 @@ def_op('CALL_METHOD_KW', 166) del def_op, name_op, jrel_op, jabs_op _specialized_instructions = [ + "BINARY_SUBSCR_ADAPTIVE", + "BINARY_SUBSCR_LIST_INT", + "BINARY_SUBSCR_TUPLE_INT", + "BINARY_SUBSCR_DICT", "JUMP_ABSOLUTE_QUICK", "LOAD_ATTR_ADAPTIVE", "LOAD_ATTR_SPLIT_KEYS", |