summaryrefslogtreecommitdiffstats
path: root/Python/codegen.c
diff options
context:
space:
mode:
authorMark Shannon <mark@hotpy.org>2025-03-17 14:41:05 (GMT)
committerGitHub <noreply@github.com>2025-03-17 14:41:05 (GMT)
commita45f25361d582ce742fef7f23e7feadd19b67460 (patch)
treea1f01aa47d31890f34b63257270501c1e7dda872 /Python/codegen.c
parentbb0268f60dfe903a9bdb8d84104247a9318c6b18 (diff)
downloadcpython-a45f25361d582ce742fef7f23e7feadd19b67460.zip
cpython-a45f25361d582ce742fef7f23e7feadd19b67460.tar.gz
cpython-a45f25361d582ce742fef7f23e7feadd19b67460.tar.bz2
GH-131238: More refactoring of core header files (GH-131351)
Adds new pycore_stats.h header file to help break dependencies involving the pycore_code.h header.
Diffstat (limited to 'Python/codegen.c')
-rw-r--r--Python/codegen.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/Python/codegen.c b/Python/codegen.c
index a049417..e1f6474 100644
--- a/Python/codegen.c
+++ b/Python/codegen.c
@@ -19,6 +19,7 @@
#include "pycore_opcode_utils.h"
#undef NEED_OPCODE_TABLES
#include "pycore_c_array.h" // _Py_c_array_t
+#include "pycore_code.h" // COMPARISON_LESS_THAN
#include "pycore_compile.h"
#include "pycore_instruction_sequence.h" // _PyInstructionSequence_NewLabel()
#include "pycore_intrinsics.h"
@@ -26,6 +27,7 @@
#include "pycore_object.h" // _Py_ANNOTATE_FORMAT_VALUE_WITH_FAKE_GLOBALS
#include "pycore_pystate.h" // _Py_GetConfig()
#include "pycore_symtable.h" // PySTEntryObject
+#include "pycore_unicodeobject.h" // _PyUnicode_EqualToASCIIString
#define NEED_OPCODE_METADATA
#include "pycore_opcode_metadata.h" // _PyOpcode_opcode_metadata, _PyOpcode_num_popped/pushed