Remove some unused values in codegen_crate.

This commit is contained in:
Nicholas Nethercote 2023-07-20 14:34:17 +10:00
parent 8b9e3f0dd6
commit 176610c2cd

View File

@ -768,7 +768,6 @@ pub fn codegen_crate<B: ExtraBackendMethods>(
module, module,
cost, cost,
); );
false
} }
CguReuse::PreLto => { CguReuse::PreLto => {
submit_pre_lto_module_to_llvm( submit_pre_lto_module_to_llvm(
@ -780,7 +779,6 @@ pub fn codegen_crate<B: ExtraBackendMethods>(
source: cgu.previous_work_product(tcx), source: cgu.previous_work_product(tcx),
}, },
); );
true
} }
CguReuse::PostLto => { CguReuse::PostLto => {
submit_post_lto_module_to_llvm( submit_post_lto_module_to_llvm(
@ -791,7 +789,6 @@ pub fn codegen_crate<B: ExtraBackendMethods>(
source: cgu.previous_work_product(tcx), source: cgu.previous_work_product(tcx),
}, },
); );
true
} }
}; };
} }