summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrancois Pichet <pichet2000@gmail.com>2011-07-12 22:04:11 +0000
committerFrancois Pichet <pichet2000@gmail.com>2011-07-12 22:04:11 +0000
commitce206000d3e825a1fb5ac1fa1edcdb0a4b18fe3f (patch)
tree17b93df6cd713340e61775b0f5a09c6b9ca86e05
parentc2800aab7b0afd38d7d15d3ec12ea32eacd93b2c (diff)
downloadbcm5719-llvm-ce206000d3e825a1fb5ac1fa1edcdb0a4b18fe3f.tar.gz
bcm5719-llvm-ce206000d3e825a1fb5ac1fa1edcdb0a4b18fe3f.zip
Remove the const from Type after of Jay deconstify work.
llvm-svn: 135000
-rw-r--r--llvm/examples/BrainF/BrainF.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/examples/BrainF/BrainF.cpp b/llvm/examples/BrainF/BrainF.cpp
index 54f35535b57..264afa28131 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);
OpenPOWER on IntegriCloud