Skip to content

Commit e2b1a5a

Browse files
committed
yet another FIXME
1 parent a9311d4 commit e2b1a5a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/librustc_codegen_ssa/mir/block.rs

+1
Original file line numberDiff line numberDiff line change
@@ -579,6 +579,7 @@ impl<'a, 'tcx, Bx: BuilderMethods<'a, 'tcx>> FunctionCx<'a, 'tcx, Bx> {
579579
let location = self.get_caller_location(&mut bx, span).immediate();
580580

581581
// Obtain the panic entry point.
582+
// FIXME: dedup this with `codegen_assert_terminator` above.
582583
let def_id =
583584
common::langcall(bx.tcx(), Some(span), "", lang_items::PanicFnLangItem);
584585
let instance = ty::Instance::mono(bx.tcx(), def_id);

0 commit comments

Comments
 (0)