Skip to content

Commit 6a6d3c2

Browse files
committed
fmt
1 parent 9eb88bb commit 6a6d3c2

File tree

1 file changed

+6
-11
lines changed
  • compiler/rustc_codegen_ssa/src/mir

1 file changed

+6
-11
lines changed

compiler/rustc_codegen_ssa/src/mir/block.rs

Lines changed: 6 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1421,25 +1421,20 @@ impl<'a, 'tcx, Bx: BuilderMethods<'a, 'tcx>> FunctionCx<'a, 'tcx, Bx> {
14211421
false,
14221422
mergeable_succ(),
14231423
),
1424-
mir::TerminatorKind::TailCall { ref func, ref args, fn_span } => {
1425-
let destination = mir::Place::from(mir::RETURN_PLACE);
1426-
let target = None;
1427-
let unwind = mir::UnwindAction::Unreachable;
1428-
1429-
self.codegen_call_terminator(
1424+
mir::TerminatorKind::TailCall { ref func, ref args, fn_span } => self
1425+
.codegen_call_terminator(
14301426
helper,
14311427
bx,
14321428
terminator,
14331429
func,
14341430
args,
1435-
destination,
1436-
target,
1437-
unwind,
1431+
mir::Place::from(mir::RETURN_PLACE),
1432+
None,
1433+
mir::UnwindAction::Unreachable,
14381434
fn_span,
14391435
true,
14401436
mergeable_succ(),
1441-
)
1442-
}
1437+
),
14431438
mir::TerminatorKind::CoroutineDrop | mir::TerminatorKind::Yield { .. } => {
14441439
bug!("coroutine ops in codegen")
14451440
}

0 commit comments

Comments
 (0)