diff options
author | Reid Spencer <rspencer@reidspencer.com> | 2005-05-07 04:59:45 +0000 |
---|---|---|
committer | Reid Spencer <rspencer@reidspencer.com> | 2005-05-07 04:59:45 +0000 |
commit | 673c1a917035a7fe04f4491fbba62a7e13de2069 (patch) | |
tree | 1310df7605005b1a7573318eeb0413bc0dffdc78 /lib/Transforms | |
parent | 0975ed5f4ef7264b45995241717055f8a116bb27 (diff) |
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
Diffstat (limited to 'lib/Transforms')
-rw-r--r-- | lib/Transforms/IPO/SimplifyLibCalls.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Transforms/IPO/SimplifyLibCalls.cpp b/lib/Transforms/IPO/SimplifyLibCalls.cpp index c92855c156..fef058045e 100644 --- a/lib/Transforms/IPO/SimplifyLibCalls.cpp +++ b/lib/Transforms/IPO/SimplifyLibCalls.cpp @@ -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: |