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

@@ -2754,6 +2754,7 @@ bool AllocOptimize::tryToRemoveDeadAllocation() {
LLVM_FALLTHROUGH;
case TermKind::ReturnInst:
case TermKind::ThrowInst:
case TermKind::ThrowAddrInst:
case TermKind::UnwindInst:
case TermKind::YieldInst: {
// These terminators can never be non-consuming uses of an owned