add MetaData DepNode variant

This commit is contained in:
Niko Matsakis 2016-03-28 20:01:48 -04:00
parent 310d8996f4
commit 47af3f1935

View file

@ -32,6 +32,12 @@ pub enum DepNode<D: Clone + Debug> {
// 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,