rustc_query_system: rename intern_node to intern_new_node

This commit is contained in:
Tyson Nottingham 2020-12-15 22:57:21 -08:00
parent 712fcae13a
commit d6b2aaed7d

View File

@ -333,7 +333,7 @@ impl<K: DepKind> DepGraph<K> {
eprintln!("[task::new] {:?}", key);
}
data.current.intern_node(
data.current.intern_new_node(
&data.previous,
key,
edges,
@ -376,7 +376,7 @@ impl<K: DepKind> DepGraph<K> {
hash: data.current.anon_id_seed.combine(hasher.finish()).into(),
};
let dep_node_index = data.current.intern_node(
let dep_node_index = data.current.intern_new_node(
&data.previous,
target_dep_node,
task_deps.reads,
@ -1354,7 +1354,7 @@ impl<K: DepKind> CurrentDepGraph<K> {
}
}
fn intern_node(
fn intern_new_node(
&self,
prev_graph: &PreviousDepGraph<K>,
dep_node: DepNode<K>,