[ConstraintSystem] Record holes in the constraint system using a new flag in

`TypeVariableOptions` rather than using a separate data structure in the
constraint system.
This commit is contained in:
Holly Borla
2019-11-11 14:41:54 -08:00
parent ea1a46c84d
commit c0312b9c0e
10 changed files with 65 additions and 72 deletions

View File

@@ -347,12 +347,10 @@ protected:
NumProtocols : 16
);
SWIFT_INLINE_BITFIELD_FULL(TypeVariableType, TypeBase, 4+32,
: NumPadBits,
SWIFT_INLINE_BITFIELD_FULL(TypeVariableType, TypeBase, 5+32,
/// Type variable options.
Options : 4,
Options : 5,
: NumPadBits,
/// The unique number assigned to this type variable.
ID : 32
);