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) {
782782 (SILVerifyAroundPass.end () != std::find_if (SILVerifyAroundPass.begin (),
783783 SILVerifyAroundPass.end (),
784784 MatchFun))) {
785- Mod->verify (this );
785+ Mod->verify (getAnalysis<BasicCalleeAnalysis>()-> getCalleeCache () );
786786 verifyAnalyses ();
787787 }
788788
@@ -816,7 +816,7 @@ void SILPassManager::runModulePass(unsigned TransIdx) {
816816
817817 if (Options.VerifyAll &&
818818 (CurrentPassHasInvalidated || !SILVerifyWithoutInvalidation)) {
819- Mod->verify (this );
819+ Mod->verify (getAnalysis<BasicCalleeAnalysis>()-> getCalleeCache () );
820820 verifyAnalyses ();
821821 } else {
822822 if ((SILVerifyAfterPass.end () != std::find_if (SILVerifyAfterPass.begin (),
@@ -825,7 +825,7 @@ void SILPassManager::runModulePass(unsigned TransIdx) {
825825 (SILVerifyAroundPass.end () != std::find_if (SILVerifyAroundPass.begin (),
826826 SILVerifyAroundPass.end (),
827827 MatchFun))) {
828- Mod->verify (this );
828+ Mod->verify (getAnalysis<BasicCalleeAnalysis>()-> getCalleeCache () );
829829 verifyAnalyses ();
830830 }
831831 }
You can’t perform that action at this time.
0 commit comments