]> git.lizzy.rs Git - rust.git/commit
Auto merge of #41368 - nikomatsakis:incr-comp-dep-tracking-map, r=eddyb
authorbors <bors@rust-lang.org>
Fri, 28 Apr 2017 18:53:24 +0000 (18:53 +0000)
committerbors <bors@rust-lang.org>
Fri, 28 Apr 2017 18:53:24 +0000 (18:53 +0000)
commit128aa262e8fe445f5c4d5c1f15dd28a2007c0234
treebc8be43bbd513f2977e66100a9cd14ddb3d262b2
parentad1461efb92ae85ce8227f52ca79149e368529d1
parentd7d3f197f62d7d0a1a612b7243f4617428cae53f
Auto merge of #41368 - nikomatsakis:incr-comp-dep-tracking-map, r=eddyb

make *most* maps private

Currently we access the `DepTrackingMap` fields directly rather than using the query accessors. This seems bad. This branch removes several such uses, but not all, and extends the macro so that queries can hide their maps (so we can prevent regressions). The extension to the macro is kind of ugly :/ but couldn't find a simple way to do it otherwise (I guess I could use a nested macro...). Anyway I figure it's only temporary.

r? @eddyb
src/librustc_metadata/decoder.rs
src/librustc_metadata/encoder.rs
src/librustc_save_analysis/dump_visitor.rs