Skip to content

Commit a420d39

Browse files
Fix signature of filter_landing_pad
1 parent 13d0ef3 commit a420d39

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

compiler/rustc_codegen_gcc/src/builder.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1608,9 +1608,9 @@ impl<'a, 'gcc, 'tcx> BuilderMethods<'a, 'tcx> for Builder<'a, 'gcc, 'tcx> {
16081608
(value1, value2)
16091609
}
16101610

1611-
fn filter_landing_pad(&mut self, pers_fn: Function<'gcc>) -> (RValue<'gcc>, RValue<'gcc>) {
1611+
fn filter_landing_pad(&mut self, pers_fn: Function<'gcc>) -> () {
16121612
// TODO(antoyo): generate the correct landing pad
1613-
self.cleanup_landing_pad(pers_fn)
1613+
self.cleanup_landing_pad(pers_fn);
16141614
}
16151615

16161616
#[cfg(feature = "master")]

0 commit comments

Comments
 (0)