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
This commit is contained in:
Reid Spencer 2005-05-07 04:59:45 +00:00
parent 0975ed5f4e
commit 673c1a9170

View File

@ -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: