File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed
SwiftCompilerSources/Sources/SIL Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -689,21 +689,26 @@ public class TermInst : Instruction {
689
689
final public var successors : SuccessorArray {
690
690
SuccessorArray ( succArray: TermInst_getSuccessors ( bridged) )
691
691
}
692
+
693
+ public var isFunctionExiting : Bool { false }
692
694
}
693
695
694
696
final public class UnreachableInst : TermInst {
695
697
}
696
698
697
699
final public class ReturnInst : TermInst , UnaryInstruction {
700
+ public override var isFunctionExiting : Bool { true }
698
701
}
699
702
700
703
final public class ThrowInst : TermInst , UnaryInstruction {
704
+ public override var isFunctionExiting : Bool { true }
701
705
}
702
706
703
707
final public class YieldInst : TermInst {
704
708
}
705
709
706
710
final public class UnwindInst : TermInst {
711
+ public override var isFunctionExiting : Bool { true }
707
712
}
708
713
709
714
final public class TryApplyInst : TermInst , FullApplySite {
You can’t perform that action at this time.
0 commit comments