rustc_query_system: rename intern_node to intern_new_node
This commit is contained in:
parent
712fcae13a
commit
d6b2aaed7d
1 changed files with 3 additions and 3 deletions
|
@ -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>,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue