projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4e47aad
)
Fix the BrainF build.
author
Francois Pichet
<pichet2000@gmail.com>
Tue, 12 Jul 2011 08:43:36 +0000
(08:43 +0000)
committer
Francois Pichet
<pichet2000@gmail.com>
Tue, 12 Jul 2011 08:43:36 +0000
(08:43 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@134975
91177308
-0d34-0410-b5e6-
96231b3b80d8
examples/BrainF/BrainF.cpp
patch
|
blob
|
history
diff --git
a/examples/BrainF/BrainF.cpp
b/examples/BrainF/BrainF.cpp
index 264afa281315659d386cc37b21db3e0bcfbe7871..54f35535b57d60b2e08cccfd753b262b89ec4ab5 100644
(file)
--- 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)
- 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);