mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-01 15:11:24 +00:00
Shrink a SmallVector with a known maximum size.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@116278 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
568a63db96
commit
8de206c101
@ -1563,7 +1563,7 @@ void MPPassManager::addLowerLevelRequiredPass(Pass *P, Pass *RequiredPass) {
|
||||
FPP->add(RequiredPass);
|
||||
|
||||
// Register P as the last user of RequiredPass.
|
||||
SmallVector<Pass *, 12> LU;
|
||||
SmallVector<Pass *, 1> LU;
|
||||
LU.push_back(RequiredPass);
|
||||
FPP->setLastUser(LU, P);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user