Skip to content

Commit

Permalink
Group dep node data into a single structure
Browse files Browse the repository at this point in the history
  • Loading branch information
Zoxc committed Dec 31, 2018
1 parent f39bd9b commit a426d47
Show file tree
Hide file tree
Showing 3 changed files with 165 additions and 170 deletions.
11 changes: 0 additions & 11 deletions src/librustc/dep_graph/dep_node.rs
Expand Up @@ -423,17 +423,6 @@ impl DefId {
}
}

impl DepKind {
#[inline]
pub fn fingerprint_needed_for_crate_hash(self) -> bool {
match self {
DepKind::HirBody |
DepKind::Krate => true,
_ => false,
}
}
}

define_dep_nodes!( <'tcx>
// We use this for most things when incr. comp. is turned off.
[] Null,
Expand Down

0 comments on commit a426d47

Please sign in to comment.