Skip to content

Commit 91ab790

Browse files
committed
Auto merge of #102099 - InnovativeInventor:re-cold-land, r=nikic
Rebased: Mark drop calls in landing pads cold instead of noinline I noticed that certain inlining optimizations were missing while staring at some compiled code output. I'd like to see this relanded, so I rebased the PR from `@erikdesjardins` (PR #94823). This PR reapplies rust-lang/rust#92419, which was reverted in rust-lang/rust#94402 due to rust-lang/rust#94390. Fixes rust-lang/rust#46515, fixes rust-lang/rust#87055. Update: fixes #97217.
2 parents c7407ef + 7e8c85b commit 91ab790

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/builder.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1420,7 +1420,7 @@ impl<'a, 'gcc, 'tcx> BuilderMethods<'a, 'tcx> for Builder<'a, 'gcc, 'tcx> {
14201420
self.cx
14211421
}
14221422

1423-
fn do_not_inline(&mut self, _llret: RValue<'gcc>) {
1423+
fn apply_attrs_to_cleanup_callsite(&mut self, _llret: RValue<'gcc>) {
14241424
// FIXME(bjorn3): implement
14251425
}
14261426

0 commit comments

Comments
 (0)