Skip to content

Commit 47af3f1

Browse files
committed
add MetaData DepNode variant
1 parent 310d899 commit 47af3f1

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/librustc/dep_graph/dep_node.rs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,12 @@ pub enum DepNode<D: Clone + Debug> {
3232
// Represents the HIR node with the given node-id
3333
Hir(D),
3434

35+
// Represents the meta-data for a node. For local def-ids, this is
36+
// created by trans. For remote def-ids, we add a read of this
37+
// node each time we pull the information for an item out of the
38+
// crate store.
39+
MetaData(D),
40+
3541
// Represents different phases in the compiler.
3642
CrateReader,
3743
CollectLanguageItems,

0 commit comments

Comments
 (0)