From 47af3f1935ea9428354febf248ba41cb4726f74b Mon Sep 17 00:00:00 2001 From: Niko Matsakis Date: Mon, 28 Mar 2016 20:01:48 -0400 Subject: [PATCH] add MetaData DepNode variant --- src/librustc/dep_graph/dep_node.rs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/librustc/dep_graph/dep_node.rs b/src/librustc/dep_graph/dep_node.rs index 3e43c8e2c935..b81aa5822369 100644 --- a/src/librustc/dep_graph/dep_node.rs +++ b/src/librustc/dep_graph/dep_node.rs @@ -32,6 +32,12 @@ pub enum DepNode { // Represents the HIR node with the given node-id Hir(D), + // Represents the meta-data for a node. For local def-ids, this is + // created by trans. For remote def-ids, we add a read of this + // node each time we pull the information for an item out of the + // crate store. + MetaData(D), + // Represents different phases in the compiler. CrateReader, CollectLanguageItems,