forked from OSchip/llvm-project
Analysis resolver now manages AnalysisImpls for the given patch.
llvm-svn: 32389
This commit is contained in:
parent
9d759b8854
commit
984698ac24
|
@ -675,7 +675,8 @@ void PMDataManager::initializeAnalysisImpl(Pass *P) {
|
|||
Pass *Impl = findAnalysisPass(*I, true);
|
||||
if (Impl == 0)
|
||||
assert(0 && "Analysis used but not available!");
|
||||
// TODO: P->AnalysisImpls.push_back(std::make_pair(*I, Impl));
|
||||
AnalysisResolver_New *AR = P->getResolver();
|
||||
AR->addAnalysisImplsPair(*I, Impl);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue