Don't increment the counter unless the debug flag is set.

llvm-svn: 21762
This commit is contained in:
Reid Spencer 2005-05-07 04:59:45 +00:00
parent cea579932d
commit 4f01a822b4
1 changed files with 1 additions and 1 deletions

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: