diff options
| author | Jay Foad <jay.foad@gmail.com> | 2011-07-11 07:56:41 +0000 |
|---|---|---|
| committer | Jay Foad <jay.foad@gmail.com> | 2011-07-11 07:56:41 +0000 |
| commit | 56cc1530eee144241e2987c4241cd8a31e07fb24 (patch) | |
| tree | b8cbcd15bd69d86d77eda140629758a1d1f72970 /llvm/lib/VMCore/Core.cpp | |
| parent | dbb221de11ae99badd786b819cc7cdda2e9930ea (diff) | |
| download | bcm5719-llvm-56cc1530eee144241e2987c4241cd8a31e07fb24.tar.gz bcm5719-llvm-56cc1530eee144241e2987c4241cd8a31e07fb24.zip | |
De-constify Types in FunctionType::get().
llvm-svn: 134888
Diffstat (limited to 'llvm/lib/VMCore/Core.cpp')
| -rw-r--r-- | llvm/lib/VMCore/Core.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/VMCore/Core.cpp b/llvm/lib/VMCore/Core.cpp index d9ced94134a..07caefa1ec4 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)); |

