File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -217,7 +217,7 @@ void TBDGenVisitor::visitClassDecl(ClassDecl *CD) {
217
217
visitNominalTypeDecl (CD);
218
218
219
219
// The below symbols are only emitted if the class is resilient.
220
- if (!CD->isResilient (SwiftModule, ResilienceExpansion::Minimal ))
220
+ if (!CD->isResilient ())
221
221
return ;
222
222
223
223
addSymbol (LinkEntity::forClassMetadataBaseOffset (CD));
@@ -271,7 +271,7 @@ void TBDGenVisitor::visitProtocolDecl(ProtocolDecl *PD) {
271
271
if (!PD->isObjC ()) {
272
272
addSymbol (LinkEntity::forProtocolDescriptor (PD));
273
273
274
- if (PD->isResilient (SwiftModule, ResilienceExpansion::Minimal )) {
274
+ if (PD->isResilient ()) {
275
275
for (auto *member : PD->getMembers ()) {
276
276
if (auto *funcDecl = dyn_cast<FuncDecl>(member)) {
277
277
addDispatchThunk (SILDeclRef (funcDecl));
@@ -300,7 +300,7 @@ void TBDGenVisitor::visitProtocolDecl(ProtocolDecl *PD) {
300
300
}
301
301
302
302
void TBDGenVisitor::visitEnumDecl (EnumDecl *ED) {
303
- if (!ED->isResilient (SwiftModule, ResilienceExpansion::Minimal ))
303
+ if (!ED->isResilient ())
304
304
return ;
305
305
306
306
// Emit resilient tags.
You can’t perform that action at this time.
0 commit comments