aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Include/opcode.h
diff options
context:
space:
mode:
authorBrandt Bucher <brandtbucher@microsoft.com>2022-03-08 07:53:22 -0800
committerGitHub <noreply@github.com>2022-03-08 15:53:22 +0000
commit5498a61c7c25db6f9e76032aa9c5153d79e09889 (patch)
tree7a74ec449c7d56d0dfde2b3d977f49993fee09c1 /Include/opcode.h
parent28f84c72b6cee145f9c00e9b999656e9a2517e49 (diff)
downloadcpython-5498a61c7c25db6f9e76032aa9c5153d79e09889.tar.gz
cpython-5498a61c7c25db6f9e76032aa9c5153d79e09889.zip
bpo-46841: Don't use an oparg counter for `STORE_SUBSCR` (GH-31742)
Diffstat (limited to 'Include/opcode.h')
-rw-r--r--Include/opcode.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Include/opcode.h b/Include/opcode.h
index 930a975897e..7bf0ba70fd7 100644
--- a/Include/opcode.h
+++ b/Include/opcode.h
@@ -211,6 +211,7 @@ static const uint32_t _PyOpcode_Jump[8] = {
const uint8_t _PyOpcode_InlineCacheEntries[256] = {
[BINARY_SUBSCR] = 4,
+ [STORE_SUBSCR] = 1,
[UNPACK_SEQUENCE] = 1,
[STORE_ATTR] = 4,
[LOAD_ATTR] = 4,