fix some examples

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@134933 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
John Wiegley
2011-07-11 22:39:46 +00:00
parent bf843e6974
commit d1c2bd8e6e
6 changed files with 11 additions and 11 deletions
+1 -1
View File
@@ -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);