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

@@ -5457,6 +5457,12 @@ bool SILParser::parseSpecificSILInstruction(SILBuilder &B,
ResultVal = B.createThrow(InstLoc, Val);
break;
}
case SILInstructionKind::ThrowAddrInst: {
if (parseSILDebugLocation(InstLoc, B))
return true;
ResultVal = B.createThrowAddr(InstLoc);
break;
}
case SILInstructionKind::UnwindInst: {
if (parseSILDebugLocation(InstLoc, B))
return true;