about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2021-02-02 17:34:08 +0000
committerbors <bors@rust-lang.org>2021-02-02 17:34:08 +0000
commit3182375e064b8fa90437aee1465bccafd8187d89 (patch)
treed58213733c388e6e195b04fb0c4ae1a6a65d62b2 /compiler/rustc_codegen_llvm/src
parentb81f5811f96fe750ab28c15219d1b0dba6b1dc90 (diff)
parent003fba3fdac2bcad6dbf067bc0e9eb0d1cdf7349 (diff)
downloadrust-3182375e064b8fa90437aee1465bccafd8187d89.tar.gz
rust-3182375e064b8fa90437aee1465bccafd8187d89.zip
Auto merge of #81405 - bugadani:ast, r=cjgillot
Box the biggest ast::ItemKind variants

This PR is a different approach on https://github.com/rust-lang/rust/pull/81400, aiming to save memory in humongous ASTs.

The three affected item kind enums are:
 - `ast::ItemKind` (208 -> 112 bytes)
 - `ast::AssocItemKind` (176 -> 72 bytes)
 - `ast::ForeignItemKind` (176 -> 72 bytes)
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions