aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2005-05-07 04:59:45 +0000
committerReid Spencer <rspencer@reidspencer.com>2005-05-07 04:59:45 +0000
commit4f01a822b4abcb4c366a9031f9d65a870d46463e (patch)
tree79f250e4ceed42a4bd3f0870da084ece77f1de21 /llvm/lib/Transforms
parentcea579932d97d07ec7fc982684dc77273219eb9a (diff)
downloadllvm-4f01a822b4abcb4c366a9031f9d65a870d46463e.zip
llvm-4f01a822b4abcb4c366a9031f9d65a870d46463e.tar.gz
llvm-4f01a822b4abcb4c366a9031f9d65a870d46463e.tar.bz2
Don't increment the counter unless the debug flag is set.
llvm-svn: 21762
Diffstat (limited to 'llvm/lib/Transforms')
-rw-r--r--llvm/lib/Transforms/IPO/SimplifyLibCalls.cpp2
1 files changed, 1 insertions, 1 deletions
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 @@ public:
#ifndef NDEBUG
/// @brief Called by SimplifyLibCalls to update the occurrences statistic.
- void succeeded() { ++occurrences; }
+ void succeeded() { DEBUG(++occurrences); }
#endif
private: