summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2006-12-19 23:16:47 +0000
committerChris Lattner <sabre@nondot.org>2006-12-19 23:16:47 +0000
commit575d3218abacb04445500f66a7b3901a5326c8de (patch)
tree544d05b85e49552e8875e7312d06cb8b6358bb17 /llvm/lib/Transforms
parent85f3c060039aea35cf9855c64028561eb99384d7 (diff)
downloadbcm5719-llvm-575d3218abacb04445500f66a7b3901a5326c8de.tar.gz
bcm5719-llvm-575d3218abacb04445500f66a7b3901a5326c8de.zip
switch statistics over to not use static ctors.
llvm-svn: 32709
Diffstat (limited to 'llvm/lib/Transforms')
-rw-r--r--llvm/lib/Transforms/IPO/SimplifyLibCalls.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/lib/Transforms/IPO/SimplifyLibCalls.cpp b/llvm/lib/Transforms/IPO/SimplifyLibCalls.cpp
index 08ae1994a6e..bbe020ce1e9 100644
--- a/llvm/lib/Transforms/IPO/SimplifyLibCalls.cpp
+++ b/llvm/lib/Transforms/IPO/SimplifyLibCalls.cpp
@@ -73,11 +73,11 @@ public:
/// optimized by the subclass.
/// @brief Constructor that registers the optimization.
LibCallOptimization(const char *FName, const char *Description)
- : FunctionName(FName)
+ : FunctionName(FName) {
+
#ifndef NDEBUG
- , occurrences("simplify-libcalls", Description)
+ occurrences.construct("simplify-libcalls", Description);
#endif
- {
// Register this optimizer in the list of optimizations.
Next = OptList;
OptList = this;
OpenPOWER on IntegriCloud