diff options
author | Irit Katriel <1055913+iritkatriel@users.noreply.github.com> | 2023-04-29 11:06:04 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-29 11:06:04 (GMT) |
commit | fbf3596c3edadd03b5a8c659e9f27a09e5d1a051 (patch) | |
tree | 80af952c9f42e6552669ba6a342fa041570d638c /Include/internal/pycore_flowgraph.h | |
parent | 84e7d0f0c7f9a44d81be2d705ed4d401a6505356 (diff) | |
download | cpython-fbf3596c3edadd03b5a8c659e9f27a09e5d1a051.zip cpython-fbf3596c3edadd03b5a8c659e9f27a09e5d1a051.tar.gz cpython-fbf3596c3edadd03b5a8c659e9f27a09e5d1a051.tar.bz2 |
gh-87092: change assembler to use instruction sequence instead of CFG (#103933)
Diffstat (limited to 'Include/internal/pycore_flowgraph.h')
-rw-r--r-- | Include/internal/pycore_flowgraph.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/Include/internal/pycore_flowgraph.h b/Include/internal/pycore_flowgraph.h index f470dad..883334f 100644 --- a/Include/internal/pycore_flowgraph.h +++ b/Include/internal/pycore_flowgraph.h @@ -11,7 +11,6 @@ extern "C" { #include "pycore_opcode_utils.h" #include "pycore_compile.h" -static const _PyCompilerSrcLocation NO_LOCATION = {-1, -1, -1, -1}; typedef struct { int i_opcode; @@ -97,7 +96,6 @@ int _PyCfg_OptimizeCodeUnit(_PyCfgBuilder *g, PyObject *consts, PyObject *const_ int _PyCfg_Stackdepth(_PyCfgBasicblock *entryblock, int code_flags); void _PyCfg_ConvertExceptionHandlersToNops(_PyCfgBasicblock *entryblock); int _PyCfg_ResolveJumps(_PyCfgBuilder *g); -int _PyCfg_InstrSize(_PyCfgInstruction *instruction); static inline int @@ -113,7 +111,7 @@ basicblock_nofallthrough(const _PyCfgBasicblock *b) { PyCodeObject * _PyAssemble_MakeCodeObject(_PyCompile_CodeUnitMetadata *u, PyObject *const_cache, - PyObject *consts, int maxdepth, _PyCfgBasicblock *entryblock, + PyObject *consts, int maxdepth, _PyCompile_InstructionSequence *instrs, int nlocalsplus, int code_flags, PyObject *filename); #ifdef __cplusplus |