Skip to content

Commit 5b0f334

Browse files
committed
Renamed phase to compilation_done
1 parent eaf3109 commit 5b0f334

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/librustc_driver/driver.rs

+5-5
Original file line numberDiff line numberDiff line change
@@ -229,9 +229,9 @@ pub fn compile_input(sess: &Session,
229229

230230
phase_6_link_output(sess, &trans, &outputs);
231231

232-
controller_entry_point!(after_compilation_done,
232+
controller_entry_point!(compilation_done,
233233
sess,
234-
CompileState::state_after_compilation_done(input, sess, outdir, output),
234+
CompileState::state_when_compilation_done(input, sess, outdir, output),
235235
Ok(()));
236236

237237
Ok(())
@@ -281,7 +281,7 @@ pub struct CompileController<'a> {
281281
pub after_hir_lowering: PhaseController<'a>,
282282
pub after_analysis: PhaseController<'a>,
283283
pub after_llvm: PhaseController<'a>,
284-
pub after_compilation_done: PhaseController<'a>,
284+
pub compilation_done: PhaseController<'a>,
285285

286286
pub make_glob_map: MakeGlobMap,
287287
}
@@ -294,7 +294,7 @@ impl<'a> CompileController<'a> {
294294
after_hir_lowering: PhaseController::basic(),
295295
after_analysis: PhaseController::basic(),
296296
after_llvm: PhaseController::basic(),
297-
after_compilation_done: PhaseController::basic(),
297+
compilation_done: PhaseController::basic(),
298298
make_glob_map: MakeGlobMap::No,
299299
}
300300
}
@@ -463,7 +463,7 @@ impl<'a, 'b, 'ast, 'tcx> CompileState<'a, 'b, 'ast, 'tcx> {
463463
}
464464
}
465465

466-
fn state_after_compilation_done(input: &'a Input,
466+
fn state_when_compilation_done(input: &'a Input,
467467
session: &'ast Session,
468468
out_dir: &'a Option<PathBuf>,
469469
out_file: &'a Option<PathBuf>)

0 commit comments

Comments
 (0)