forked from OSchip/llvm-project
Don't increment the counter unless the debug flag is set.
llvm-svn: 21762
This commit is contained in:
parent
cea579932d
commit
4f01a822b4
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue