Skip to content

Commit 1394af3

Browse files
author
Mark Lacey
committed
Add TryApplyInst to SILInstruction::mayRelease().
1 parent 0feba76 commit 1394af3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/SIL/SILInstruction.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -743,6 +743,7 @@ bool SILInstruction::mayRelease() const {
743743
llvm_unreachable("Unhandled releasing instruction!");
744744

745745
case ValueKind::ApplyInst:
746+
case ValueKind::TryApplyInst:
746747
case ValueKind::DestroyAddrInst:
747748
case ValueKind::StrongReleaseInst:
748749
case ValueKind::UnownedReleaseInst:

0 commit comments

Comments
 (0)