diff --git a/src/coreclr/jit/compiler.cpp b/src/coreclr/jit/compiler.cpp index cd5c04a30b4ed..36107f935e2f9 100644 --- a/src/coreclr/jit/compiler.cpp +++ b/src/coreclr/jit/compiler.cpp @@ -8256,8 +8256,10 @@ void JitTimer::PrintCsvHeader() fprintf(s_csvFile, "\"Loops\","); fprintf(s_csvFile, "\"Loops Cloned\","); #if FEATURE_LOOP_ALIGN +#ifdef DEBUG fprintf(s_csvFile, "\"Alignment Candidates\","); fprintf(s_csvFile, "\"Loops Aligned\","); +#endif // DEBUG #endif // FEATURE_LOOP_ALIGN for (int i = 0; i < PHASE_NUMBER_OF; i++) { @@ -8333,8 +8335,10 @@ void JitTimer::PrintCsvMethodStats(Compiler* comp) fprintf(s_csvFile, "%u,", comp->optLoopCount); fprintf(s_csvFile, "%u,", comp->optLoopsCloned); #if FEATURE_LOOP_ALIGN +#ifdef DEBUG fprintf(s_csvFile, "%u,", comp->loopAlignCandidates); fprintf(s_csvFile, "%u,", comp->loopsAligned); +#endif // DEBUG #endif // FEATURE_LOOP_ALIGN unsigned __int64 totCycles = 0; for (int i = 0; i < PHASE_NUMBER_OF; i++)