File tree 2 files changed +0
-12
lines changed
rustc_codegen_ssa/src/back
2 files changed +0
-12
lines changed Original file line number Diff line number Diff line change @@ -278,9 +278,6 @@ impl CodegenBackend for LlvmCodegenBackend {
278
278
. downcast :: < rustc_codegen_ssa:: back:: write:: OngoingCodegen < LlvmCodegenBackend > > ( )
279
279
. expect ( "Expected LlvmCodegenBackend's OngoingCodegen, found Box<Any>" )
280
280
. join ( sess) ;
281
- if sess. opts . debugging_opts . incremental_info {
282
- rustc_codegen_ssa:: back:: write:: dump_incremental_data ( & codegen_results) ;
283
- }
284
281
285
282
sess. time ( "llvm_dump_timing_file" , || {
286
283
if sess. opts . debugging_opts . llvm_time_trace {
Original file line number Diff line number Diff line change @@ -655,15 +655,6 @@ fn produce_final_output_artifacts(
655
655
// These are used in linking steps and will be cleaned up afterward.
656
656
}
657
657
658
- pub fn dump_incremental_data ( _codegen_results : & CodegenResults ) {
659
- // FIXME(mw): This does not work at the moment because the situation has
660
- // become more complicated due to incremental LTO. Now a CGU
661
- // can have more than two caching states.
662
- // println!("[incremental] Re-using {} out of {} modules",
663
- // codegen_results.modules.iter().filter(|m| m.pre_existing).count(),
664
- // codegen_results.modules.len());
665
- }
666
-
667
658
pub enum WorkItem < B : WriteBackendMethods > {
668
659
/// Optimize a newly codegened, totally unoptimized module.
669
660
Optimize ( ModuleCodegen < B :: Module > ) ,
You can’t perform that action at this time.
0 commit comments