diff options
author | Francois Pichet <pichet2000@gmail.com> | 2011-07-12 08:43:36 +0000 |
---|---|---|
committer | Francois Pichet <pichet2000@gmail.com> | 2011-07-12 08:43:36 +0000 |
commit | ccc50d7cf49bc9af543129849851932d2485d129 (patch) | |
tree | a9b0e66621673eed5c30c25c3af44d600eb26109 /llvm/examples | |
parent | e5802234f9340a49bcdf7854f7e80d2977c8f558 (diff) | |
download | bcm5719-llvm-ccc50d7cf49bc9af543129849851932d2485d129.tar.gz bcm5719-llvm-ccc50d7cf49bc9af543129849851932d2485d129.zip |
Fix the BrainF build.
llvm-svn: 134975
Diffstat (limited to 'llvm/examples')
-rw-r--r-- | llvm/examples/BrainF/BrainF.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/examples/BrainF/BrainF.cpp b/llvm/examples/BrainF/BrainF.cpp index 264afa28131..54f35535b57 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) - Type *Tys[] = { Type::getInt8PtrTy(C), Type::getInt32Ty(C) }; + const Type *Tys[] = { Type::getInt8PtrTy(C), Type::getInt32Ty(C) }; Function *memset_func = Intrinsic::getDeclaration(module, Intrinsic::memset, Tys, 2); |