mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Make serialization/deserialization compile with layout constraints
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 = 306; // Last change: SILArgument+Ownership
|
||||
const uint16_t VERSION_MINOR = 307; // Last change: layout requirements
|
||||
|
||||
using DeclID = PointerEmbeddedInt<unsigned, 31>;
|
||||
using DeclIDField = BCFixed<31>;
|
||||
@@ -248,6 +248,7 @@ enum GenericRequirementKind : uint8_t {
|
||||
Conformance = 0,
|
||||
SameType = 1,
|
||||
Superclass = 2,
|
||||
Layout = 3,
|
||||
};
|
||||
using GenericRequirementKindField = BCFixed<2>;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user