mirror of
https://github.com/python/cpython
synced 2026-09-29 11:30:29 +03:00
gh-105481: generate op IDs from bytecode.c instead of hard coding them in opcode.py (#107971)
This commit is contained in:
parent
e88eb3775e
commit
665a4391e1
21 changed files with 1593 additions and 1521 deletions
|
|
@ -6,7 +6,8 @@
|
|||
#include "pycore_code.h" // _PyCodeConstructor
|
||||
#include "pycore_frame.h" // FRAME_SPECIALS_SIZE
|
||||
#include "pycore_interp.h" // PyInterpreterState.co_extra_freefuncs
|
||||
#include "pycore_opcode.h" // _PyOpcode_Deopt
|
||||
#include "pycore_opcode.h" // _PyOpcode_Caches
|
||||
#include "pycore_opcode_metadata.h" // _PyOpcode_Deopt
|
||||
#include "pycore_pystate.h" // _PyInterpreterState_GET()
|
||||
#include "pycore_setobject.h" // _PySet_NextEntry()
|
||||
#include "pycore_tuple.h" // _PyTuple_ITEMS()
|
||||
|
|
|
|||
|
|
@ -7,6 +7,8 @@
|
|||
#include "pycore_moduleobject.h" // _PyModule_GetDict()
|
||||
#include "pycore_object.h" // _PyObject_GC_UNTRACK()
|
||||
#include "pycore_opcode.h" // _PyOpcode_Caches
|
||||
#include "pycore_opcode_metadata.h" // _PyOpcode_Deopt
|
||||
|
||||
|
||||
#include "frameobject.h" // PyFrameObject
|
||||
#include "pycore_frame.h"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue