diff options
| author | bors <bors@rust-lang.org> | 2023-10-02 22:02:12 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2023-10-02 22:02:12 +0000 |
| commit | 91ab7909e1cc0b6bd9f5cdf5efb163f34cdf953d (patch) | |
| tree | 5561fb056b7ac180401d5c58120ed39f1a1f2a1a | |
| parent | c7407eff9d7e3bd073a5551a7fd44555ae746342 (diff) | |
| parent | 7e8c85ba318ceec1aff977f49f262aa1b553295f (diff) | |
| download | rust-91ab7909e1cc0b6bd9f5cdf5efb163f34cdf953d.tar.gz rust-91ab7909e1cc0b6bd9f5cdf5efb163f34cdf953d.zip | |
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 https://github.com/rust-lang/rust/pull/92419, which was reverted in https://github.com/rust-lang/rust/pull/94402 due to https://github.com/rust-lang/rust/issues/94390. Fixes https://github.com/rust-lang/rust/issues/46515, fixes https://github.com/rust-lang/rust/issues/87055. Update: fixes #97217.
| -rw-r--r-- | src/builder.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/builder.rs b/src/builder.rs index 308cb04cac3..ecc293aee23 100644 --- a/src/builder.rs +++ b/src/builder.rs @@ -1420,7 +1420,7 @@ impl<'a, 'gcc, 'tcx> BuilderMethods<'a, 'tcx> for Builder<'a, 'gcc, 'tcx> { self.cx } - fn do_not_inline(&mut self, _llret: RValue<'gcc>) { + fn apply_attrs_to_cleanup_callsite(&mut self, _llret: RValue<'gcc>) { // FIXME(bjorn3): implement } |
