Skip to content

Commit f8db66b

Browse files
Remove dead instructions in terminate blocks
1 parent 1aabebc commit f8db66b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/builder.rs

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

1594-
fn filter_landing_pad(&mut self, pers_fn: RValue<'gcc>) -> (RValue<'gcc>, RValue<'gcc>) {
1594+
fn filter_landing_pad(&mut self, pers_fn: RValue<'gcc>) {
15951595
// TODO(antoyo): generate the correct landing pad
1596-
self.cleanup_landing_pad(pers_fn)
1596+
self.cleanup_landing_pad(pers_fn);
15971597
}
15981598

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

0 commit comments

Comments
 (0)