mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
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:
@@ -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.
|
||||
>;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user