We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5add7a6 commit 2bc01ccCopy full SHA for 2bc01cc
Include/internal/pycore_code.h
@@ -271,6 +271,8 @@ extern int _PyStaticCode_Init(PyCodeObject *co);
271
272
#ifdef Py_STATS
273
274
+#include "pycore_bitutils.h" // _Py_bit_length
275
+
276
#define STAT_INC(opname, name) do { if (_Py_stats) _Py_stats->opcode_stats[opname].specialization.name++; } while (0)
277
#define STAT_DEC(opname, name) do { if (_Py_stats) _Py_stats->opcode_stats[opname].specialization.name--; } while (0)
278
#define OPCODE_EXE_INC(opname) do { if (_Py_stats) _Py_stats->opcode_stats[opname].execution_count++; } while (0)
0 commit comments