mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Change %swift.refcounted to correctly model HeapObject as of r5873.
Swift SVN r5958
This commit is contained in:
@@ -133,7 +133,7 @@ IRGenModule::IRGenModule(ASTContext &Context,
|
||||
});
|
||||
FullHeapMetadataPtrTy = FullHeapMetadataStructTy->getPointerTo(DefaultAS);
|
||||
|
||||
llvm::Type *refCountedElts[] = { TypeMetadataPtrTy, SizeTy };
|
||||
llvm::Type *refCountedElts[] = { TypeMetadataPtrTy, Int32Ty, Int32Ty };
|
||||
RefCountedStructTy->setBody(refCountedElts);
|
||||
|
||||
PtrSize = Size(DataLayout.getPointerSize(DefaultAS));
|
||||
|
||||
Reference in New Issue
Block a user