From cf6511be740688c6fc554aaaeee1da9853b3c7df Mon Sep 17 00:00:00 2001 From: Bill Wendling Date: Tue, 7 Feb 2012 00:54:58 +0000 Subject: [PATCH] Bump up the initial vector size to avoid having to grow the vector more often. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@149945 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/CodeGen/CGExprConstant.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/CodeGen/CGExprConstant.cpp b/lib/CodeGen/CGExprConstant.cpp index 52ae9ee7c4..ccb4b930e6 100644 --- a/lib/CodeGen/CGExprConstant.cpp +++ b/lib/CodeGen/CGExprConstant.cpp @@ -40,7 +40,7 @@ class ConstStructBuilder { bool Packed; CharUnits NextFieldOffsetInChars; CharUnits LLVMStructAlignment; - SmallVector Elements; + SmallVector Elements; public: static llvm::Constant *BuildStruct(CodeGenModule &CGM, CodeGenFunction *CGF, InitListExpr *ILE); -- 2.40.0