mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
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:
@@ -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>();
|
||||
|
||||
Reference in New Issue
Block a user