forked from OSchip/llvm-project
Bump up the initial vector size to avoid having to grow the vector more often.
llvm-svn: 149945
This commit is contained in:
parent
614b53de1b
commit
7ac747245f
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue