mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
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:
@@ -595,7 +595,7 @@ public:
|
||||
bool deserializeLazily=true);
|
||||
|
||||
/// Look up the VTable mapped to the given ClassDecl. Returns null on failure.
|
||||
SILVTable *lookUpVTable(const ClassDecl *C);
|
||||
SILVTable *lookUpVTable(const ClassDecl *C, bool deserializeLazily = true);
|
||||
|
||||
/// Attempt to lookup the function corresponding to \p Member in the class
|
||||
/// hierarchy of \p Class.
|
||||
|
||||
Reference in New Issue
Block a user