From ce206000d3e825a1fb5ac1fa1edcdb0a4b18fe3f Mon Sep 17 00:00:00 2001 From: Francois Pichet Date: Tue, 12 Jul 2011 22:04:11 +0000 Subject: [PATCH] Remove the const from Type after of Jay deconstify work. llvm-svn: 135000 --- llvm/examples/BrainF/BrainF.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llvm/examples/BrainF/BrainF.cpp b/llvm/examples/BrainF/BrainF.cpp index 54f35535b57d..264afa281315 100644 --- a/llvm/examples/BrainF/BrainF.cpp +++ b/llvm/examples/BrainF/BrainF.cpp @@ -55,7 +55,7 @@ void BrainF::header(LLVMContext& C) { //Function prototypes //declare void @llvm.memset.p0i8.i32(i8 *, i8, i32, i32, i1) - const Type *Tys[] = { Type::getInt8PtrTy(C), Type::getInt32Ty(C) }; + Type *Tys[] = { Type::getInt8PtrTy(C), Type::getInt32Ty(C) }; Function *memset_func = Intrinsic::getDeclaration(module, Intrinsic::memset, Tys, 2);