mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-25 00:24:26 +00:00
Add comment.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@151431 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -37,7 +37,7 @@ namespace {
|
|||||||
InlineCostAnalyzer CA;
|
InlineCostAnalyzer CA;
|
||||||
public:
|
public:
|
||||||
// Use extremely low threshold.
|
// Use extremely low threshold.
|
||||||
AlwaysInliner() : Inliner(ID, -2000000000, true) {
|
AlwaysInliner() : Inliner(ID, -2000000000, /*InsertLifetime*/true) {
|
||||||
initializeAlwaysInlinerPass(*PassRegistry::getPassRegistry());
|
initializeAlwaysInlinerPass(*PassRegistry::getPassRegistry());
|
||||||
}
|
}
|
||||||
AlwaysInliner(bool InsertLifetime) : Inliner(ID, -2000000000,
|
AlwaysInliner(bool InsertLifetime) : Inliner(ID, -2000000000,
|
||||||
|
@ -37,7 +37,8 @@ namespace {
|
|||||||
SimpleInliner() : Inliner(ID) {
|
SimpleInliner() : Inliner(ID) {
|
||||||
initializeSimpleInlinerPass(*PassRegistry::getPassRegistry());
|
initializeSimpleInlinerPass(*PassRegistry::getPassRegistry());
|
||||||
}
|
}
|
||||||
SimpleInliner(int Threshold) : Inliner(ID, Threshold, true) {
|
SimpleInliner(int Threshold) : Inliner(ID, Threshold,
|
||||||
|
/*InsertLifetime*/true) {
|
||||||
initializeSimpleInlinerPass(*PassRegistry::getPassRegistry());
|
initializeSimpleInlinerPass(*PassRegistry::getPassRegistry());
|
||||||
}
|
}
|
||||||
static char ID; // Pass identification, replacement for typeid
|
static char ID; // Pass identification, replacement for typeid
|
||||||
|
Reference in New Issue
Block a user