diff --git a/llvm/lib/Transforms/Instrumentation/PGOCtxProfLowering.cpp b/llvm/lib/Transforms/Instrumentation/PGOCtxProfLowering.cpp index d741695d4e53c..0a358d45b92ca 100644 --- a/llvm/lib/Transforms/Instrumentation/PGOCtxProfLowering.cpp +++ b/llvm/lib/Transforms/Instrumentation/PGOCtxProfLowering.cpp @@ -98,7 +98,7 @@ std::pair getNumCountersAndCallsites(const Function &F) { "same total nr of callsites parameter"); NumCallsites = V; } -#if NDEBUG +#ifdef NDEBUG if (NumCounters && NumCallsites) return std::make_pair(NumCounters, NumCallsites); #endif