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

llvm-svn: 21762
diff --git a/llvm/lib/Transforms/IPO/SimplifyLibCalls.cpp b/llvm/lib/Transforms/IPO/SimplifyLibCalls.cpp
index c92855c..fef0580 100644
--- a/llvm/lib/Transforms/IPO/SimplifyLibCalls.cpp
+++ b/llvm/lib/Transforms/IPO/SimplifyLibCalls.cpp
@@ -111,7 +111,7 @@
 
 #ifndef NDEBUG
   /// @brief Called by SimplifyLibCalls to update the occurrences statistic.
-  void succeeded() { ++occurrences; }
+  void succeeded() { DEBUG(++occurrences); }
 #endif
 
 private: