forked from OSchip/llvm-project
parent
e5802234f9
commit
ccc50d7cf4
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue