about summary refs log tree commit diff
path: root/src/librustc_driver
diff options
context:
space:
mode:
authorMichael Woerister <michaelwoerister@posteo>2017-07-26 12:35:23 +0200
committerMichael Woerister <michaelwoerister@posteo.net>2017-07-31 15:15:09 +0200
commitb924ec1484bfca00c42a8aff68d77c41d4cd1ea6 (patch)
tree635841dfc973e88449b73e2c9683b59dd62df909 /src/librustc_driver
parent397b2a800f7a25e81c2aaab2ac0291adbfdce3ce (diff)
downloadrust-b924ec1484bfca00c42a8aff68d77c41d4cd1ea6.tar.gz
rust-b924ec1484bfca00c42a8aff68d77c41d4cd1ea6.zip
async-llvm(13): Submit LLVM work packages from base::trans_crate().
Diffstat (limited to 'src/librustc_driver')
-rw-r--r--src/librustc_driver/driver.rs7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/librustc_driver/driver.rs b/src/librustc_driver/driver.rs
index 44c046131f1..ba4a6c0d67d 100644
--- a/src/librustc_driver/driver.rs
+++ b/src/librustc_driver/driver.rs
@@ -229,7 +229,7 @@ pub fn compile_input(sess: &Session,
         sess.code_stats.borrow().print_type_sizes();
     }
 
-    let (phase5_result, trans) = phase_5_run_llvm_passes(sess, trans, &outputs);
+    let (phase5_result, trans) = phase_5_run_llvm_passes(sess, trans);
 
     controller_entry_point!(after_llvm,
                             sess,
@@ -1071,10 +1071,9 @@ 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: write::OngoingCrateTranslation,
-                               outputs: &OutputFilenames)
+                               trans: write::OngoingCrateTranslation)
                                -> (CompileResult, trans::CrateTranslation) {
-    let trans = trans.join(sess, outputs);
+    let trans = trans.join(sess);
 
     if sess.opts.debugging_opts.incremental_info {
         write::dump_incremental_data(&trans);