mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
SwiftCompilerSources: add StoreBorrowInst and BorrowIntroducingInstruction
`BorrowIntroducingInstruction` is a protocol to which all instructions conform which start a borrow-scope which must be ended by `EndBorrowInst` instructions: `begin_borrow`, `load_borrow` and `store_borrow`
This commit is contained in:
@@ -41,6 +41,7 @@ public func registerSILClasses() {
|
||||
register(StoreInst.self)
|
||||
register(StoreWeakInst.self)
|
||||
register(StoreUnownedInst.self)
|
||||
register(StoreBorrowInst.self)
|
||||
register(AssignInst.self)
|
||||
register(CopyAddrInst.self)
|
||||
register(EndAccessInst.self)
|
||||
|
||||
Reference in New Issue
Block a user