1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2025-01-31 20:51:52 +01:00

Remove the const from Type after of Jay deconstify work.

llvm-svn: 135000
This commit is contained in:
Francois Pichet 2011-07-12 22:04:11 +00:00
parent dec02ef53a
commit fdb8193f76

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);