Use landingpad filter
to encode aborting landing pad
This commit is contained in:
parent
6933be588e
commit
77375ab814
@ -1227,6 +1227,10 @@ fn cleanup_landing_pad(&mut self, _pers_fn: RValue<'gcc>) -> (RValue<'gcc>, RVal
|
|||||||
(value1, value2)
|
(value1, value2)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
fn filter_landing_pad(&mut self, pers_fn: RValue<'gcc>) -> (RValue<'gcc>, RValue<'gcc>) {
|
||||||
|
self.cleanup_landing_pad(pers_fn)
|
||||||
|
}
|
||||||
|
|
||||||
#[cfg(feature="master")]
|
#[cfg(feature="master")]
|
||||||
fn resume(&mut self, exn0: RValue<'gcc>, _exn1: RValue<'gcc>) {
|
fn resume(&mut self, exn0: RValue<'gcc>, _exn1: RValue<'gcc>) {
|
||||||
let exn_type = exn0.get_type();
|
let exn_type = exn0.get_type();
|
||||||
|
Loading…
Reference in New Issue
Block a user