[Serialization] Remove (de-)serialization of Substitution.

We are no longer serializing Substitution (or SubstitutionList) anywhere, so
remove the code associated with it.
This commit is contained in:
Doug Gregor
2018-05-03 13:40:52 -07:00
parent caad325a54
commit ba391b6b47
8 changed files with 3 additions and 96 deletions

View File

@@ -55,7 +55,7 @@ const uint16_t VERSION_MAJOR = 0;
/// 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.
/// Don't worry about adhering to the 80-column limit for this line.
const uint16_t VERSION_MINOR = 415; // Last change: SIL apply substitutions
const uint16_t VERSION_MINOR = 416; // Last change: remove substitutions
using DeclIDField = BCFixed<31>;
@@ -752,13 +752,6 @@ namespace decls_block {
BCArray<TypeIDField> // generic arguments
>;
using BoundGenericSubstitutionLayout = BCRecordLayout<
BOUND_GENERIC_SUBSTITUTION,
TypeIDField, // replacement
BCVBR<5>
// Trailed by protocol conformance info (if any)
>;
using GenericFunctionTypeLayout = BCRecordLayout<
GENERIC_FUNCTION_TYPE,
TypeIDField, // input