diff options
Diffstat (limited to 'llvm/lib/VMCore/Core.cpp')
| -rw-r--r-- | llvm/lib/VMCore/Core.cpp | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/llvm/lib/VMCore/Core.cpp b/llvm/lib/VMCore/Core.cpp index d9ced94134a..15d27233f22 100644 --- a/llvm/lib/VMCore/Core.cpp +++ b/llvm/lib/VMCore/Core.cpp @@ -260,7 +260,7 @@ LLVMTypeRef LLVMX86MMXType(void) {  LLVMTypeRef LLVMFunctionType(LLVMTypeRef ReturnType,                               LLVMTypeRef *ParamTypes, unsigned ParamCount,                               LLVMBool IsVarArg) { -  std::vector<const Type*> Tys; +  std::vector<Type*> Tys;    for (LLVMTypeRef *I = ParamTypes, *E = ParamTypes + ParamCount; I != E; ++I)      Tys.push_back(unwrap(*I)); @@ -290,7 +290,7 @@ void LLVMGetParamTypes(LLVMTypeRef FunctionTy, LLVMTypeRef *Dest) {  LLVMTypeRef LLVMStructTypeInContext(LLVMContextRef C, LLVMTypeRef *ElementTypes,                             unsigned ElementCount, LLVMBool Packed) { -  std::vector<const Type*> Tys; +  std::vector<Type*> Tys;    for (LLVMTypeRef *I = ElementTypes,                     *E = ElementTypes + ElementCount; I != E; ++I)      Tys.push_back(unwrap(*I)); | 

