Skip to content

Commit

Permalink
Add TryApplyInst to SILInstruction::mayRelease().
Browse files Browse the repository at this point in the history
  • Loading branch information
rudkx committed Nov 7, 2015
1 parent 0feba76 commit 1394af3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/SIL/SILInstruction.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -743,6 +743,7 @@ bool SILInstruction::mayRelease() const {
llvm_unreachable("Unhandled releasing instruction!");

case ValueKind::ApplyInst:
case ValueKind::TryApplyInst:
case ValueKind::DestroyAddrInst:
case ValueKind::StrongReleaseInst:
case ValueKind::UnownedReleaseInst:
Expand Down

0 comments on commit 1394af3

Please sign in to comment.