Skip to content

Commit 77375ab

Browse files
committed
Use landingpad filter to encode aborting landing pad
1 parent 6933be5 commit 77375ab

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/builder.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1227,6 +1227,10 @@ impl<'a, 'gcc, 'tcx> BuilderMethods<'a, 'tcx> for Builder<'a, 'gcc, 'tcx> {
12271227
(value1, value2)
12281228
}
12291229

1230+
fn filter_landing_pad(&mut self, pers_fn: RValue<'gcc>) -> (RValue<'gcc>, RValue<'gcc>) {
1231+
self.cleanup_landing_pad(pers_fn)
1232+
}
1233+
12301234
#[cfg(feature="master")]
12311235
fn resume(&mut self, exn0: RValue<'gcc>, _exn1: RValue<'gcc>) {
12321236
let exn_type = exn0.get_type();

0 commit comments

Comments
 (0)