Add comment.
authorChad Rosier <mcrosier@apple.com>
Sat, 25 Feb 2012 03:07:57 +0000 (03:07 +0000)
committerChad Rosier <mcrosier@apple.com>
Sat, 25 Feb 2012 03:07:57 +0000 (03:07 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@151431 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Transforms/IPO/InlineAlways.cpp
lib/Transforms/IPO/InlineSimple.cpp

index b1fe24dcdbe1630e37e0bbe525b5874589c39478..749a3fa23de1d2d756a16f55292edfad0678c99d 100644 (file)
@@ -37,7 +37,7 @@ namespace {
     InlineCostAnalyzer CA;
   public:
     // Use extremely low threshold.
-    AlwaysInliner() : Inliner(ID, -2000000000, true) {
+    AlwaysInliner() : Inliner(ID, -2000000000, /*InsertLifetime*/true) {
       initializeAlwaysInlinerPass(*PassRegistry::getPassRegistry());
     }
     AlwaysInliner(bool InsertLifetime) : Inliner(ID, -2000000000,
index c33d5ea0557dbfd65de47c60df0bcfc4dfbd23e6..b3421ebd64808d6f50094c025da106d52e0761b0 100644 (file)
@@ -37,7 +37,8 @@ namespace {
     SimpleInliner() : Inliner(ID) {
       initializeSimpleInlinerPass(*PassRegistry::getPassRegistry());
     }
-    SimpleInliner(int Threshold) : Inliner(ID, Threshold, true) {
+    SimpleInliner(int Threshold) : Inliner(ID, Threshold,
+                                           /*InsertLifetime*/true) {
       initializeSimpleInlinerPass(*PassRegistry::getPassRegistry());
     }
     static char ID; // Pass identification, replacement for typeid