Compensate for a trunk LLVM change.

Swift SVN r2983
This commit is contained in:
John McCall
2012-10-11 20:14:08 +00:00
parent eaae8b50d1
commit e298448e7d

View File

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