diff options
| author | bors <bors@rust-lang.org> | 2023-04-01 20:11:49 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2023-04-01 20:11:49 +0000 |
| commit | 0599b6b931816ab46ab79072189075f543931cbd (patch) | |
| tree | ef6413c8146d078c66db16ea8fc40959aea978cf /compiler/rustc_codegen_llvm/src | |
| parent | 0196c2bd274dd5bb01c77b5a9b1da9623571b0f8 (diff) | |
| parent | af080bf04be2a82273c646d807d8411518089199 (diff) | |
| download | rust-0599b6b931816ab46ab79072189075f543931cbd.tar.gz rust-0599b6b931816ab46ab79072189075f543931cbd.zip | |
Auto merge of #109483 - joboet:optimize_lazycell, r=Mark-Simulacrum
Optimize `LazyCell` size `LazyCell` can only store either the initializing function or the data it produces, so it does not need to reserve the space for both. Similar to #107329, but uses an `enum` instead of a `union`.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions
