Skip to content

Commit 55b5612

Browse files
committed
don't end lifetimes after call
1 parent 3fac279 commit 55b5612

File tree

1 file changed

+0
-4
lines changed
  • compiler/rustc_codegen_ssa/src/mir

1 file changed

+0
-4
lines changed

compiler/rustc_codegen_ssa/src/mir/block.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -224,10 +224,6 @@ impl<'a, 'tcx> TerminatorCodegenHelper<'tcx> {
224224

225225
if tail {
226226
bx.tail_call(fn_ty, fn_attrs, fn_abi, fn_ptr, llargs, self.funclet(fx), instance);
227-
for &(tmp, size) in lifetime_ends_after_call {
228-
bx.lifetime_end(tmp, size);
229-
}
230-
231227
return MergingSucc::False;
232228
}
233229

0 commit comments

Comments
 (0)