Skip to content

Commit c1adf24

Browse files
committed
[MemAccessUtils] Returned visitor's return.
1 parent 79dcb57 commit c1adf24

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

lib/SIL/Utils/MemAccessUtils.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2025,8 +2025,7 @@ bool GatherUniqueStorageUses::visitUse(Operand *use, AccessUseType useTy) {
20252025
case SILInstructionKind::StoreWeakInst:
20262026
case SILInstructionKind::StoreUnownedInst:
20272027
if (operIdx == CopyLikeInstruction::Dest) {
2028-
visitor.visitStore(use);
2029-
return true;
2028+
return visitor.visitStore(use);
20302029
}
20312030
break;
20322031

0 commit comments

Comments
 (0)