about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2013-12-01 03:11:58 -0800
committerbors <bors@rust-lang.org>2013-12-01 03:11:58 -0800
commitb2aa00ba8b3539985c77f84b01e5781dd1455177 (patch)
tree7db7b6c693714e3254715698b055e6d47787507b /src/rustllvm/RustWrapper.cpp
parentc470184c20167f9f41613d5f4a1d75840e0f5c3a (diff)
parenta9c4b18b18bd3f5fd4a4c20489f37c52d106fc81 (diff)
downloadrust-b2aa00ba8b3539985c77f84b01e5781dd1455177.tar.gz
rust-b2aa00ba8b3539985c77f84b01e5781dd1455177.zip
auto merge of #10676 : eddyb/rust/ast-box-in-enums, r=cmr
**Note**: I only tested on top of my #10670 PR, size reductions come from both change sets.

With this, [more enums are shrinked](https://gist.github.com/eddyb/08fef0dfc6ff54e890bc), the most significant one being `ast_node`, from 104 bytes (master) to 96 (#10670) and now to 32 bytes.

My own testcase requires **200MB** less when compiling (not including the other **200MB** gained in #10670), and rustc-stage2 is down by about **130MB**.

I believe there is more to gain by fiddling with the enums' layouts.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions