Fix the weird capitalization of MetaTypeType.

Swift SVN r11475
This commit is contained in:
Joe Groff
2013-12-19 18:43:08 +00:00
parent 73875c77e0
commit 017440165e
63 changed files with 269 additions and 269 deletions

View File

@@ -1540,11 +1540,11 @@ void Serializer::writeType(Type ty) {
break;
}
case TypeKind::MetaType: {
auto metatypeTy = cast<MetaTypeType>(ty.getPointer());
case TypeKind::Metatype: {
auto metatypeTy = cast<MetatypeType>(ty.getPointer());
unsigned abbrCode = DeclTypeAbbrCodes[MetaTypeTypeLayout::Code];
MetaTypeTypeLayout::emitRecord(Out, ScratchRecord, abbrCode,
unsigned abbrCode = DeclTypeAbbrCodes[MetatypeTypeLayout::Code];
MetatypeTypeLayout::emitRecord(Out, ScratchRecord, abbrCode,
addTypeRef(metatypeTy->getInstanceType()));
break;
}
@@ -1851,7 +1851,7 @@ void Serializer::writeAllDeclsAndTypes() {
registerDeclTypeAbbr<TupleTypeLayout>();
registerDeclTypeAbbr<TupleTypeEltLayout>();
registerDeclTypeAbbr<FunctionTypeLayout>();
registerDeclTypeAbbr<MetaTypeTypeLayout>();
registerDeclTypeAbbr<MetatypeTypeLayout>();
registerDeclTypeAbbr<LValueTypeLayout>();
registerDeclTypeAbbr<ArchetypeTypeLayout>();
registerDeclTypeAbbr<ArchetypeNestedTypeNamesLayout>();