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:
Erik Eckstein
2023-11-27 15:21:17 +01:00
parent 52eab434d8
commit e4d227a5fb
2 changed files with 9 additions and 3 deletions

View File

@@ -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)