Reuse determine_cgu_reuse from cg_ssa in cg_clif
This commit is contained in:
parent
317783ad2c
commit
6b9ee90c2c
2 changed files with 2 additions and 30 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue