diff options
| author | Erik Desjardins <erikdesjardins@users.noreply.github.com> | 2021-12-29 15:28:31 -0500 |
|---|---|---|
| committer | Erik Desjardins <erikdesjardins@users.noreply.github.com> | 2021-12-29 15:47:49 -0500 |
| commit | 2b662217e745d88d93dcc6f5f5169bf7a0d9720e (patch) | |
| tree | 0e471ecb5e4a57ae2f5f3aa70fdfe5895cf99e91 /compiler/rustc_codegen_gcc | |
| parent | 7ae550842635dce84811198446fe87e830de500b (diff) | |
| download | rust-2b662217e745d88d93dcc6f5f5169bf7a0d9720e.tar.gz rust-2b662217e745d88d93dcc6f5f5169bf7a0d9720e.zip | |
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.
Diffstat (limited to 'compiler/rustc_codegen_gcc')
| -rw-r--r-- | compiler/rustc_codegen_gcc/src/builder.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_codegen_gcc/src/builder.rs b/compiler/rustc_codegen_gcc/src/builder.rs index fff2aa6df7c..997213d43e8 100644 --- a/compiler/rustc_codegen_gcc/src/builder.rs +++ b/compiler/rustc_codegen_gcc/src/builder.rs @@ -1404,7 +1404,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 mark_callsite_cold(&mut self, _llret: RValue<'gcc>) { unimplemented!(); } |
