[Serialization] Remove serialization for 'isa' patterns.

Refutable patterns are never serialized, and there was no
corresponding deserialization code besides. NFC
This commit is contained in:
Doug Gregor
2016-12-09 13:53:58 -08:00
parent d4fca2cc8b
commit 380bc68512
3 changed files with 3 additions and 18 deletions

View File

@@ -54,7 +54,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 = 295; // Last change: pattern binding interface types
const uint16_t VERSION_MINOR = 296; // Last change: remove isa pattern
using DeclID = PointerEmbeddedInt<unsigned, 31>;
using DeclIDField = BCFixed<31>;
@@ -1052,12 +1052,6 @@ namespace decls_block {
// The sub-pattern trails the record.
>;
using IsPatternLayout = BCRecordLayout<
ISA_PATTERN,
TypeIDField, // type
BCFixed<1> // implicit?
>;
using VarPatternLayout = BCRecordLayout<
VAR_PATTERN,
BCFixed<1>, // isLet?