Skip to content

Commit 75b351e

Browse files
committed
[Gardening] Updated comment.
1 parent 5e8f369 commit 75b351e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/SILOptimizer/SemanticARC/BorrowScopeOpts.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,8 @@ bool SemanticARCOptVisitor::visitBeginBorrowInst(BeginBorrowInst *bbi) {
4747
if (!ctx.shouldPerform(ARCTransformKind::RedundantBorrowScopeElimPeephole))
4848
return false;
4949

50-
// Lexical borrow scopes must remain in order to ensure that value lifetimes
51-
// are not observably shortened.
50+
// Non-redundant, lexical borrow scopes must remain in order to ensure that
51+
// value lifetimes are not observably shortened.
5252
if (bbi->isLexical() && !isRedundantLexicalBeginBorrow(bbi)) {
5353
return false;
5454
}

0 commit comments

Comments
 (0)