mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
SIL: Introduce ThrowAddrInst
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user