mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-04 01:11:44 +00:00
Remove extra blank line between closing curly brace and 'else'
llvm-svn: 174492
This commit is contained in:
parent
d4a8a10013
commit
4ba9d33da9
@ -626,8 +626,7 @@ void PMTopLevelManager::schedulePass(Pass *P) {
|
|||||||
Pass *AnalysisPass2 = findAnalysisPass(*I2);
|
Pass *AnalysisPass2 = findAnalysisPass(*I2);
|
||||||
if (AnalysisPass2) {
|
if (AnalysisPass2) {
|
||||||
dbgs() << "\t" << AnalysisPass2->getPassName() << "\n";
|
dbgs() << "\t" << AnalysisPass2->getPassName() << "\n";
|
||||||
}
|
} else {
|
||||||
else {
|
|
||||||
dbgs() << "\t" << "Error: Required pass not found! Possible causes:" << "\n";
|
dbgs() << "\t" << "Error: Required pass not found! Possible causes:" << "\n";
|
||||||
dbgs() << "\t\t" << "- Pass misconfiguration (e.g.: missing macros)" << "\n";
|
dbgs() << "\t\t" << "- Pass misconfiguration (e.g.: missing macros)" << "\n";
|
||||||
dbgs() << "\t\t" << "- Corruption of the global PassRegistry" << "\n";
|
dbgs() << "\t\t" << "- Corruption of the global PassRegistry" << "\n";
|
||||||
@ -648,8 +647,7 @@ void PMTopLevelManager::schedulePass(Pass *P) {
|
|||||||
// Recheck analysis passes to ensure that required analyses that
|
// Recheck analysis passes to ensure that required analyses that
|
||||||
// are already checked are still available.
|
// are already checked are still available.
|
||||||
checkAnalysis = true;
|
checkAnalysis = true;
|
||||||
}
|
} else
|
||||||
else
|
|
||||||
// Do not schedule this analysis. Lower level analsyis
|
// Do not schedule this analysis. Lower level analsyis
|
||||||
// passes are run on the fly.
|
// passes are run on the fly.
|
||||||
delete AnalysisPass;
|
delete AnalysisPass;
|
||||||
@ -1797,8 +1795,7 @@ void PMStack::push(PMDataManager *PM) {
|
|||||||
TPM->addIndirectPassManager(PM);
|
TPM->addIndirectPassManager(PM);
|
||||||
PM->setTopLevelManager(TPM);
|
PM->setTopLevelManager(TPM);
|
||||||
PM->setDepth(this->top()->getDepth()+1);
|
PM->setDepth(this->top()->getDepth()+1);
|
||||||
}
|
} else {
|
||||||
else {
|
|
||||||
assert((PM->getPassManagerType() == PMT_ModulePassManager
|
assert((PM->getPassManagerType() == PMT_ModulePassManager
|
||||||
|| PM->getPassManagerType() == PMT_FunctionPassManager)
|
|| PM->getPassManagerType() == PMT_FunctionPassManager)
|
||||||
&& "pushing bad pass manager to PMStack");
|
&& "pushing bad pass manager to PMStack");
|
||||||
|
Loading…
Reference in New Issue
Block a user