about summary refs log tree commit diff
diff options
context:
space:
mode:
authorTyson Nottingham <tgnottingham@gmail.com>2020-12-15 22:57:21 -0800
committerTyson Nottingham <tgnottingham@gmail.com>2020-12-22 14:12:57 -0800
commitd6b2aaed7d67e0e24e9120830697196a847a0b43 (patch)
tree27c6415e4b4bd0ecf302762dca533d3c64c85caf
parent712fcae13a17940d180a4756eb8fff40470c86d4 (diff)
downloadrust-d6b2aaed7d67e0e24e9120830697196a847a0b43.tar.gz
rust-d6b2aaed7d67e0e24e9120830697196a847a0b43.zip
rustc_query_system: rename intern_node to intern_new_node
-rw-r--r--compiler/rustc_query_system/src/dep_graph/graph.rs6
1 files 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<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>,