From d2c6ff1ac6d78a9dcf89c78098b1cc75204d1229 Mon Sep 17 00:00:00 2001 From: Benjamin Kramer Date: Mon, 17 Oct 2011 21:33:26 +0000 Subject: [PATCH] Use a SmallVector for intrinsic argument types. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@142259 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Target/Blackfin/BlackfinIntrinsicInfo.cpp | 2 +- lib/Target/MBlaze/MBlazeIntrinsicInfo.cpp | 2 +- lib/VMCore/Function.cpp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/Target/Blackfin/BlackfinIntrinsicInfo.cpp b/lib/Target/Blackfin/BlackfinIntrinsicInfo.cpp index 71356768dd5..9120e15f9f8 100644 --- a/lib/Target/Blackfin/BlackfinIntrinsicInfo.cpp +++ b/lib/Target/Blackfin/BlackfinIntrinsicInfo.cpp @@ -83,7 +83,7 @@ bool BlackfinIntrinsicInfo::isOverloaded(unsigned IntrID) const { static FunctionType *getType(LLVMContext &Context, unsigned id) { Type *ResultTy = NULL; - std::vector ArgTys; + SmallVector ArgTys; bool IsVarArg = false; #define GET_INTRINSIC_GENERATOR diff --git a/lib/Target/MBlaze/MBlazeIntrinsicInfo.cpp b/lib/Target/MBlaze/MBlazeIntrinsicInfo.cpp index ea81dd63d19..4c78deb8fd6 100644 --- a/lib/Target/MBlaze/MBlazeIntrinsicInfo.cpp +++ b/lib/Target/MBlaze/MBlazeIntrinsicInfo.cpp @@ -92,7 +92,7 @@ bool MBlazeIntrinsicInfo::isOverloaded(unsigned IntrID) const { static FunctionType *getType(LLVMContext &Context, unsigned id) { Type *ResultTy = NULL; - std::vector ArgTys; + SmallVector ArgTys; bool IsVarArg = false; #define GET_INTRINSIC_GENERATOR diff --git a/lib/VMCore/Function.cpp b/lib/VMCore/Function.cpp index a6128b0cad7..be0f0567044 100644 --- a/lib/VMCore/Function.cpp +++ b/lib/VMCore/Function.cpp @@ -359,7 +359,7 @@ std::string Intrinsic::getName(ID id, ArrayRef Tys) { FunctionType *Intrinsic::getType(LLVMContext &Context, ID id, ArrayRef Tys) { Type *ResultTy = NULL; - std::vector ArgTys; + SmallVector ArgTys; bool IsVarArg = false; #define GET_INTRINSIC_GENERATOR -- 2.34.1