File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
lib/SILOptimizer/LoopTransforms Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -938,7 +938,7 @@ stripValueProjections(SILValue V,
938
938
// / If we found a make_mutable call this means that check_subscript was removed
939
939
// / by the array bounds check elimination pass.
940
940
static SILInstruction *
941
- findPreceedingCheckSubscriptOrMakeMutable (ApplyInst *GetElementAddr) {
941
+ findPrecedingCheckSubscriptOrMakeMutable (ApplyInst *GetElementAddr) {
942
942
for (auto ReverseIt =
943
943
SILBasicBlock::reverse_iterator (GetElementAddr->getIterator ()),
944
944
End = GetElementAddr->getParent ()->rend ();
@@ -1131,7 +1131,7 @@ struct HoistableMakeMutable {
1131
1131
// strong_release %120
1132
1132
//
1133
1133
// Find the check_subscript call.
1134
- auto *Check = findPreceedingCheckSubscriptOrMakeMutable (GetElementAddrCall);
1134
+ auto *Check = findPrecedingCheckSubscriptOrMakeMutable (GetElementAddrCall);
1135
1135
if (!Check)
1136
1136
return false ;
1137
1137
You can’t perform that action at this time.
0 commit comments