Bump up the initial vector size to avoid having to grow the vector more often.

llvm-svn: 149945
This commit is contained in:
Bill Wendling 2012-02-07 00:54:58 +00:00
parent 614b53de1b
commit 7ac747245f
1 changed files with 1 additions and 1 deletions

View File

@ -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);