mirror of
https://github.com/apple/swift.git
synced 2026-02-27 18:26:24 +01:00
Make sure an `end_borrow` is emitted on the `dereference_borrow` so that SILGenCleanup recognizes this pattern and lowers it to a `return_borrow` as it does for returned `load_borrow`s. Add support to the Swift implementation of `BorrowingInstruction` for `DereferenceBorrow`.