mirror of
https://github.com/python/cpython.git
synced 2026-04-20 02:40:59 +00:00
gh-148515: make optimizer_generator respect multiple caches (#148524)
This commit is contained in:
parent
c40e8b016a
commit
e02ac1d907
4 changed files with 33 additions and 4 deletions
6
Python/optimizer_cases.c.h
generated
6
Python/optimizer_cases.c.h
generated
|
|
@ -2072,7 +2072,7 @@
|
|||
case _LOAD_GLOBAL_MODULE: {
|
||||
JitOptRef res;
|
||||
uint16_t version = (uint16_t)this_instr->operand0;
|
||||
uint16_t index = (uint16_t)this_instr->operand0;
|
||||
uint16_t index = (uint16_t)this_instr->operand1;
|
||||
(void)index;
|
||||
PyObject *cnst = NULL;
|
||||
if (ctx->frame->func != NULL) {
|
||||
|
|
@ -2119,7 +2119,7 @@
|
|||
case _LOAD_GLOBAL_BUILTINS: {
|
||||
JitOptRef res;
|
||||
uint16_t version = (uint16_t)this_instr->operand0;
|
||||
uint16_t index = (uint16_t)this_instr->operand0;
|
||||
uint16_t index = (uint16_t)this_instr->operand1;
|
||||
(void)version;
|
||||
(void)index;
|
||||
PyObject *cnst = NULL;
|
||||
|
|
@ -2487,7 +2487,7 @@
|
|||
JitOptRef o;
|
||||
owner = stack_pointer[-1];
|
||||
uint32_t dict_version = (uint32_t)this_instr->operand0;
|
||||
uint16_t index = (uint16_t)this_instr->operand0;
|
||||
uint16_t index = (uint16_t)this_instr->operand1;
|
||||
(void)dict_version;
|
||||
(void)index;
|
||||
attr = PyJitRef_NULL;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue