From 673c1a917035a7fe04f4491fbba62a7e13de2069 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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21762 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Transforms/IPO/SimplifyLibCalls.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Transforms/IPO/SimplifyLibCalls.cpp b/lib/Transforms/IPO/SimplifyLibCalls.cpp index c92855c1566..fef058045ee 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: -- 2.34.1