about summary refs log tree commit diff
path: root/compiler/rustc_codegen_ssa/src
diff options
context:
space:
mode:
authorbjorn3 <bjorn3@users.noreply.github.com>2020-10-12 10:34:30 +0200
committerbjorn3 <bjorn3@users.noreply.github.com>2020-10-12 10:34:30 +0200
commitb620e49ccafa567bc0733b251586de60fa826441 (patch)
tree48ff4505327055edd7c3df1e83031f994bd0b847 /compiler/rustc_codegen_ssa/src
parentaa51449af43c428fd8ddbdc8dd53a11c3741f3ec (diff)
downloadrust-b620e49ccafa567bc0733b251586de60fa826441.tar.gz
rust-b620e49ccafa567bc0733b251586de60fa826441.zip
Remove dump_incremental_data
Diffstat (limited to 'compiler/rustc_codegen_ssa/src')
-rw-r--r--compiler/rustc_codegen_ssa/src/back/write.rs9
1 files changed, 0 insertions, 9 deletions
diff --git a/compiler/rustc_codegen_ssa/src/back/write.rs b/compiler/rustc_codegen_ssa/src/back/write.rs
index a61eca1dcaf..2ff78898fb2 100644
--- a/compiler/rustc_codegen_ssa/src/back/write.rs
+++ b/compiler/rustc_codegen_ssa/src/back/write.rs
@@ -655,15 +655,6 @@ fn produce_final_output_artifacts(
     // These are used in linking steps and will be cleaned up afterward.
 }
 
-pub fn dump_incremental_data(_codegen_results: &CodegenResults) {
-    // FIXME(mw): This does not work at the moment because the situation has
-    //            become more complicated due to incremental LTO. Now a CGU
-    //            can have more than two caching states.
-    // println!("[incremental] Re-using {} out of {} modules",
-    //           codegen_results.modules.iter().filter(|m| m.pre_existing).count(),
-    //           codegen_results.modules.len());
-}
-
 pub enum WorkItem<B: WriteBackendMethods> {
     /// Optimize a newly codegened, totally unoptimized module.
     Optimize(ModuleCodegen<B::Module>),