Maintain ImmutablePasses list at top level only. Do not make them

directly available to individual managers.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32504 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Devang Patel 2006-12-12 22:53:40 +00:00
parent d0fa16c336
commit a5f9d556b7

View File

@ -200,12 +200,6 @@ public:
void initializeAnalysisInfo() {
ForcedLastUses.clear();
AvailableAnalysis.clear();
// Include immutable passes into AvailableAnalysis vector.
std::vector<ImmutablePass *> &ImmutablePasses = TPM->getImmutablePasses();
for (std::vector<ImmutablePass *>::iterator I = ImmutablePasses.begin(),
E = ImmutablePasses.end(); I != E; ++I)
recordAvailableAnalysis(*I);
}
/// Populate RequiredPasses with the analysis pass that are required by