diff options
| author | Brandt Bucher <brandtbucher@microsoft.com> | 2022-02-28 03:54:14 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-02-28 11:54:14 +0000 |
| commit | 424ecab494d538650ba34937cdd710094ccb2275 (patch) | |
| tree | fe50c89dca09df2c3f2ff49cc937af75a9450c75 /Include/opcode.h | |
| parent | c32aef48533769161e1247927a5b418322e0860c (diff) | |
| download | cpython-git-424ecab494d538650ba34937cdd710094ccb2275.tar.gz | |
bpo-46841: Use inline caching for `UNPACK_SEQUENCE` (GH-31591)
Diffstat (limited to 'Include/opcode.h')
| -rw-r--r-- | Include/opcode.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Include/opcode.h b/Include/opcode.h index 0862f96e7d..ae21d92a86 100644 --- a/Include/opcode.h +++ b/Include/opcode.h @@ -241,6 +241,7 @@ static uint32_t _PyOpcode_Jump[8] = { #define NB_INPLACE_XOR 25 static const uint8_t _PyOpcode_InlineCacheEntries[256] = { + [UNPACK_SEQUENCE] = 1, [BINARY_OP] = 1, }; |
