Skip to content
This repository was archived by the owner on May 28, 2025. It is now read-only.

Commit 2fec530

Browse files
Mark drop calls in landing pads cold instead of noinline
Now that deferred inlining has been disabled in LLVM, this shouldn't cause catastrophic size blowup.
1 parent c5d0023 commit 2fec530

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/builder.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1404,7 +1404,7 @@ impl<'a, 'gcc, 'tcx> BuilderMethods<'a, 'tcx> for Builder<'a, 'gcc, 'tcx> {
14041404
self.cx
14051405
}
14061406

1407-
fn do_not_inline(&mut self, _llret: RValue<'gcc>) {
1407+
fn mark_callsite_cold(&mut self, _llret: RValue<'gcc>) {
14081408
unimplemented!();
14091409
}
14101410

0 commit comments

Comments
 (0)