Revert "Introduce a "@box T" type for SIL."

This reverts commit r29474 because it looks like it is breaking the
build of the SpriteKit overlay.

Swift SVN r29482
This commit is contained in:
Mark Lacey
2015-06-18 06:28:04 +00:00
parent f56ca1ed68
commit 39087cd36b
25 changed files with 4 additions and 168 deletions

View File

@@ -2872,15 +2872,6 @@ void Serializer::writeType(Type ty) {
break;
}
case TypeKind::SILBox: {
auto boxTy = cast<SILBoxType>(ty.getPointer());
unsigned abbrCode = DeclTypeAbbrCodes[SILBoxTypeLayout::Code];
SILBoxTypeLayout::emitRecord(Out, ScratchRecord, abbrCode,
addTypeRef(boxTy->getBoxedType()));
break;
}
case TypeKind::SILFunction: {
auto fnTy = cast<SILFunctionType>(ty.getPointer());
@@ -3128,7 +3119,6 @@ void Serializer::writeAllDeclsAndTypes() {
registerDeclTypeAbbr<PolymorphicFunctionTypeLayout>();
registerDeclTypeAbbr<GenericFunctionTypeLayout>();
registerDeclTypeAbbr<SILBlockStorageTypeLayout>();
registerDeclTypeAbbr<SILBoxTypeLayout>();
registerDeclTypeAbbr<SILFunctionTypeLayout>();
registerDeclTypeAbbr<ArraySliceTypeLayout>();
registerDeclTypeAbbr<DictionaryTypeLayout>();