diff --git a/Python/optimizer.c b/Python/optimizer.c index b8208c7d888e38..2802ef17dbf5c2 100644 --- a/Python/optimizer.c +++ b/Python/optimizer.c @@ -1993,6 +1993,8 @@ find_line_number(PyCodeObject *code, _PyExecutorObject *executor) #define BLACK "#000000" #define LOOP "#00c000" +#ifdef Py_STATS + static const char *COLORS[10] = { "9", "8", @@ -2005,8 +2007,6 @@ static const char *COLORS[10] = { "1", WHITE, }; - -#ifdef Py_STATS const char * get_background_color(_PyUOpInstruction const *inst, uint64_t max_hotness) {