Reuse determine_cgu_reuse from cg_ssa in cg_clif

This commit is contained in:
bjorn3 2023-09-16 14:36:23 +00:00
parent 317783ad2c
commit 6b9ee90c2c
2 changed files with 2 additions and 30 deletions

View file

@ -994,7 +994,7 @@ pub fn provide(providers: &mut Providers) {
};
}
fn determine_cgu_reuse<'tcx>(tcx: TyCtxt<'tcx>, cgu: &CodegenUnit<'tcx>) -> CguReuse {
pub fn determine_cgu_reuse<'tcx>(tcx: TyCtxt<'tcx>, cgu: &CodegenUnit<'tcx>) -> CguReuse {
if !tcx.dep_graph.is_fully_enabled() {
return CguReuse::No;
}