do MIR construction after pattern evaluation for now to sidestep
various annoying edge cases
This commit is contained in:
parent
0d207cb483
commit
dedde0bb5a
1 changed files with 3 additions and 3 deletions
|
@ -718,9 +718,6 @@ pub fn phase_3_run_analysis_passes<'tcx, F, R>(sess: Session,
|
|||
// passes are timed inside typeck
|
||||
typeck::check_crate(tcx, trait_map);
|
||||
|
||||
time(time_passes, "MIR dump", ||
|
||||
mir::dump::dump_crate(tcx));
|
||||
|
||||
time(time_passes, "const checking", ||
|
||||
middle::check_const::check_crate(tcx));
|
||||
|
||||
|
@ -741,6 +738,9 @@ pub fn phase_3_run_analysis_passes<'tcx, F, R>(sess: Session,
|
|||
time(time_passes, "match checking", ||
|
||||
middle::check_match::check_crate(tcx));
|
||||
|
||||
time(time_passes, "MIR dump", ||
|
||||
mir::dump::dump_crate(tcx));
|
||||
|
||||
time(time_passes, "liveness checking", ||
|
||||
middle::liveness::check_crate(tcx));
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue