Skip to content

Commit 5c5a10e

Browse files
committed
yet another FIXME
1 parent 076f27a commit 5c5a10e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/librustc_codegen_ssa/mir/block.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -576,6 +576,7 @@ impl<'a, 'tcx, Bx: BuilderMethods<'a, 'tcx>> FunctionCx<'a, 'tcx, Bx> {
576576
let location = self.get_caller_location(&mut bx, span).immediate();
577577

578578
// Obtain the panic entry point.
579+
// FIXME: dedup this with `codegen_assert_terminator` above.
579580
let def_id =
580581
common::langcall(bx.tcx(), Some(span), "", lang_items::PanicFnLangItem);
581582
let instance = ty::Instance::mono(bx.tcx(), def_id);

0 commit comments

Comments
 (0)