aboutsummaryrefslogtreecommitdiffstats
path: root/examples/BrainF
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
commite8b323aed4654548ea124811ce051d6b59061e74 (patch)
treee4b2364308c5e782e6f2625d6841e3e66b19eaea /examples/BrainF
parenta1f17f83959123f1f599bf81f08dcdb3c3601114 (diff)
downloadexternal_llvm-e8b323aed4654548ea124811ce051d6b59061e74.zip
external_llvm-e8b323aed4654548ea124811ce051d6b59061e74.tar.gz
external_llvm-e8b323aed4654548ea124811ce051d6b59061e74.tar.bz2
Remove the const from Type after of Jay deconstify work.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@135000 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'examples/BrainF')
-rw-r--r--examples/BrainF/BrainF.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/BrainF/BrainF.cpp b/examples/BrainF/BrainF.cpp
index 54f3553..264afa2 100644
--- a/examples/BrainF/BrainF.cpp
+++ b/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);