mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-14 11:32:34 +00:00
Analysis resolver now manages AnalysisImpls for the given patch.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32389 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
5b640e7edc
commit
298feadd7a
@ -675,7 +675,8 @@ void PMDataManager::initializeAnalysisImpl(Pass *P) {
|
|||||||
Pass *Impl = findAnalysisPass(*I, true);
|
Pass *Impl = findAnalysisPass(*I, true);
|
||||||
if (Impl == 0)
|
if (Impl == 0)
|
||||||
assert(0 && "Analysis used but not available!");
|
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
Block a user