@@ -489,7 +489,7 @@ impl<'a, 'tcx, Bx: BuilderMethods<'a, 'tcx>> FunctionCx<'a, 'tcx, Bx> {
489489 }
490490 } ;
491491
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) ;
493493
494494 // Codegen the actual panic invoke/call.
495495 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> {
505505 self . set_debug_loc ( & mut bx, terminator. source_info ) ;
506506
507507 // 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 ) ;
509509
510510 // Codegen the actual panic invoke/call.
511511 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> {
567567
568568 // Obtain the panic entry point.
569569 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 ) ;
571571
572572 // Codegen the actual panic invoke/call.
573573 helper. do_call (
@@ -1429,7 +1429,7 @@ impl<'a, 'tcx, Bx: BuilderMethods<'a, 'tcx>> FunctionCx<'a, 'tcx, Bx> {
14291429 let llretty = self . landing_pad_type ( ) ;
14301430 bx. cleanup_landing_pad ( llretty, llpersonality) ;
14311431
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 ) ;
14331433 let fn_ty = bx. fn_decl_backend_type ( & fn_abi) ;
14341434
14351435 let llret = bx. call ( fn_ty, fn_ptr, & [ ] , None ) ;
0 commit comments