@@ -141,7 +141,7 @@ impl<D: Deps> DepGraph<D> {
141141 let colors = DepNodeColorMap :: new ( prev_graph_node_count) ;
142142
143143 // Instantiate a dependy-less node only once for anonymous queries.
144- let _green_node_index = current. intern_new_node (
144+ let _green_node_index = current. alloc_new_node (
145145 DepNode { kind : D :: DEP_KIND_NULL , hash : current. anon_id_seed . into ( ) } ,
146146 EdgesVec :: new ( ) ,
147147 Fingerprint :: ZERO ,
@@ -449,7 +449,7 @@ impl<D: Deps> DepGraphData<D> {
449449 // memory impact of this `anon_node_to_index` map remains tolerable, and helps
450450 // us avoid useless growth of the graph with almost-equivalent nodes.
451451 self . current . anon_node_to_index . get_or_insert_with ( target_dep_node, || {
452- self . current . intern_new_node ( target_dep_node, task_deps, Fingerprint :: ZERO )
452+ self . current . alloc_new_node ( target_dep_node, task_deps, Fingerprint :: ZERO )
453453 } )
454454 }
455455 } ;
@@ -1181,7 +1181,7 @@ impl<D: Deps> CurrentDepGraph<D> {
11811181 /// Writes the node to the current dep-graph and allocates a `DepNodeIndex` for it.
11821182 /// Assumes that this is a node that has no equivalent in the previous dep-graph.
11831183 #[ inline( always) ]
1184- fn intern_new_node (
1184+ fn alloc_new_node (
11851185 & self ,
11861186 key : DepNode ,
11871187 edges : EdgesVec ,
@@ -1260,7 +1260,7 @@ impl<D: Deps> CurrentDepGraph<D> {
12601260 let fingerprint = fingerprint. unwrap_or ( Fingerprint :: ZERO ) ;
12611261
12621262 // This is a new node: it didn't exist in the previous compilation session.
1263- let dep_node_index = self . intern_new_node ( key, edges, fingerprint) ;
1263+ let dep_node_index = self . alloc_new_node ( key, edges, fingerprint) ;
12641264
12651265 ( dep_node_index, None )
12661266 }
0 commit comments