File tree Expand file tree Collapse file tree 1 file changed +1
-4
lines changed Expand file tree Collapse file tree 1 file changed +1
-4
lines changed Original file line number Diff line number Diff line change @@ -1459,8 +1459,6 @@ void SILGenModule::emitConstructor(ConstructorDecl *decl) {
1459
1459
SILDeclRef constant (decl);
1460
1460
DeclContext *declCtx = decl->getDeclContext ();
1461
1461
1462
- bool ForCoverageMapping = doesASTRequireProfiling (M, decl);
1463
-
1464
1462
if (declCtx->getSelfClassDecl ()) {
1465
1463
// Designated initializers for classes, as well as @objc convenience
1466
1464
// initializers, have have separate entry points for allocation and
@@ -1470,8 +1468,7 @@ void SILGenModule::emitConstructor(ConstructorDecl *decl) {
1470
1468
1471
1469
if (decl->hasBody ()) {
1472
1470
SILDeclRef initConstant (decl, SILDeclRef::Kind::Initializer);
1473
- emitOrDelayFunction (*this , initConstant,
1474
- /* forceEmission=*/ ForCoverageMapping);
1471
+ emitOrDelayFunction (*this , initConstant);
1475
1472
}
1476
1473
1477
1474
return ;
You can’t perform that action at this time.
0 commit comments