forked from OSchip/llvm-project
Use a SmallVector for field types in CGRecordLayoutBuilder now that llvm::StructType::get takes an ArrayRef.
llvm-svn: 129667
This commit is contained in:
parent
b53ccb8e36
commit
b6d31e7dcc
|
@ -34,7 +34,7 @@ class CGRecordLayoutBuilder {
|
|||
public:
|
||||
/// FieldTypes - Holds the LLVM types that the struct is created from.
|
||||
///
|
||||
std::vector<const llvm::Type *> FieldTypes;
|
||||
llvm::SmallVector<const llvm::Type *, 16> FieldTypes;
|
||||
|
||||
/// BaseSubobjectType - Holds the LLVM type for the non-virtual part
|
||||
/// of the struct. For example, consider:
|
||||
|
|
Loading…
Reference in New Issue