SIL: Introduce ThrowAddrInst

This commit is contained in:
Slava Pestov
2023-10-30 22:53:34 -04:00
parent a8d43c7fcb
commit 05ccd9734c
29 changed files with 165 additions and 31 deletions

View File

@@ -384,9 +384,9 @@ void DCE::markTerminatorArgsLive(SILBasicBlock *Pred,
switch (Term->getTermKind()) {
case TermKind::ReturnInst:
case TermKind::ThrowInst:
case TermKind::ThrowAddrInst:
case TermKind::UnwindInst:
case TermKind::YieldInst:
case TermKind::UnreachableInst:
case TermKind::SwitchValueInst:
case TermKind::SwitchEnumAddrInst:
@@ -490,6 +490,7 @@ void DCE::propagateLiveness(SILInstruction *I) {
case TermKind::BranchInst:
case TermKind::UnreachableInst:
case TermKind::UnwindInst:
case TermKind::ThrowAddrInst:
return;
case TermKind::ReturnInst: