Skip to content

Commit c8d17e6

Browse files
committed
rustc_codegen_ssa: bug on tail calls
1 parent 14ec2fc commit c8d17e6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

compiler/rustc_codegen_ssa/src/mir/analyze.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -285,6 +285,7 @@ pub fn cleanup_kinds(mir: &mir::Body<'_>) -> IndexVec<mir::BasicBlock, CleanupKi
285285
| TerminatorKind::SwitchInt { .. }
286286
| TerminatorKind::Yield { .. }
287287
| TerminatorKind::FalseEdge { .. }
288+
| TerminatorKind::TailCall { .. }
288289
| TerminatorKind::FalseUnwind { .. } => { /* nothing to do */ }
289290
TerminatorKind::Call { unwind, .. }
290291
| TerminatorKind::InlineAsm { unwind, .. }

0 commit comments

Comments
 (0)