1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 03:33:20 +01:00

Add comment.

llvm-svn: 151431
This commit is contained in:
Chad Rosier 2012-02-25 03:07:57 +00:00
parent 096b8c0365
commit 7ebe024853
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