mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Check for stubs in NeedsNewVTableEntryRequest
This lets us remove `setNeedsNewVTableEntry`.
This commit is contained in:
@@ -702,8 +702,6 @@ createDesignatedInitOverride(ClassDecl *classDecl,
|
||||
// Note that this is a stub implementation.
|
||||
ctor->setStubImplementation(true);
|
||||
|
||||
// Stub constructors don't appear in the vtable.
|
||||
ctor->setNeedsNewVTableEntry(false);
|
||||
return ctor;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user