Eliminate the list of protocols from ExtensionDecl. NFC

Swift SVN r31349
This commit is contained in:
Doug Gregor
2015-08-19 21:33:52 +00:00
parent 83cb1e69bb
commit ee7803a87a
7 changed files with 32 additions and 76 deletions

View File

@@ -51,7 +51,7 @@ const uint16_t VERSION_MAJOR = 0;
/// To ensure that two separate changes don't silently get merged into one
/// in source control, you should also update the comment to briefly
/// describe what change you made.
const uint16_t VERSION_MINOR = 215; // Last change: nominal inherited lists
const uint16_t VERSION_MINOR = 216; // Last change: extension protocols
using DeclID = Fixnum<31>;
using DeclIDField = BCFixed<31>;
@@ -971,8 +971,8 @@ namespace decls_block {
TypeIDField, // base type
DeclContextIDField, // context decl
BCFixed<1>, // implicit flag
BCVBR<4>, // # of protocols
BCArray<DeclIDField> // protocols and inherited types
BCVBR<4>, // # of protocol conformances
BCArray<TypeIDField> // inherited types
// Trailed by the generic parameter lists, members record, and then
// conformance info (if any).
>;