Add comment.

llvm-svn: 151431
This commit is contained in:
Chad Rosier 2012-02-25 03:07:57 +00:00
parent e2c4506979
commit 50e0b81ea9
2 changed files with 3 additions and 2 deletions

View 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,

View 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