From: Reid Spencer Date: Sat, 7 May 2005 04:59:45 +0000 (+0000) Subject: Don't increment the counter unless the debug flag is set. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=673c1a917035a7fe04f4491fbba62a7e13de2069;p=oota-llvm.git Don't increment the counter unless the debug flag is set. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21762 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Transforms/IPO/SimplifyLibCalls.cpp b/lib/Transforms/IPO/SimplifyLibCalls.cpp index c92855c1566..fef058045ee 100644 --- a/lib/Transforms/IPO/SimplifyLibCalls.cpp +++ b/lib/Transforms/IPO/SimplifyLibCalls.cpp @@ -111,7 +111,7 @@ public: #ifndef NDEBUG /// @brief Called by SimplifyLibCalls to update the occurrences statistic. - void succeeded() { ++occurrences; } + void succeeded() { DEBUG(++occurrences); } #endif private: