[llvm-commits] CVS: llvm/lib/Transforms/IPO/SimplifyLibCalls.cpp
    Chris Lattner 
    sabre at nondot.org
       
    Tue Dec 19 15:17:02 PST 2006
    
    
  
Changes in directory llvm/lib/Transforms/IPO:
SimplifyLibCalls.cpp updated: 1.77 -> 1.78
---
Log message:
switch statistics over to not use static ctors.
---
Diffs of the changes:  (+3 -3)
 SimplifyLibCalls.cpp |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
Index: llvm/lib/Transforms/IPO/SimplifyLibCalls.cpp
diff -u llvm/lib/Transforms/IPO/SimplifyLibCalls.cpp:1.77 llvm/lib/Transforms/IPO/SimplifyLibCalls.cpp:1.78
--- llvm/lib/Transforms/IPO/SimplifyLibCalls.cpp:1.77	Tue Dec 19 16:09:18 2006
+++ llvm/lib/Transforms/IPO/SimplifyLibCalls.cpp	Tue Dec 19 17:16:47 2006
@@ -73,11 +73,11 @@
   /// 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;
    
    
More information about the llvm-commits
mailing list