about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2017-09-13 15:24:13 -0700
committerAlex Crichton <alex@alexcrichton.com>2017-09-17 09:41:43 -0700
commit2eada5870615fafa1f40c4ce93f5f5adaf030cdf (patch)
tree24edf779b943bd9d6625103b1d85258cdf245881 /src/rustllvm/RustWrapper.cpp
parent19727c84dde781abf3a534be0308b1cd55a88cf7 (diff)
downloadrust-2eada5870615fafa1f40c4ce93f5f5adaf030cdf.tar.gz
rust-2eada5870615fafa1f40c4ce93f5f5adaf030cdf.zip
rustc: Remove another global map from trans
This commit removes the `crate_trans_items` field from the `CrateContext` of
trans. This field, a big map, was calculated during partioning and was a set of
all translation items. This isn't quite incremental-friendly because the map may
change a lot but not have much effect on downstream consumers.

Instead a new query was added for the one location this map was needed, along
with a new comment explaining what the location is doing!
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions