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