Skip to content

Commit

Permalink
do MIR construction after pattern evaluation for now to sidestep
Browse files Browse the repository at this point in the history
various annoying edge cases
  • Loading branch information
nikomatsakis committed Oct 5, 2015
1 parent 0d207cb commit dedde0b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/librustc_driver/driver.rs
Expand Up @@ -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));

Expand All @@ -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));

Expand Down

0 comments on commit dedde0b

Please sign in to comment.