Skip to content

Commit e5e8fc8

Browse files
committed
cleanup
1 parent 5de7345 commit e5e8fc8

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

compiler/rustc_codegen_gcc/src/builder.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1756,7 +1756,6 @@ impl<'a, 'gcc, 'tcx> BuilderMethods<'a, 'tcx> for Builder<'a, 'gcc, 'tcx> {
17561756
}
17571757

17581758
fn set_tail_call(&mut self, _call_inst: RValue<'gcc>) {
1759-
// Explicitly fail when this method is called
17601759
bug!(
17611760
"Guaranteed tail calls with the 'become' keyword are not implemented in the GCC backend"
17621761
);

compiler/rustc_codegen_llvm/src/builder.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1373,7 +1373,6 @@ impl<'a, 'll, 'tcx> BuilderMethods<'a, 'tcx> for Builder<'a, 'll, 'tcx> {
13731373
}
13741374

13751375
fn set_tail_call(&mut self, call_inst: &'ll Value) {
1376-
// Use musttail for guaranteed tail call optimization required by 'become'
13771376
llvm::LLVMRustSetTailCallKind(call_inst, llvm::TailCallKind::MustTail);
13781377
}
13791378
}

0 commit comments

Comments
 (0)