AST: Nuke GenericParamList::AllArchetypes

Now that SILFunctions no longer reference a GenericParamList, we
don't need to de-serialize cross-module references to archetypes
anymore.

This was the last remaining usage of AllArchetypes, so we can
finally rip it out.
This commit is contained in:
Slava Pestov
2016-08-20 05:10:24 -07:00
parent 58ceb472fa
commit 4bfaa47890
12 changed files with 10 additions and 403 deletions

View File

@@ -53,7 +53,7 @@ const uint16_t VERSION_MAJOR = 0;
/// in source control, you should also update the comment to briefly
/// describe what change you made. The content of this comment isn't important;
/// it just ensures a conflict if two people change the module format.
const uint16_t VERSION_MINOR = 263; // Last change: remove SILFunction::ContextGenericParams
const uint16_t VERSION_MINOR = 264; // Last change: remove AllArchetypes
using DeclID = PointerEmbeddedInt<unsigned, 31>;
using DeclIDField = BCFixed<31>;
@@ -1082,8 +1082,7 @@ namespace decls_block {
>;
using GenericParamListLayout = BCRecordLayout<
GENERIC_PARAM_LIST,
BCArray<TypeIDField> // Archetypes
GENERIC_PARAM_LIST
// The actual parameters and requirements trail the record.
>;