about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2016-11-15 20:43:53 -0800
committerGitHub <noreply@github.com>2016-11-15 20:43:53 -0800
commitc19cb9c12d19ae2fd19abe8c685d0c32961dda78 (patch)
tree4521c1a97b746dc7947ff2c3a865eac3ab1c983f /src/rustllvm/RustWrapper.cpp
parentc87bae6b6575efe97a0642142d9af1306dce7a7e (diff)
parentd7755701ad62f2b0764f9c86b77d65e59b7c5e6f (diff)
downloadrust-c19cb9c12d19ae2fd19abe8c685d0c32961dda78.tar.gz
rust-c19cb9c12d19ae2fd19abe8c685d0c32961dda78.zip
Auto merge of #37764 - nnethercote:shrink-scope_auxiliary, r=nikomatsakis
Remove `scope_auxiliary`.

`scope_auxiliary` is a big part of the high memory usage in #36799. It's only used for MIR dumping. I have taken a hubristic approach: I have assumed that particular use is unimportant and removed `scope_auxiliary` and related things. This reduces peak RSS by ~10% for a cut-down version of the program in #36799.

If that assumption is wrong perhaps we can avoid building `scope_auxiliary` unless MIR dumping is enabled.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions