Move no_hash from mir_built to optimized_mir

This commit is contained in:
John Kåre Alsaker 2019-01-22 08:59:17 +01:00
parent 0847045350
commit 33a9be0650

View File

@ -228,7 +228,7 @@
/// Fetch the MIR for a given def-id right after it's built - this includes
/// unreachable code.
[no_hash] fn mir_built: MirBuilt(DefId) -> &'tcx Steal<mir::Mir<'tcx>>,
[] fn mir_built: MirBuilt(DefId) -> &'tcx Steal<mir::Mir<'tcx>>,
/// Fetch the MIR for a given def-id up till the point where it is
/// ready for const evaluation.
@ -240,7 +240,7 @@
/// MIR after our optimization passes have run. This is MIR that is ready
/// for codegen. This is also the only query that can fetch non-local MIR, at present.
[] fn optimized_mir: MirOptimized(DefId) -> &'tcx mir::Mir<'tcx>,
[no_hash] fn optimized_mir: MirOptimized(DefId) -> &'tcx mir::Mir<'tcx>,
},
TypeChecking {