mirror of
https://github.com/python/cpython.git
synced 2025-10-29 20:51:26 +00:00
gh-105481: Generate the opcode lists in dis from data extracted from bytecodes.c (#106758)
This commit is contained in:
parent
3535ef1eec
commit
40f3f11a77
16 changed files with 402 additions and 158 deletions
|
|
@ -84,13 +84,7 @@ def main(opcode_py,
|
|||
opcode = get_python_module_dict(opcode_py)
|
||||
opmap = opcode['opmap']
|
||||
opname = opcode['opname']
|
||||
hasarg = opcode['hasarg']
|
||||
hasconst = opcode['hasconst']
|
||||
hasjrel = opcode['hasjrel']
|
||||
hasjabs = opcode['hasjabs']
|
||||
is_pseudo = opcode['is_pseudo']
|
||||
_pseudo_ops = opcode['_pseudo_ops']
|
||||
|
||||
|
||||
ENABLE_SPECIALIZATION = opcode["ENABLE_SPECIALIZATION"]
|
||||
MIN_PSEUDO_OPCODE = opcode["MIN_PSEUDO_OPCODE"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue