Skip to content

Commit b620e49

Browse files
committed
Remove dump_incremental_data
1 parent aa51449 commit b620e49

File tree

2 files changed

+0
-12
lines changed
  • compiler

2 files changed

+0
-12
lines changed

compiler/rustc_codegen_llvm/src/lib.rs

-3
Original file line numberDiff line numberDiff line change
@@ -278,9 +278,6 @@ impl CodegenBackend for LlvmCodegenBackend {
278278
.downcast::<rustc_codegen_ssa::back::write::OngoingCodegen<LlvmCodegenBackend>>()
279279
.expect("Expected LlvmCodegenBackend's OngoingCodegen, found Box<Any>")
280280
.join(sess);
281-
if sess.opts.debugging_opts.incremental_info {
282-
rustc_codegen_ssa::back::write::dump_incremental_data(&codegen_results);
283-
}
284281

285282
sess.time("llvm_dump_timing_file", || {
286283
if sess.opts.debugging_opts.llvm_time_trace {

compiler/rustc_codegen_ssa/src/back/write.rs

-9
Original file line numberDiff line numberDiff line change
@@ -655,15 +655,6 @@ fn produce_final_output_artifacts(
655655
// These are used in linking steps and will be cleaned up afterward.
656656
}
657657

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-
667658
pub enum WorkItem<B: WriteBackendMethods> {
668659
/// Optimize a newly codegened, totally unoptimized module.
669660
Optimize(ModuleCodegen<B::Module>),

0 commit comments

Comments
 (0)