diff options
author | Devang Patel <dpatel@apple.com> | 2006-12-09 01:11:34 +0000 |
---|---|---|
committer | Devang Patel <dpatel@apple.com> | 2006-12-09 01:11:34 +0000 |
commit | 298feadd7a547d50eb943c9ea15f6345a024bc9a (patch) | |
tree | 4deb1247f35b9d1507382e54677019d21a84a5ee /lib/VMCore/PassManager.cpp | |
parent | 5b640e7edc606059717fb9c2ebcd85302c97fc21 (diff) |
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
Diffstat (limited to 'lib/VMCore/PassManager.cpp')
-rw-r--r-- | lib/VMCore/PassManager.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/VMCore/PassManager.cpp b/lib/VMCore/PassManager.cpp index e085bf57ed..0200976981 100644 --- a/lib/VMCore/PassManager.cpp +++ b/lib/VMCore/PassManager.cpp @@ -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); } } |