Use a SmallVector for intrinsic argument types.
llvm-svn: 142259
This commit is contained in:
parent
510fbcd440
commit
0dfb159250
|
@ -83,7 +83,7 @@ bool BlackfinIntrinsicInfo::isOverloaded(unsigned IntrID) const {
|
|||
|
||||
static FunctionType *getType(LLVMContext &Context, unsigned id) {
|
||||
Type *ResultTy = NULL;
|
||||
std::vector<Type*> ArgTys;
|
||||
SmallVector<Type*, 8> ArgTys;
|
||||
bool IsVarArg = false;
|
||||
|
||||
#define GET_INTRINSIC_GENERATOR
|
||||
|
|
|
@ -92,7 +92,7 @@ bool MBlazeIntrinsicInfo::isOverloaded(unsigned IntrID) const {
|
|||
|
||||
static FunctionType *getType(LLVMContext &Context, unsigned id) {
|
||||
Type *ResultTy = NULL;
|
||||
std::vector<Type*> ArgTys;
|
||||
SmallVector<Type*, 8> ArgTys;
|
||||
bool IsVarArg = false;
|
||||
|
||||
#define GET_INTRINSIC_GENERATOR
|
||||
|
|
|
@ -359,7 +359,7 @@ std::string Intrinsic::getName(ID id, ArrayRef<Type*> Tys) {
|
|||
FunctionType *Intrinsic::getType(LLVMContext &Context,
|
||||
ID id, ArrayRef<Type*> Tys) {
|
||||
Type *ResultTy = NULL;
|
||||
std::vector<Type*> ArgTys;
|
||||
SmallVector<Type*, 8> ArgTys;
|
||||
bool IsVarArg = false;
|
||||
|
||||
#define GET_INTRINSIC_GENERATOR
|
||||
|
|
Loading…
Reference in New Issue