mirror of
https://github.com/apple/swift.git
synced 2025-12-25 12:15:36 +01:00
Previously, visitTransitiveEndBorrows took BorrowedValues. However, there is at least one kind of borrow--namely, unchecked_ownership_conversion insts--that is not currently permitted by the BorrowedValue API. The long term fix is to make BorrowedValue handle such instructions. For now, change visitTransitiveEndBorrows to take SILValues so that unchecked_ownership_conversion can be passed to the API. rdar://87985420
27 KiB
27 KiB