IRGen: Don't reify internal vtable entries that are marked overridden.

Private and internal classes shouldn't have ABI constraints on their concrete vtable layout, so if methods
don't have overrides in practice, we can elide their vtable entries.
This commit is contained in:
Joe Groff
2020-06-11 15:12:18 -07:00
parent db9cf4cd80
commit 04c8f0df42
17 changed files with 221 additions and 55 deletions

View File

@@ -55,7 +55,7 @@ const uint16_t SWIFTMODULE_VERSION_MAJOR = 0;
/// 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.
/// Don't worry about adhering to the 80-column limit for this line.
const uint16_t SWIFTMODULE_VERSION_MINOR = 559; // Serialization of -implicit-dynamic
const uint16_t SWIFTMODULE_VERSION_MINOR = 560; // SILVTable flag for non-overridden entries
/// A standard hash seed used for all string hashes in a serialized module.
///