mirror of
https://github.com/python/cpython.git
synced 2025-08-28 12:45:07 +00:00
bpo-46841: Use inline caching for calls (GH-31709)
This commit is contained in:
parent
105b9ac001
commit
f193631387
16 changed files with 494 additions and 735 deletions
|
@ -57,9 +57,9 @@ def jabs_op(name, op, entries=0):
|
|||
# Instruction opcodes for compiled code
|
||||
# Blank lines correspond to available opcodes
|
||||
|
||||
def_op('CACHE', 0)
|
||||
def_op('POP_TOP', 1)
|
||||
def_op('PUSH_NULL', 2)
|
||||
def_op('CACHE', 3)
|
||||
|
||||
def_op('NOP', 9)
|
||||
def_op('UNARY_POSITIVE', 10)
|
||||
|
@ -191,9 +191,9 @@ def_op('LIST_EXTEND', 162)
|
|||
def_op('SET_UPDATE', 163)
|
||||
def_op('DICT_MERGE', 164)
|
||||
def_op('DICT_UPDATE', 165)
|
||||
def_op('PRECALL', 166)
|
||||
def_op('PRECALL', 166, 1)
|
||||
|
||||
def_op('CALL', 171)
|
||||
def_op('CALL', 171, 4)
|
||||
def_op('KW_NAMES', 172)
|
||||
hasconst.append(172)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue