File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -1473,10 +1473,9 @@ static void emitLocalSelfMetadata(IRGenSILFunction &IGF) {
1473
1473
void IRGenModule::emitSILFunction (SILFunction *f) {
1474
1474
if (f->isExternalDeclaration ())
1475
1475
return ;
1476
+
1476
1477
// Do not emit bodies of public_external functions.
1477
- // The only exception is transparent functions.
1478
- if (hasPublicVisibility (f->getLinkage ()) && f->isAvailableExternally () &&
1479
- !f->isTransparent ())
1478
+ if (hasPublicVisibility (f->getLinkage ()) && f->isAvailableExternally ())
1480
1479
return ;
1481
1480
1482
1481
PrettyStackTraceSILFunction stackTrace (" emitting IR" , f);
@@ -5097,7 +5096,6 @@ void IRGenSILFunction::visitDestroyAddrInst(swift::DestroyAddrInst *i) {
5097
5096
SILType addrTy = i->getOperand ()->getType ();
5098
5097
const TypeInfo &addrTI = getTypeInfo (addrTy);
5099
5098
5100
- // Otherwise, do the normal thing.
5101
5099
Address base = getLoweredAddress (i->getOperand ());
5102
5100
addrTI.destroy (*this , base, addrTy, false /* isOutlined*/ );
5103
5101
}
You can’t perform that action at this time.
0 commit comments