Analysis resolver now manages AnalysisImpls for the given patch.

llvm-svn: 32389
This commit is contained in:
Devang Patel 2006-12-09 01:11:34 +00:00
parent 9d759b8854
commit 984698ac24
1 changed files with 2 additions and 1 deletions

View File

@ -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);
}
}