about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/builder.rs
diff options
context:
space:
mode:
authorTshepang Mbambo <hopsi@tuta.io>2025-06-26 06:36:49 +0200
committerGitHub <noreply@github.com>2025-06-26 06:36:49 +0200
commitfe2fd8a2d3fce02b07c7a15072812d86092dcbaf (patch)
treeab8fc713b93940db4b05f29280f5af4ebd8a73e2 /compiler/rustc_codegen_llvm/src/builder.rs
parent6ad42bf4e7ab81ec3d66a5e47dfe01dc51603c0b (diff)
parentfdf44db88020c7dad46647aaa81ec05a295e96f2 (diff)
downloadrust-fe2fd8a2d3fce02b07c7a15072812d86092dcbaf.tar.gz
rust-fe2fd8a2d3fce02b07c7a15072812d86092dcbaf.zip
Merge pull request #2479 from rust-lang/rustc-pull
Rustc pull update
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/builder.rs')
-rw-r--r--compiler/rustc_codegen_llvm/src/builder.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/compiler/rustc_codegen_llvm/src/builder.rs b/compiler/rustc_codegen_llvm/src/builder.rs
index 5e9594dd06b..d0aa7320b4b 100644
--- a/compiler/rustc_codegen_llvm/src/builder.rs
+++ b/compiler/rustc_codegen_llvm/src/builder.rs
@@ -1166,11 +1166,10 @@ impl<'a, 'll, 'tcx> BuilderMethods<'a, 'tcx> for Builder<'a, 'll, 'tcx> {
         (self.extract_value(landing_pad, 0), self.extract_value(landing_pad, 1))
     }
 
-    fn filter_landing_pad(&mut self, pers_fn: &'ll Value) -> (&'ll Value, &'ll Value) {
+    fn filter_landing_pad(&mut self, pers_fn: &'ll Value) {
         let ty = self.type_struct(&[self.type_ptr(), self.type_i32()], false);
         let landing_pad = self.landing_pad(ty, pers_fn, 1);
         self.add_clause(landing_pad, self.const_array(self.type_ptr(), &[]));
-        (self.extract_value(landing_pad, 0), self.extract_value(landing_pad, 1))
     }
 
     fn resume(&mut self, exn0: &'ll Value, exn1: &'ll Value) {