diff options
author | Mark Shannon <mark@hotpy.org> | 2022-03-01 16:00:34 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-01 16:00:34 (GMT) |
commit | 3b0f1c5a710eff289dc44bec972dbaea353cc54f (patch) | |
tree | a3d33b56de327fa0a3abbff54c8013a95da61638 /Lib/opcode.py | |
parent | e91b0a7139d4a4cbd2351ccb5cd021a100cf42d2 (diff) | |
download | cpython-3b0f1c5a710eff289dc44bec972dbaea353cc54f.zip cpython-3b0f1c5a710eff289dc44bec972dbaea353cc54f.tar.gz cpython-3b0f1c5a710eff289dc44bec972dbaea353cc54f.tar.bz2 |
bpo-46841: Use inline cache for `BINARY_SUBSCR`. (GH-31618)
Diffstat (limited to 'Lib/opcode.py')
-rw-r--r-- | Lib/opcode.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/opcode.py b/Lib/opcode.py index dc45cff..9b08562 100644 --- a/Lib/opcode.py +++ b/Lib/opcode.py @@ -68,7 +68,7 @@ def_op('UNARY_NOT', 12) def_op('UNARY_INVERT', 15) -def_op('BINARY_SUBSCR', 25) +def_op('BINARY_SUBSCR', 25, 4) def_op('GET_LEN', 30) def_op('MATCH_MAPPING', 31) |