[serialization] Serialize a table of all class members, by name.

This will be used for id-style lookup.

Swift SVN r7286
This commit is contained in:
Jordan Rose
2013-08-16 20:22:07 +00:00
parent 26c1181502
commit cf6bb91b20
5 changed files with 112 additions and 57 deletions

View File

@@ -2105,6 +2105,9 @@ bool ModuleFile::readIndexBlock(llvm::BitstreamCursor &cursor) {
case index_block::EXTENSIONS:
ExtensionDecls = readDeclTable(scratch, blobData);
break;
case index_block::CLASS_MEMBERS:
ClassMembersByName = readDeclTable(scratch, blobData);
break;
default:
// Unknown index kind, which this version of the compiler won't use.
break;