Change %swift.refcounted to correctly model HeapObject as of r5873.

Swift SVN r5958
This commit is contained in:
John McCall
2013-07-01 23:29:15 +00:00
parent 90263437e4
commit 65342ac19a
2 changed files with 2 additions and 2 deletions

View File

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