mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-23 20:29:30 +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
|
#ifndef NDEBUG
|
||||||
/// @brief Called by SimplifyLibCalls to update the occurrences statistic.
|
/// @brief Called by SimplifyLibCalls to update the occurrences statistic.
|
||||||
void succeeded() { ++occurrences; }
|
void succeeded() { DEBUG(++occurrences); }
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user