mirror of
https://github.com/python/cpython.git
synced 2025-08-02 16:13:13 +00:00
bpo-44338: Port LOAD_GLOBAL to PEP 659 adaptive interpreter (GH-26638)
* Add specializations of LOAD_GLOBAL. * Add more stats. * Remove old opcache; it is no longer used. * Add NEWS
This commit is contained in:
parent
fafcfff926
commit
eecbc7c390
9 changed files with 209 additions and 337 deletions
3
Include/opcode.h
generated
3
Include/opcode.h
generated
|
@ -142,6 +142,9 @@ extern "C" {
|
|||
#define LOAD_ATTR_WITH_HINT 14
|
||||
#define LOAD_ATTR_SLOT 18
|
||||
#define LOAD_ATTR_MODULE 21
|
||||
#define LOAD_GLOBAL_ADAPTIVE 36
|
||||
#define LOAD_GLOBAL_MODULE 38
|
||||
#define LOAD_GLOBAL_BUILTIN 39
|
||||
#ifdef NEED_OPCODE_JUMP_TABLES
|
||||
static uint32_t _PyOpcode_RelativeJump[8] = {
|
||||
0U,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue