diff options
author | Chad Rosier <mcrosier@apple.com> | 2012-02-25 03:07:57 +0000 |
---|---|---|
committer | Chad Rosier <mcrosier@apple.com> | 2012-02-25 03:07:57 +0000 |
commit | dfba3ad88276b0aad3d515320bb4a50480c364d9 (patch) | |
tree | 961e3ed6c00d8654ff8808f905020b6edb1825a1 /lib/Transforms/IPO | |
parent | fa086f1f00a8b75ab2e2208bd7a028e62f9854db (diff) | |
download | external_llvm-dfba3ad88276b0aad3d515320bb4a50480c364d9.zip external_llvm-dfba3ad88276b0aad3d515320bb4a50480c364d9.tar.gz external_llvm-dfba3ad88276b0aad3d515320bb4a50480c364d9.tar.bz2 |
Add comment.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@151431 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/IPO')
-rw-r--r-- | lib/Transforms/IPO/InlineAlways.cpp | 2 | ||||
-rw-r--r-- | lib/Transforms/IPO/InlineSimple.cpp | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/lib/Transforms/IPO/InlineAlways.cpp b/lib/Transforms/IPO/InlineAlways.cpp index b1fe24d..749a3fa 100644 --- a/lib/Transforms/IPO/InlineAlways.cpp +++ b/lib/Transforms/IPO/InlineAlways.cpp @@ -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, diff --git a/lib/Transforms/IPO/InlineSimple.cpp b/lib/Transforms/IPO/InlineSimple.cpp index c33d5ea..b3421eb 100644 --- a/lib/Transforms/IPO/InlineSimple.cpp +++ b/lib/Transforms/IPO/InlineSimple.cpp @@ -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 |