Skip to content

Commit 14a6b40

Browse files
Merge pull request #64985 from adrian-prantl/remove-comments
Delete commented-out code. NFC
2 parents b9ea06d + e3445a8 commit 14a6b40

File tree

3 files changed

+1
-7
lines changed

3 files changed

+1
-7
lines changed

lib/SILGen/SILGenEpilog.cpp

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -319,11 +319,6 @@ emitEpilog(SILLocation TopLevel, bool UsesCustomEpilog) {
319319
// Return () if no return value was given.
320320
if (!returnValue)
321321
returnValue = emitEmptyTuple(CleanupLocation(TopLevel));
322-
//{
323-
// RegularLocation loc(returnLoc);
324-
// loc.pointToEnd();
325-
// returnValue = emitEmptyTuple(loc);
326-
//}
327322

328323
B.createReturn(returnLoc, returnValue);
329324
}

lib/SILGen/SILGenExpr.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1055,7 +1055,6 @@ SILValue SILGenFunction::emitTemporaryAllocation(SILLocation loc, SILType ty,
10551055
bool hasDynamicLifetime,
10561056
bool isLexical,
10571057
bool generateDebugInfo) {
1058-
//loc.markAutoGenerated();
10591058
ty = ty.getObjectType();
10601059
Optional<SILDebugVariable> DbgVar;
10611060
if (generateDebugInfo)

lib/SILGen/SILGenFunction.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ const SILDebugScope *SILGenFunction::getScopeOrNull(SILLocation Loc) {
196196
Loc.isAutoGenerated())
197197
return nullptr;
198198

199-
SourceLoc SLoc = Loc.getSourceLoc();//ForDebugging();
199+
SourceLoc SLoc = Loc.getSourceLoc();
200200
if (!SF || LastSourceLoc == SLoc)
201201
return nullptr;
202202
return getOrCreateScope(SLoc);

0 commit comments

Comments
 (0)