Skip to content

Commit 07de5cb

Browse files
committed
[STASH]
1 parent 647a93e commit 07de5cb

2 files changed

Lines changed: 2 additions & 4 deletions

File tree

src/base.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff 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
);

src/debuginfo/unwind.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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),

0 commit comments

Comments
 (0)