Increase the size of PMTopLevelManager::ImmutablePasses from 8 to 16.
authorHans Wennborg <hans@hanshq.net>
Mon, 11 Aug 2014 02:17:15 +0000 (02:17 +0000)
committerHans Wennborg <hans@hanshq.net>
Mon, 11 Aug 2014 02:17:15 +0000 (02:17 +0000)
During a bootstrap build of Clang, this SmallVector always held 14 elements.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@215333 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/IR/LegacyPassManagers.h

index f6065a4..20298ef 100644 (file)
@@ -248,7 +248,7 @@ private:
   DenseMap<Pass *, SmallPtrSet<Pass *, 8> > InversedLastUser;
 
   /// Immutable passes are managed by top level manager.
-  SmallVector<ImmutablePass *, 8> ImmutablePasses;
+  SmallVector<ImmutablePass *, 16> ImmutablePasses;
 
   DenseMap<Pass *, AnalysisUsage *> AnUsageMap;
 };