about summary refs log tree commit diff
path: root/src/librustc/dep_graph
diff options
context:
space:
mode:
authorMichael Woerister <michaelwoerister@posteo>2018-03-06 10:33:42 +0100
committerMichael Woerister <michaelwoerister@posteo>2018-04-06 12:14:08 +0200
commit4f6d05dc483003e89d17c539eba4fc7a503d6390 (patch)
treef01012216c790f8433bb96adb49209aa3df3755f /src/librustc/dep_graph
parent435477dc6528932ebf81e038aeceec83aa1c03b4 (diff)
downloadrust-4f6d05dc483003e89d17c539eba4fc7a503d6390.tar.gz
rust-4f6d05dc483003e89d17c539eba4fc7a503d6390.zip
Allow for re-using monomorphizations from upstream crates.
Diffstat (limited to 'src/librustc/dep_graph')
-rw-r--r--src/librustc/dep_graph/dep_node.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/librustc/dep_graph/dep_node.rs b/src/librustc/dep_graph/dep_node.rs
index d1f3736556c..9172c3067ac 100644
--- a/src/librustc/dep_graph/dep_node.rs
+++ b/src/librustc/dep_graph/dep_node.rs
@@ -657,6 +657,9 @@ define_dep_nodes!( <'tcx>
     [] ProgramClausesFor(DefId),
     [] WasmImportModuleMap(CrateNum),
     [] ForeignModules(CrateNum),
+
+    [] UpstreamMonomorphizations(CrateNum),
+    [] UpstreamMonomorphizationsFor(DefId),
 );
 
 trait DepNodeParams<'a, 'gcx: 'tcx + 'a, 'tcx: 'a> : fmt::Debug {