Mark blocks that call cold funs as cold (#1021)
This commit is contained in:
parent
bb4cc18cf2
commit
acbfa06ea2
2 changed files with 12 additions and 2 deletions
|
|
@ -300,6 +300,7 @@ fn codegen_fn_content(fx: &mut FunctionCx<'_, '_, impl Backend>) {
|
|||
fx.tcx.sess.time("codegen call", || crate::abi::codegen_terminator_call(
|
||||
fx,
|
||||
bb_data.terminator().source_info.span,
|
||||
block,
|
||||
func,
|
||||
args,
|
||||
*destination,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue