提交 be00b9dc 编写于 作者: J Jonathan S

Moved ReducedGraphParent building to a new module

上级 023dfb0c
此差异已折叠。
此差异已折叠。
......@@ -21,6 +21,8 @@
use {Module, NameBindings, Resolver};
use Namespace::{mod, TypeNS, ValueNS};
use build_reduced_graph;
use rustc::middle::def::Export;
use syntax::ast;
use syntax::parse::token;
......@@ -73,7 +75,7 @@ fn record_exports_for_module_subtree(&mut self,
}
self.record_exports_for_module(&*module_);
self.populate_module_if_necessary(&module_);
build_reduced_graph::populate_module_if_necessary(self.resolver, &module_);
for (_, child_name_bindings) in module_.children.borrow().iter() {
match child_name_bindings.get_module_if_available() {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册