diff options
author | Bill Wendling <isanbard@gmail.com> | 2012-02-07 00:54:58 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2012-02-07 00:54:58 +0000 |
commit | cf6511be740688c6fc554aaaeee1da9853b3c7df (patch) | |
tree | 114e1e88c4fe45309967613a000fa3c42186e321 /lib/CodeGen | |
parent | 8b418685e9e4f02f4eb2a76e1ec063e07552b68d (diff) |
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
Diffstat (limited to 'lib/CodeGen')
-rw-r--r-- | lib/CodeGen/CGExprConstant.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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<llvm::Constant *, 16> Elements; + SmallVector<llvm::Constant *, 32> Elements; public: static llvm::Constant *BuildStruct(CodeGenModule &CGM, CodeGenFunction *CGF, InitListExpr *ILE); |