Skip to content

Commit cdb646d

Browse files
committed
SwiftCompilerSources: add ScopedInstruction.endInstructions.
Add endInstructions requirement so it can be called on an unknown ScopedInstruction.
1 parent 801c192 commit cdb646d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

SwiftCompilerSources/Sources/SIL/Instruction.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1219,6 +1219,8 @@ final public class AllocExistentialBoxInst : SingleValueInstruction, Allocation
12191219
/// `end_borrow`).
12201220
public protocol ScopedInstruction {
12211221
var endOperands: LazyFilterSequence<UseList> { get }
1222+
1223+
var endInstructions: EndInstructions { get }
12221224
}
12231225

12241226
extension Instruction {

0 commit comments

Comments
 (0)