mirror of
https://github.com/python/cpython.git
synced 2025-08-31 14:07:50 +00:00
bpo-46841: Don't use an oparg counter for STORE_SUBSCR
(GH-31742)
This commit is contained in:
parent
28f84c72b6
commit
5498a61c7c
7 changed files with 28 additions and 29 deletions
|
@ -86,6 +86,12 @@ typedef struct {
|
|||
|
||||
#define INLINE_CACHE_ENTRIES_PRECALL CACHE_ENTRIES(_PyPrecallCache)
|
||||
|
||||
typedef struct {
|
||||
_Py_CODEUNIT counter;
|
||||
} _PyStoreSubscrCache;
|
||||
|
||||
#define INLINE_CACHE_ENTRIES_STORE_SUBSCR CACHE_ENTRIES(_PyStoreSubscrCache)
|
||||
|
||||
/* Maximum size of code to quicken, in code units. */
|
||||
#define MAX_SIZE_TO_QUICKEN 10000
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue