mirror of
https://github.com/python/cpython.git
synced 2024-12-01 05:45:40 +08:00
bpo-44890: Fix AMD build error (GH-27740)
This commit is contained in:
parent
8ac0886091
commit
789a6af29f
@ -305,8 +305,13 @@ int _Py_Specialize_BinarySubscr(PyObject *sub, PyObject *container, _Py_CODEUNIT
|
||||
#define PRINT_SPECIALIZATION_STATS_DETAILED 0
|
||||
#define PRINT_SPECIALIZATION_STATS_TO_FILE 0
|
||||
|
||||
#define COLLECT_SPECIALIZATION_STATS (Py_DEBUG || PRINT_SPECIALIZATION_STATS)
|
||||
#define COLLECT_SPECIALIZATION_STATS_DETAILED (Py_DEBUG || PRINT_SPECIALIZATION_STATS_DETAILED)
|
||||
#ifdef Py_DEBUG
|
||||
#define COLLECT_SPECIALIZATION_STATS 1
|
||||
#define COLLECT_SPECIALIZATION_STATS_DETAILED 1
|
||||
#else
|
||||
#define COLLECT_SPECIALIZATION_STATS PRINT_SPECIALIZATION_STATS
|
||||
#define COLLECT_SPECIALIZATION_STATS_DETAILED PRINT_SPECIALIZATION_STATS_DETAILED
|
||||
#endif
|
||||
|
||||
#define SPECIALIZATION_FAILURE_KINDS 20
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user