Skip to content

Commit a70aa13

Browse files
committed
[Gardening] Tweaked comment.
Fixed reference to renamed function argument.
1 parent 874e4e4 commit a70aa13

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/SILOptimizer/Transforms/SILMem2Reg.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ static bool isLoadFromStack(SILInstruction *i, AllocStackInst *asi) {
236236
return true;
237237
}
238238

239-
/// Collects all load instructions which (transitively) use \p I as address.
239+
/// Collects all load instructions which (transitively) use \p i as address.
240240
static void collectLoads(SILInstruction *i,
241241
SmallVectorImpl<SILInstruction *> &foundLoads) {
242242
if (isa<LoadInst>(i) || isa<LoadBorrowInst>(i)) {

0 commit comments

Comments
 (0)