mirror of
https://github.com/apple/swift.git
synced 2026-06-20 15:42:51 +02:00
b11e8c985a
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`.