From 4f01a822b4abcb4c366a9031f9d65a870d46463e Mon Sep 17 00:00:00 2001 From: Reid Spencer Date: Sat, 7 May 2005 04:59:45 +0000 Subject: [PATCH] Don't increment the counter unless the debug flag is set. llvm-svn: 21762 --- llvm/lib/Transforms/IPO/SimplifyLibCalls.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llvm/lib/Transforms/IPO/SimplifyLibCalls.cpp b/llvm/lib/Transforms/IPO/SimplifyLibCalls.cpp index c92855c1566d..fef058045ee4 100644 --- a/llvm/lib/Transforms/IPO/SimplifyLibCalls.cpp +++ b/llvm/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: