From 8de206c10142c91b19eb5dcacfb0da97747dfb01 Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Tue, 12 Oct 2010 00:13:43 +0000 Subject: 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 --- lib/VMCore/PassManager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/VMCore/PassManager.cpp') diff --git a/lib/VMCore/PassManager.cpp b/lib/VMCore/PassManager.cpp index c1f1d5a..1fc3d15 100644 --- a/lib/VMCore/PassManager.cpp +++ b/lib/VMCore/PassManager.cpp @@ -1563,7 +1563,7 @@ void MPPassManager::addLowerLevelRequiredPass(Pass *P, Pass *RequiredPass) { FPP->add(RequiredPass); // Register P as the last user of RequiredPass. - SmallVector LU; + SmallVector LU; LU.push_back(RequiredPass); FPP->setLastUser(LU, P); } -- cgit v1.1