Serialize SILBoxTypes using their layout.

This commit is contained in:
Joe Groff
2016-12-08 12:30:42 -08:00
parent 91f6c8b0f4
commit 0308ecf89f
8 changed files with 355 additions and 14 deletions

View File

@@ -539,6 +539,10 @@ bool ModuleFile::readIndexBlock(llvm::BitstreamCursor &cursor) {
assert(blobData.empty());
NormalConformances.assign(scratch.begin(), scratch.end());
break;
case index_block::SIL_LAYOUT_OFFSETS:
assert(blobData.empty());
SILLayouts.assign(scratch.begin(), scratch.end());
break;
default:
// Unknown index kind, which this version of the compiler won't use.