mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
[gardening] Fix recently introduced typo: "a executable" → "an executable"
[gardening] Fix recently introduced typo: "a offset" → "an offset" [gardening] Fix recently introduced typo: "accessiblity" → "accessibility" [gardening] Fix recently introduced typo: "cant" → "can't" [gardening] Fix recently introduced typo: "inteference" → "interference" [gardening] Fix recently introduced typo: "unsatified" → "unsatisfied" [gardening] Remove accidental space.
This commit is contained in:
@@ -234,7 +234,7 @@ static bool canTerminatorUseValue(TermInst *TI, SILValue Ptr,
|
||||
}
|
||||
|
||||
|
||||
bool swift::mayHaveSymmetricInteference(SILInstruction *User, SILValue Ptr, AliasAnalysis *AA) {
|
||||
bool swift::mayHaveSymmetricInterference(SILInstruction *User, SILValue Ptr, AliasAnalysis *AA) {
|
||||
// Check whether releasing this value can call deinit and interfere with User.
|
||||
if (AA->mayValueReleaseInterfereWithInstruction(User, Ptr))
|
||||
return true;
|
||||
@@ -340,7 +340,7 @@ valueHasARCUsesInInstructionRange(SILValue Op,
|
||||
// Otherwise, until Start != End.
|
||||
while (Start != End) {
|
||||
// Check if Start can use Op in an ARC relevant way. If so, return true.
|
||||
if (mayHaveSymmetricInteference(&*Start, Op, AA))
|
||||
if (mayHaveSymmetricInterference(&*Start, Op, AA))
|
||||
return Start;
|
||||
|
||||
// Otherwise, increment our iterator.
|
||||
@@ -371,7 +371,7 @@ swift::valueHasARCUsesInReverseInstructionRange(SILValue Op,
|
||||
// Otherwise, until End == Start.
|
||||
while (Start != End) {
|
||||
// Check if Start can use Op in an ARC relevant way. If so, return true.
|
||||
if (mayHaveSymmetricInteference(&*End, Op, AA))
|
||||
if (mayHaveSymmetricInterference(&*End, Op, AA))
|
||||
return End;
|
||||
|
||||
// Otherwise, decrement our iterator.
|
||||
|
||||
Reference in New Issue
Block a user