mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Compensate for a trunk LLVM change.
Swift SVN r2983
This commit is contained in:
@@ -88,7 +88,7 @@ IRGenModule::IRGenModule(ASTContext &Context,
|
||||
llvm::Type *refCountedElts[] = { HeapMetadataPtrTy, SizeTy };
|
||||
RefCountedStructTy->setBody(refCountedElts);
|
||||
|
||||
PtrSize = Size(DataLayout.getPointerSize());
|
||||
PtrSize = Size(DataLayout.getPointerSize(0));
|
||||
|
||||
llvm::Type *funcElts[] = { Int8PtrTy, RefCountedPtrTy };
|
||||
FunctionPairTy = llvm::StructType::get(LLVMContext, funcElts,
|
||||
|
||||
Reference in New Issue
Block a user