From d6b2aaed7d67e0e24e9120830697196a847a0b43 Mon Sep 17 00:00:00 2001 From: Tyson Nottingham Date: Tue, 15 Dec 2020 22:57:21 -0800 Subject: [PATCH] rustc_query_system: rename intern_node to intern_new_node --- compiler/rustc_query_system/src/dep_graph/graph.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/compiler/rustc_query_system/src/dep_graph/graph.rs b/compiler/rustc_query_system/src/dep_graph/graph.rs index 87087dc7b7b..c739ec3e6fd 100644 --- a/compiler/rustc_query_system/src/dep_graph/graph.rs +++ b/compiler/rustc_query_system/src/dep_graph/graph.rs @@ -333,7 +333,7 @@ impl DepGraph { eprintln!("[task::new] {:?}", key); } - data.current.intern_node( + data.current.intern_new_node( &data.previous, key, edges, @@ -376,7 +376,7 @@ impl DepGraph { 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 CurrentDepGraph { } } - fn intern_node( + fn intern_new_node( &self, prev_graph: &PreviousDepGraph, dep_node: DepNode,