Skip to content

Commit

Permalink
incr.comp.: Do some cleanup.
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelwoerister committed Oct 2, 2017
1 parent df06a7e commit dbab705
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 4 additions & 1 deletion src/librustc/dep_graph/graph.rs
Expand Up @@ -501,7 +501,10 @@ impl DepGraph {
debug!("try_mark_green({:?}) --- trying to force \
dependency {:?}", dep_node, dep_dep_node);
if ::ty::maps::force_from_dep_node(tcx, dep_dep_node) {
let dep_dep_node_color = data.colors.borrow().get(dep_dep_node).cloned();
let dep_dep_node_color = data.colors
.borrow()
.get(dep_dep_node)
.cloned();
match dep_dep_node_color {
Some(DepNodeColor::Green(node_index)) => {
debug!("try_mark_green({:?}) --- managed to \
Expand Down
2 changes: 0 additions & 2 deletions src/librustc_trans/back/symbol_export.rs
Expand Up @@ -77,8 +77,6 @@ pub fn provide_local(providers: &mut Providers) {
};

providers.is_exported_symbol = |tcx, id| {
// FIXME(#42293) needs red/green to not break a bunch of incremental
// tests
tcx.exported_symbol_ids(id.krate).contains(&id)
};

Expand Down

0 comments on commit dbab705

Please sign in to comment.