Skip to content

Commit 0c6759e

Browse files
author
Chris Williams
committed
Correct misspelling of method and references.
1 parent 80564dc commit 0c6759e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/SILOptimizer/LoopTransforms/COWArrayOpt.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -938,7 +938,7 @@ stripValueProjections(SILValue V,
938938
/// If we found a make_mutable call this means that check_subscript was removed
939939
/// by the array bounds check elimination pass.
940940
static SILInstruction *
941-
findPreceedingCheckSubscriptOrMakeMutable(ApplyInst *GetElementAddr) {
941+
findPrecedingCheckSubscriptOrMakeMutable(ApplyInst *GetElementAddr) {
942942
for (auto ReverseIt =
943943
SILBasicBlock::reverse_iterator(GetElementAddr->getIterator()),
944944
End = GetElementAddr->getParent()->rend();
@@ -1131,7 +1131,7 @@ struct HoistableMakeMutable {
11311131
// strong_release %120
11321132
//
11331133
// Find the check_subscript call.
1134-
auto *Check = findPreceedingCheckSubscriptOrMakeMutable(GetElementAddrCall);
1134+
auto *Check = findPrecedingCheckSubscriptOrMakeMutable(GetElementAddrCall);
11351135
if (!Check)
11361136
return false;
11371137

0 commit comments

Comments
 (0)