mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-18 19:28:16 +00:00
Analysis resolver now manages AnalysisImpls for the given patch.
llvm-svn: 32389
This commit is contained in:
parent
a330306e9b
commit
1dab3b3558
@ -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…
x
Reference in New Issue
Block a user