mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-07 11:33:44 +00:00
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:
parent
d0fa16c336
commit
a5f9d556b7
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user