This repository was archived by the owner on Feb 5, 2019. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -626,8 +626,7 @@ void PMTopLevelManager::schedulePass(Pass *P) {
626
626
Pass *AnalysisPass2 = findAnalysisPass (*I2);
627
627
if (AnalysisPass2) {
628
628
dbgs () << " \t " << AnalysisPass2->getPassName () << " \n " ;
629
- }
630
- else {
629
+ } else {
631
630
dbgs () << " \t " << " Error: Required pass not found! Possible causes:" << " \n " ;
632
631
dbgs () << " \t\t " << " - Pass misconfiguration (e.g.: missing macros)" << " \n " ;
633
632
dbgs () << " \t\t " << " - Corruption of the global PassRegistry" << " \n " ;
@@ -648,8 +647,7 @@ void PMTopLevelManager::schedulePass(Pass *P) {
648
647
// Recheck analysis passes to ensure that required analyses that
649
648
// are already checked are still available.
650
649
checkAnalysis = true ;
651
- }
652
- else
650
+ } else
653
651
// Do not schedule this analysis. Lower level analsyis
654
652
// passes are run on the fly.
655
653
delete AnalysisPass;
@@ -1797,8 +1795,7 @@ void PMStack::push(PMDataManager *PM) {
1797
1795
TPM->addIndirectPassManager (PM);
1798
1796
PM->setTopLevelManager (TPM);
1799
1797
PM->setDepth (this ->top ()->getDepth ()+1 );
1800
- }
1801
- else {
1798
+ } else {
1802
1799
assert ((PM->getPassManagerType () == PMT_ModulePassManager
1803
1800
|| PM->getPassManagerType () == PMT_FunctionPassManager)
1804
1801
&& " pushing bad pass manager to PMStack" );
You can’t perform that action at this time.
0 commit comments