[serialization] Rename SILGenericOuterParamDeclID to SILGenericOuterParams.

Also, add the record to the block info for the SIL block, so that it can be
inspected by llvm-bcanalyzer.

Swift SVN r14417
This commit is contained in:
Jordan Rose
2014-02-26 22:15:56 +00:00
parent b9cd3c1163
commit b6fa8a00bd
5 changed files with 13 additions and 11 deletions

View File

@@ -326,11 +326,11 @@ maybeReadGenericDeclContext(ModuleFile *MF, llvm::BitstreamCursor &Cursor) {
return MF->getAssociatedModule();
unsigned kind = Cursor.readRecord(next.ID, scratch);
if (kind != SIL_GENERIC_OUTER_PARAM_DECL_ID)
if (kind != SIL_GENERIC_OUTER_PARAMS)
return MF->getAssociatedModule();
uint64_t declID;
SILGenericOuterParamDeclIDLayout::readRecord(scratch, declID);
SILGenericOuterParamsLayout::readRecord(scratch, declID);
return MF->getDeclContext((DeclID)declID);
}