mirror of
https://github.com/RPCS3/llvm.git
synced 2025-01-22 10:16:43 +00:00
Remove the const from Type after of Jay deconstify work.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@135000 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
a1f17f8395
commit
e8b323aed4
@ -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);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user