kill Liveness

This commit is contained in:
Niko Matsakis 2017-04-04 11:28:48 -04:00
parent a83734dd96
commit a2a4fad6f7
2 changed files with 0 additions and 4 deletions

View File

@ -64,7 +64,6 @@ pub enum DepNode<D: Clone + Debug> {
CollectItem(D),
CollectItemSig(D),
Coherence,
Liveness,
Resolve,
EntryPoint,
CheckEntryFn,
@ -218,7 +217,6 @@ impl<D: Clone + Debug> DepNode<D> {
PluginRegistrar => Some(PluginRegistrar),
StabilityIndex => Some(StabilityIndex),
Coherence => Some(Coherence),
Liveness => Some(Liveness),
Resolve => Some(Resolve),
EntryPoint => Some(EntryPoint),
CheckEntryFn => Some(CheckEntryFn),

View File

@ -109,7 +109,6 @@ use self::LoopKind::*;
use self::LiveNodeKind::*;
use self::VarKind::*;
use dep_graph::DepNode;
use hir::def::*;
use ty::{self, TyCtxt, ParameterEnvironment};
use traits::{self, Reveal};
@ -196,7 +195,6 @@ impl<'a, 'tcx> Visitor<'tcx> for IrMaps<'a, 'tcx> {
}
pub fn check_crate<'a, 'tcx>(tcx: TyCtxt<'a, 'tcx, 'tcx>) {
let _task = tcx.dep_graph.in_task(DepNode::Liveness);
tcx.hir.krate().visit_all_item_likes(&mut IrMaps::new(tcx).as_deep_visitor());
tcx.sess.abort_if_errors();
}