diff options
| author | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2025-06-29 00:00:58 +0200 |
|---|---|---|
| committer | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2025-06-29 00:00:58 +0200 |
| commit | a420d39afb992093bd0105aecfa033a640115c0a (patch) | |
| tree | b264ed73f923d16c04972818099f1c964b7355e0 /compiler/rustc_codegen_gcc | |
| parent | 13d0ef30c9acf216d3c666a868639d0d84f257a8 (diff) | |
| download | rust-a420d39afb992093bd0105aecfa033a640115c0a.tar.gz rust-a420d39afb992093bd0105aecfa033a640115c0a.zip | |
Fix signature of `filter_landing_pad`
Diffstat (limited to 'compiler/rustc_codegen_gcc')
| -rw-r--r-- | compiler/rustc_codegen_gcc/src/builder.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/rustc_codegen_gcc/src/builder.rs b/compiler/rustc_codegen_gcc/src/builder.rs index 805f68cd74c..7f16d804103 100644 --- a/compiler/rustc_codegen_gcc/src/builder.rs +++ b/compiler/rustc_codegen_gcc/src/builder.rs @@ -1608,9 +1608,9 @@ impl<'a, 'gcc, 'tcx> BuilderMethods<'a, 'tcx> for Builder<'a, 'gcc, 'tcx> { (value1, value2) } - fn filter_landing_pad(&mut self, pers_fn: Function<'gcc>) -> (RValue<'gcc>, RValue<'gcc>) { + fn filter_landing_pad(&mut self, pers_fn: Function<'gcc>) -> () { // TODO(antoyo): generate the correct landing pad - self.cleanup_landing_pad(pers_fn) + self.cleanup_landing_pad(pers_fn); } #[cfg(feature = "master")] |
