We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
codegen_instance_attrs
1 parent 46ce2bf commit dd7c7d0Copy full SHA for dd7c7d0
src/abi/mod.rs
@@ -467,7 +467,7 @@ pub(crate) fn codegen_terminator_call<'tcx>(
467
true
468
} else {
469
instance.is_some_and(|inst| {
470
- fx.tcx.codegen_fn_attrs(inst.def_id()).flags.contains(CodegenFnAttrFlags::COLD)
+ fx.tcx.codegen_instance_attrs(inst.def).flags.contains(CodegenFnAttrFlags::COLD)
471
})
472
};
473
if is_cold {
0 commit comments