Skip to content

Commit d2e5fa7

Browse files
committed
Tweaked comment.
Matched the comment on the definition of NonLocalAccessBlocks::compute() to that on the declaration.
1 parent 5938a67 commit d2e5fa7

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

include/swift/SILOptimizer/Utils/CanonicalOSSALifetime.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ class CanonicalizeOSSALifetime {
190190
bool pruneDebug;
191191

192192
NonLocalAccessBlockAnalysis *accessBlockAnalysis;
193-
// Lazilly initialize accessBlocks only when
193+
// Lazily initialize accessBlocks only when
194194
// extendLivenessThroughOverlappingAccess is invoked.
195195
NonLocalAccessBlocks *accessBlocks = nullptr;
196196

lib/SILOptimizer/Analysis/NonLocalAccessBlockAnalysis.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@
1515

1616
using namespace swift;
1717

18-
// Populate this->accessBlocks with
18+
// Populate this->accessBlocks with all blocks containing a non-local
19+
// end_access.
1920
void NonLocalAccessBlocks::compute() {
2021
for (SILBasicBlock &block : *this->function) {
2122
for (SILInstruction &inst : block) {

0 commit comments

Comments
 (0)