mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Cope with DataLayout::getIntPtrType() change on mainline.
Swift SVN r3073
This commit is contained in:
@@ -49,7 +49,7 @@ IRGenModule::IRGenModule(ASTContext &Context,
|
||||
Int64Ty = llvm::Type::getInt64Ty(getLLVMContext());
|
||||
Int8PtrTy = llvm::Type::getInt8PtrTy(getLLVMContext());
|
||||
Int8PtrPtrTy = Int8PtrTy->getPointerTo(0);
|
||||
SizeTy = DataLayout.getIntPtrType(getLLVMContext());
|
||||
SizeTy = DataLayout.getIntPtrType(getLLVMContext(), /*addrspace*/ 0);
|
||||
MemCpyFn = nullptr;
|
||||
AllocObjectFn = nullptr;
|
||||
RetainNoResultFn = nullptr;
|
||||
|
||||
Reference in New Issue
Block a user