Apply review feedback
This commit is contained in:
parent
04f24b7c69
commit
9f3679fe44
2 changed files with 2 additions and 2 deletions
|
@ -237,7 +237,7 @@ static mut TYPE_DESCRIPTOR: _TypeDescriptor = _TypeDescriptor {
|
||||||
macro_rules! define_cleanup {
|
macro_rules! define_cleanup {
|
||||||
($abi:tt) => {
|
($abi:tt) => {
|
||||||
unsafe extern $abi fn exception_cleanup(e: *mut Exception) {
|
unsafe extern $abi fn exception_cleanup(e: *mut Exception) {
|
||||||
if let Some(b) = e.read().data {
|
if let Exception { data: Some(b) } = e.read() {
|
||||||
drop(b);
|
drop(b);
|
||||||
super::__rust_drop_panic();
|
super::__rust_drop_panic();
|
||||||
}
|
}
|
||||||
|
|
|
@ -1024,7 +1024,7 @@ fn codegen_gnu_try(
|
||||||
// Codegens the shims described above:
|
// Codegens the shims described above:
|
||||||
//
|
//
|
||||||
// bx:
|
// bx:
|
||||||
// invoke %func(%data) normal %normal unwind %catch
|
// invoke %try_func(%data) normal %normal unwind %catch
|
||||||
//
|
//
|
||||||
// normal:
|
// normal:
|
||||||
// ret 0
|
// ret 0
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue