File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1133,12 +1133,10 @@ pub(crate) fn codegen_unwind_terminate<'tcx>(
11331133 source_info : mir:: SourceInfo ,
11341134 reason : UnwindTerminateReason ,
11351135) {
1136- let args = [ ] ;
1137-
11381136 codegen_panic_inner (
11391137 fx,
11401138 reason. lang_item ( ) ,
1141- & args ,
1139+ & [ ] ,
11421140 UnwindAction :: Terminate ( UnwindTerminateReason :: Abi ) ,
11431141 Some ( source_info. span ) ,
11441142 ) ;
Original file line number Diff line number Diff line change @@ -159,7 +159,7 @@ impl UnwindContext {
159159 action_entry : None ,
160160 } ) ;
161161 }
162- for & ( tag, landingpad) in & call_site. exception_handlers {
162+ for & ( tag, landingpad) in call_site. exception_handlers {
163163 match tag. expand ( ) . unwrap ( ) . as_u32 ( ) {
164164 0 => gcc_except_table_data. call_sites . 0 . push ( CallSite {
165165 start : u64:: from ( call_site. ret_addr - 1 ) ,
You can’t perform that action at this time.
0 commit comments