Cope with DataLayout::getIntPtrType() change on mainline.

Swift SVN r3073
This commit is contained in:
Doug Gregor
2012-10-28 03:30:24 +00:00
parent 57a4f497f6
commit b10920d65d

View File

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