diff options
| author | Chris Lattner <sabre@nondot.org> | 2006-12-19 23:16:47 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2006-12-19 23:16:47 +0000 |
| commit | 1c560adfd1be8051644d7aefd32f2dcdb4070689 (patch) | |
| tree | 112a5a3920505a5f465871da703894b761030f7f /lib/Transforms/IPO/SimplifyLibCalls.cpp | |
| parent | 89e211e628db2424df72436d04d27ce1d24d6ad7 (diff) | |
switch statistics over to not use static ctors.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32709 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/IPO/SimplifyLibCalls.cpp')
| -rw-r--r-- | lib/Transforms/IPO/SimplifyLibCalls.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/Transforms/IPO/SimplifyLibCalls.cpp b/lib/Transforms/IPO/SimplifyLibCalls.cpp index 08ae1994a6..bbe020ce1e 100644 --- a/lib/Transforms/IPO/SimplifyLibCalls.cpp +++ b/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; |
