Reapply: Mark drop calls in landing pads cold instead of noinline

Co-authored-by: Max Fan <git@max.fan>
Co-authored-by: Nikita Popov <npopov@redhat.com>
This commit is contained in:
Erik Desjardins
2022-03-10 17:10:36 -05:00
committed by Nikita Popov
parent 15783292e5
commit 31ee8b1818
7 changed files with 85 additions and 12 deletions

View File

@@ -332,5 +332,5 @@ pub trait BuilderMethods<'a, 'tcx>:
) -> Self::Value;
fn zext(&mut self, val: Self::Value, dest_ty: Self::Type) -> Self::Value;
fn do_not_inline(&mut self, llret: Self::Value);
fn apply_attrs_to_cleanup_callsite(&mut self, llret: Self::Value);
}