File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
lib/SILOptimizer/PassManager Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -782,7 +782,7 @@ void SILPassManager::runModulePass(unsigned TransIdx) {
782
782
(SILVerifyAroundPass.end () != std::find_if (SILVerifyAroundPass.begin (),
783
783
SILVerifyAroundPass.end (),
784
784
MatchFun))) {
785
- Mod->verify (this );
785
+ Mod->verify (getAnalysis<BasicCalleeAnalysis>()-> getCalleeCache () );
786
786
verifyAnalyses ();
787
787
}
788
788
@@ -816,7 +816,7 @@ void SILPassManager::runModulePass(unsigned TransIdx) {
816
816
817
817
if (Options.VerifyAll &&
818
818
(CurrentPassHasInvalidated || !SILVerifyWithoutInvalidation)) {
819
- Mod->verify (this );
819
+ Mod->verify (getAnalysis<BasicCalleeAnalysis>()-> getCalleeCache () );
820
820
verifyAnalyses ();
821
821
} else {
822
822
if ((SILVerifyAfterPass.end () != std::find_if (SILVerifyAfterPass.begin (),
@@ -825,7 +825,7 @@ void SILPassManager::runModulePass(unsigned TransIdx) {
825
825
(SILVerifyAroundPass.end () != std::find_if (SILVerifyAroundPass.begin (),
826
826
SILVerifyAroundPass.end (),
827
827
MatchFun))) {
828
- Mod->verify (this );
828
+ Mod->verify (getAnalysis<BasicCalleeAnalysis>()-> getCalleeCache () );
829
829
verifyAnalyses ();
830
830
}
831
831
}
You can’t perform that action at this time.
0 commit comments