Skip to content

Commit

Permalink
rustc_passes::consts -> rvalue_promotion
Browse files Browse the repository at this point in the history
  • Loading branch information
oli-obk committed Mar 8, 2018
1 parent 929a4ce commit 438139f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/librustc_driver/driver.rs
Expand Up @@ -1036,8 +1036,8 @@ pub fn phase_3_run_analysis_passes<'tcx, F, R>(trans: &TransCrate,
}

time(time_passes,
"const checking",
|| consts::check_crate(tcx));
"rvalue promotion",
|| rvalue_promotion::check_crate(tcx));

analysis.access_levels =
time(time_passes, "privacy checking", || rustc_privacy::check_crate(tcx));
Expand Down
4 changes: 2 additions & 2 deletions src/librustc_passes/lib.rs
Expand Up @@ -39,13 +39,13 @@ use rustc::ty::maps::Providers;
mod diagnostics;

pub mod ast_validation;
pub mod consts;
pub mod rvalue_promotion;
pub mod hir_stats;
pub mod loops;
mod mir_stats;

__build_diagnostic_array! { librustc_passes, DIAGNOSTICS }

pub fn provide(providers: &mut Providers) {
consts::provide(providers);
rvalue_promotion::provide(providers);
}
File renamed without changes.

0 comments on commit 438139f

Please sign in to comment.