aboutsummaryrefslogtreecommitdiffstats
path: root/examples/BrainF
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@boostpro.com>2011-07-11 22:39:46 +0000
committerJohn Wiegley <johnw@boostpro.com>2011-07-11 22:39:46 +0000
commitd1c2bd8e6e37e08393f7c4980efc5bcb66b6f0d0 (patch)
treec9b9212bb443efd83766c5bad686d549c6685932 /examples/BrainF
parentbf843e6974007a9a125453a61a2c4a64ee3a6186 (diff)
downloadexternal_llvm-d1c2bd8e6e37e08393f7c4980efc5bcb66b6f0d0.zip
external_llvm-d1c2bd8e6e37e08393f7c4980efc5bcb66b6f0d0.tar.gz
external_llvm-d1c2bd8e6e37e08393f7c4980efc5bcb66b6f0d0.tar.bz2
fix some examples
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@134933 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);