mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
gh-105481: remove regen-opcode. Generated _PyOpcode_Caches in regen-cases. (#108367)
This commit is contained in:
parent
422f81b5d2
commit
72119d16a5
19 changed files with 78 additions and 176 deletions
|
@ -3,9 +3,8 @@
|
|||
#include "Python.h"
|
||||
#include "pycore_code.h" // write_location_entry_start()
|
||||
#include "pycore_compile.h"
|
||||
#include "pycore_opcode.h" // _PyOpcode_Caches[] and opcode category macros
|
||||
#include "pycore_opcode_utils.h" // IS_BACKWARDS_JUMP_OPCODE
|
||||
#include "pycore_opcode_metadata.h" // IS_PSEUDO_INSTR
|
||||
#include "pycore_opcode_metadata.h" // IS_PSEUDO_INSTR, _PyOpcode_Caches
|
||||
|
||||
|
||||
#define DEFAULT_CODE_SIZE 128
|
||||
|
|
|
@ -14,8 +14,7 @@
|
|||
#include "pycore_long.h" // _PyLong_GetZero()
|
||||
#include "pycore_moduleobject.h" // PyModuleObject
|
||||
#include "pycore_object.h" // _PyObject_GC_TRACK()
|
||||
#include "pycore_opcode.h" // EXTRA_CASES
|
||||
#include "pycore_opcode_metadata.h"
|
||||
#include "pycore_opcode_metadata.h" // EXTRA_CASES
|
||||
#include "pycore_opcode_utils.h" // MAKE_FUNCTION_*
|
||||
#include "pycore_pyerrors.h" // _PyErr_GetRaisedException()
|
||||
#include "pycore_pystate.h" // _PyInterpreterState_GET()
|
||||
|
|
|
@ -24,6 +24,7 @@
|
|||
#include <stdbool.h>
|
||||
|
||||
#include "Python.h"
|
||||
#include "opcode.h"
|
||||
#include "pycore_ast.h" // _PyAST_GetDocString()
|
||||
#define NEED_OPCODE_TABLES
|
||||
#include "pycore_opcode_utils.h"
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
#include "Python.h"
|
||||
|
||||
#include "opcode.h"
|
||||
|
||||
#include "pycore_call.h"
|
||||
#include "pycore_ceval.h"
|
||||
#include "pycore_dict.h"
|
||||
|
|
|
@ -1,4 +1,7 @@
|
|||
#include "Python.h"
|
||||
|
||||
#include "opcode_ids.h"
|
||||
|
||||
#include "pycore_call.h"
|
||||
#include "pycore_frame.h"
|
||||
#include "pycore_interp.h"
|
||||
|
@ -6,8 +9,7 @@
|
|||
#include "pycore_modsupport.h" // _PyModule_CreateInitialized()
|
||||
#include "pycore_namespace.h"
|
||||
#include "pycore_object.h"
|
||||
#include "pycore_opcode.h"
|
||||
#include "pycore_opcode_metadata.h" // IS_VALID_OPCODE
|
||||
#include "pycore_opcode_metadata.h" // IS_VALID_OPCODE, _PyOpcode_Caches
|
||||
#include "pycore_pyerrors.h"
|
||||
#include "pycore_pystate.h" // _PyInterpreterState_GET()
|
||||
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
#include "Python.h"
|
||||
#include "opcode.h"
|
||||
#include "pycore_interp.h"
|
||||
#include "pycore_opcode.h"
|
||||
#include "pycore_opcode_metadata.h"
|
||||
#include "pycore_opcode_utils.h"
|
||||
#include "pycore_optimizer.h"
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
#include "Python.h"
|
||||
#include "opcode.h"
|
||||
#include "pycore_interp.h"
|
||||
#include "pycore_opcode.h"
|
||||
#include "pycore_opcode_metadata.h"
|
||||
#include "pycore_opcode_utils.h"
|
||||
#include "pycore_pystate.h" // _PyInterpreterState_GET()
|
||||
|
|
|
@ -1,4 +1,7 @@
|
|||
#include "Python.h"
|
||||
|
||||
#include "opcode.h"
|
||||
|
||||
#include "pycore_code.h"
|
||||
#include "pycore_descrobject.h" // _PyMethodWrapper_Type
|
||||
#include "pycore_dict.h"
|
||||
|
@ -7,7 +10,7 @@
|
|||
#include "pycore_long.h"
|
||||
#include "pycore_moduleobject.h"
|
||||
#include "pycore_object.h"
|
||||
#include "pycore_opcode.h" // _PyOpcode_Caches
|
||||
#include "pycore_opcode_metadata.h" // _PyOpcode_Caches
|
||||
#include "pycore_pylifecycle.h" // _PyOS_URandomNonblock()
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue