1
Fork 0

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