Check for stubs in NeedsNewVTableEntryRequest

This lets us remove `setNeedsNewVTableEntry`.
This commit is contained in:
Hamish Knight
2019-10-03 10:06:48 -07:00
parent c1a1ddd458
commit 3f66608cb5
3 changed files with 4 additions and 7 deletions

View File

@@ -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;
}