@@ -489,7 +489,7 @@ impl<'a, 'tcx, Bx: BuilderMethods<'a, 'tcx>> FunctionCx<'a, 'tcx, Bx> {
489
489
}
490
490
} ;
491
491
492
- let ( fn_abi, llfn) = common:: build_langcall ( & bx, Some ( span) , "" , lang_item) ;
492
+ let ( fn_abi, llfn) = common:: build_langcall ( & bx, Some ( span) , lang_item) ;
493
493
494
494
// Codegen the actual panic invoke/call.
495
495
helper. do_call ( self , & mut bx, fn_abi, llfn, & args, None , cleanup) ;
@@ -505,7 +505,7 @@ impl<'a, 'tcx, Bx: BuilderMethods<'a, 'tcx>> FunctionCx<'a, 'tcx, Bx> {
505
505
self . set_debug_loc ( & mut bx, terminator. source_info ) ;
506
506
507
507
// Obtain the panic entry point.
508
- let ( fn_abi, llfn) = common:: build_langcall ( & bx, Some ( span) , "" , LangItem :: PanicNoUnwind ) ;
508
+ let ( fn_abi, llfn) = common:: build_langcall ( & bx, Some ( span) , LangItem :: PanicNoUnwind ) ;
509
509
510
510
// Codegen the actual panic invoke/call.
511
511
helper. do_call ( self , & mut bx, fn_abi, llfn, & [ ] , None , None ) ;
@@ -567,7 +567,7 @@ impl<'a, 'tcx, Bx: BuilderMethods<'a, 'tcx>> FunctionCx<'a, 'tcx, Bx> {
567
567
568
568
// Obtain the panic entry point.
569
569
let ( fn_abi, llfn) =
570
- common:: build_langcall ( bx, Some ( source_info. span ) , "" , LangItem :: Panic ) ;
570
+ common:: build_langcall ( bx, Some ( source_info. span ) , LangItem :: Panic ) ;
571
571
572
572
// Codegen the actual panic invoke/call.
573
573
helper. do_call (
@@ -1429,7 +1429,7 @@ impl<'a, 'tcx, Bx: BuilderMethods<'a, 'tcx>> FunctionCx<'a, 'tcx, Bx> {
1429
1429
let llretty = self . landing_pad_type ( ) ;
1430
1430
bx. cleanup_landing_pad ( llretty, llpersonality) ;
1431
1431
1432
- let ( fn_abi, fn_ptr) = common:: build_langcall ( & bx, None , "" , LangItem :: PanicNoUnwind ) ;
1432
+ let ( fn_abi, fn_ptr) = common:: build_langcall ( & bx, None , LangItem :: PanicNoUnwind ) ;
1433
1433
let fn_ty = bx. fn_decl_backend_type ( & fn_abi) ;
1434
1434
1435
1435
let llret = bx. call ( fn_ty, fn_ptr, & [ ] , None ) ;
0 commit comments