about summary refs log tree commit diff
path: root/src/librustc_driver
diff options
context:
space:
mode:
authorMichael Woerister <michaelwoerister@posteo>2017-07-26 10:27:24 +0200
committerMichael Woerister <michaelwoerister@posteo.net>2017-07-31 15:15:09 +0200
commitccb970be4c28490a02ce8564e7d0bd00601ad322 (patch)
tree6124b63d72490c4cdc9794cda79761ef64cfb7d7 /src/librustc_driver
parent645841ea446ed0772835f07fb62aaeecdb06b604 (diff)
downloadrust-ccb970be4c28490a02ce8564e7d0bd00601ad322.tar.gz
rust-ccb970be4c28490a02ce8564e7d0bd00601ad322.zip
async-llvm(9): Move OngoingCrateTranslation into back::write.
Diffstat (limited to 'src/librustc_driver')
-rw-r--r--src/librustc_driver/driver.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/librustc_driver/driver.rs b/src/librustc_driver/driver.rs
index ff9f666af75..44c046131f1 100644
--- a/src/librustc_driver/driver.rs
+++ b/src/librustc_driver/driver.rs
@@ -1053,7 +1053,7 @@ pub fn phase_4_translate_to_llvm<'a, 'tcx>(tcx: TyCtxt<'a, 'tcx, 'tcx>,
                                            analysis: ty::CrateAnalysis,
                                            incremental_hashes_map: &IncrementalHashesMap,
                                            output_filenames: &OutputFilenames)
-                                           -> trans::OngoingCrateTranslation {
+                                           -> write::OngoingCrateTranslation {
     let time_passes = tcx.sess.time_passes();
 
     time(time_passes,
@@ -1071,7 +1071,7 @@ pub fn phase_4_translate_to_llvm<'a, 'tcx>(tcx: TyCtxt<'a, 'tcx, 'tcx>,
 /// Run LLVM itself, producing a bitcode file, assembly file or object file
 /// as a side effect.
 pub fn phase_5_run_llvm_passes(sess: &Session,
-                               trans: trans::OngoingCrateTranslation,
+                               trans: write::OngoingCrateTranslation,
                                outputs: &OutputFilenames)
                                -> (CompileResult, trans::CrateTranslation) {
     let trans = trans.join(sess, outputs);