From 3b0f1c5a710eff289dc44bec972dbaea353cc54f Mon Sep 17 00:00:00 2001 From: Mark Shannon Date: Tue, 1 Mar 2022 16:00:34 +0000 Subject: bpo-46841: Use inline cache for `BINARY_SUBSCR`. (GH-31618) --- Include/opcode.h | 1 + 1 file changed, 1 insertion(+) (limited to 'Include/opcode.h') diff --git a/Include/opcode.h b/Include/opcode.h index ba85b7ff75..f6330d9056 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, [UNPACK_SEQUENCE] = 1, [COMPARE_OP] = 2, [LOAD_GLOBAL] = 5, -- cgit v1.2.1