De-constify Types in FunctionType::get().
[oota-llvm.git] / lib / Target / Blackfin / BlackfinIntrinsicInfo.cpp
index 34a8d3809ea23c0648738e3ae868c651aa4b0a72..ae8ee9e2a1a26a349517eab4782b4cc090a3781f 100644 (file)
@@ -83,7 +83,7 @@ bool BlackfinIntrinsicInfo::isOverloaded(unsigned IntrID) const {
 
 static const FunctionType *getType(LLVMContext &Context, unsigned id) {
   const Type *ResultTy = NULL;
-  std::vector<const Type*> ArgTys;
+  std::vector<Type*> ArgTys;
   bool IsVarArg = false;
   
 #define GET_INTRINSIC_GENERATOR