mirror of
https://github.com/python/cpython.git
synced 2025-08-29 13:15:11 +00:00
bpo-46841: Move the cache for LOAD_GLOBAL
inline. (GH-31575)
This commit is contained in:
parent
da7d99a4de
commit
4558af5a8f
10 changed files with 284 additions and 232 deletions
|
@ -135,7 +135,7 @@ jabs_op('JUMP_IF_TRUE_OR_POP', 112) # ""
|
|||
jabs_op('JUMP_ABSOLUTE', 113) # ""
|
||||
jabs_op('POP_JUMP_IF_FALSE', 114) # ""
|
||||
jabs_op('POP_JUMP_IF_TRUE', 115) # ""
|
||||
name_op('LOAD_GLOBAL', 116) # Index in name list
|
||||
name_op('LOAD_GLOBAL', 116, 5) # Index in name list
|
||||
def_op('IS_OP', 117)
|
||||
def_op('CONTAINS_OP', 118)
|
||||
def_op('RERAISE', 119)
|
||||
|
@ -198,6 +198,7 @@ def_op('CALL', 171)
|
|||
def_op('KW_NAMES', 172)
|
||||
hasconst.append(172)
|
||||
|
||||
|
||||
del def_op, name_op, jrel_op, jabs_op
|
||||
|
||||
_nb_ops = [
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue