Remove duplicate includes: Python/{bytecodes,ceval,optimizer_analysis}.c (#132622)

This commit is contained in:
Adam Turner 2025-05-01 12:07:53 +01:00 committed by GitHub
parent 5529213d4e
commit f21e42d906
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 1 additions and 6 deletions

View file

@ -18,7 +18,7 @@
#include "pycore_instruments.h" #include "pycore_instruments.h"
#include "pycore_interpolation.h" // _PyInterpolation_Build() #include "pycore_interpolation.h" // _PyInterpolation_Build()
#include "pycore_intrinsics.h" #include "pycore_intrinsics.h"
#include "pycore_long.h" // _PyLong_GetZero() #include "pycore_long.h" // _PyLong_ExactDealloc(), _PyLong_GetZero()
#include "pycore_moduleobject.h" // PyModuleObject #include "pycore_moduleobject.h" // PyModuleObject
#include "pycore_object.h" // _PyObject_GC_TRACK() #include "pycore_object.h" // _PyObject_GC_TRACK()
#include "pycore_opcode_metadata.h" // uop names #include "pycore_opcode_metadata.h" // uop names
@ -27,7 +27,6 @@
#include "pycore_pyerrors.h" // _PyErr_GetRaisedException() #include "pycore_pyerrors.h" // _PyErr_GetRaisedException()
#include "pycore_pystate.h" // _PyInterpreterState_GET() #include "pycore_pystate.h" // _PyInterpreterState_GET()
#include "pycore_range.h" // _PyRangeIterObject #include "pycore_range.h" // _PyRangeIterObject
#include "pycore_long.h" // _PyLong_ExactDealloc()
#include "pycore_setobject.h" // _PySet_NextEntry() #include "pycore_setobject.h" // _PySet_NextEntry()
#include "pycore_sliceobject.h" // _PyBuildSlice_ConsumeRefs #include "pycore_sliceobject.h" // _PyBuildSlice_ConsumeRefs
#include "pycore_stackref.h" #include "pycore_stackref.h"

View file

@ -30,7 +30,6 @@
#include "pycore_opcode_utils.h" // MAKE_FUNCTION_* #include "pycore_opcode_utils.h" // MAKE_FUNCTION_*
#include "pycore_optimizer.h" // _PyUOpExecutor_Type #include "pycore_optimizer.h" // _PyUOpExecutor_Type
#include "pycore_pyatomic_ft_wrappers.h" // FT_ATOMIC_* #include "pycore_pyatomic_ft_wrappers.h" // FT_ATOMIC_*
#include "pycore_pyerrors.h"
#include "pycore_pyerrors.h" // _PyErr_GetRaisedException() #include "pycore_pyerrors.h" // _PyErr_GetRaisedException()
#include "pycore_pystate.h" // _PyInterpreterState_GET() #include "pycore_pystate.h" // _PyInterpreterState_GET()
#include "pycore_range.h" // _PyRangeIterObject #include "pycore_range.h" // _PyRangeIterObject

View file

@ -19,14 +19,11 @@
#include "pycore_opcode_utils.h" #include "pycore_opcode_utils.h"
#include "pycore_pystate.h" // _PyInterpreterState_GET() #include "pycore_pystate.h" // _PyInterpreterState_GET()
#include "pycore_uop_metadata.h" #include "pycore_uop_metadata.h"
#include "pycore_dict.h"
#include "pycore_long.h" #include "pycore_long.h"
#include "pycore_interpframe.h" // _PyFrame_GetCode #include "pycore_interpframe.h" // _PyFrame_GetCode
#include "pycore_optimizer.h" #include "pycore_optimizer.h"
#include "pycore_object.h" #include "pycore_object.h"
#include "pycore_dict.h"
#include "pycore_function.h" #include "pycore_function.h"
#include "pycore_uop_metadata.h"
#include "pycore_uop_ids.h" #include "pycore_uop_ids.h"
#include "pycore_range.h" #include "pycore_range.h"