mirror of
https://github.com/python/cpython
synced 2026-09-26 16:21:04 +03:00
gh-117494: extract the Instruction Sequence data structure into a separate file (#117496)
This commit is contained in:
parent
060a96f1a9
commit
04697bcfaf
13 changed files with 283 additions and 224 deletions
|
|
@ -442,6 +442,7 @@ PYTHON_OBJS= \
|
|||
Python/initconfig.o \
|
||||
Python/interpconfig.o \
|
||||
Python/instrumentation.o \
|
||||
Python/instruction_sequence.o \
|
||||
Python/intrinsics.o \
|
||||
Python/jit.o \
|
||||
Python/legacy_tracing.o \
|
||||
|
|
@ -1170,6 +1171,7 @@ PYTHON_HEADERS= \
|
|||
$(srcdir)/Include/internal/pycore_importdl.h \
|
||||
$(srcdir)/Include/internal/pycore_initconfig.h \
|
||||
$(srcdir)/Include/internal/pycore_instruments.h \
|
||||
$(srcdir)/Include/internal/pycore_instruction_sequence.h \
|
||||
$(srcdir)/Include/internal/pycore_interp.h \
|
||||
$(srcdir)/Include/internal/pycore_intrinsics.h \
|
||||
$(srcdir)/Include/internal/pycore_jit.h \
|
||||
|
|
@ -1800,7 +1802,7 @@ regen-sre:
|
|||
$(srcdir)/Modules/_sre/sre_constants.h \
|
||||
$(srcdir)/Modules/_sre/sre_targets.h
|
||||
|
||||
Python/compile.o Python/symtable.o Python/ast_unparse.o Python/ast.o Python/future.o: $(srcdir)/Include/internal/pycore_ast.h
|
||||
Python/compile.o Python/symtable.o Python/ast_unparse.o Python/ast.o Python/future.o: $(srcdir)/Include/internal/pycore_ast.h $(srcdir)/Include/internal/pycore_ast.h
|
||||
|
||||
Python/getplatform.o: $(srcdir)/Python/getplatform.c
|
||||
$(CC) -c $(PY_CORE_CFLAGS) -DPLATFORM='"$(MACHDEP)"' -o $@ $(srcdir)/Python/getplatform.c
|
||||
|
|
@ -1935,8 +1937,12 @@ regen-uop-metadata:
|
|||
$(srcdir)/Include/internal/pycore_uop_metadata.h.new $(srcdir)/Python/bytecodes.c
|
||||
$(UPDATE_FILE) $(srcdir)/Include/internal/pycore_uop_metadata.h $(srcdir)/Include/internal/pycore_uop_metadata.h.new
|
||||
|
||||
|
||||
Python/compile.o: $(srcdir)/Include/internal/pycore_opcode_metadata.h
|
||||
Python/compile.o Python/assemble.o Python/flowgraph.o Python/instruction_sequence.o: \
|
||||
$(srcdir)/Include/internal/pycore_compile.h \
|
||||
$(srcdir)/Include/internal/pycore_flowgraph.h \
|
||||
$(srcdir)/Include/internal/pycore_instruction_sequence.h \
|
||||
$(srcdir)/Include/internal/pycore_opcode_metadata.h \
|
||||
$(srcdir)/Include/internal/pycore_opcode_utils.h
|
||||
|
||||
Python/ceval.o: \
|
||||
$(srcdir)/Python/ceval_macros.h \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue