mirror of
https://github.com/RPCS3/llvm.git
synced 2025-01-08 21:10:35 +00:00
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:
parent
0975ed5f4e
commit
673c1a9170
@ -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
Block a user