diff options
| author | Rémy Rakic <remy.rakic+github@gmail.com> | 2022-06-13 17:35:00 +0200 |
|---|---|---|
| committer | Rémy Rakic <remy.rakic+github@gmail.com> | 2022-06-28 22:09:29 +0200 |
| commit | c9772d76198ec04c9e610ce5d95bb9453021aa1c (patch) | |
| tree | 12848e293c4031dbaa28bb40569dbd26934183f3 /compiler/rustc_codegen_llvm/src | |
| parent | 18cbc19de2947008651649bd559f44a5db540d18 (diff) | |
| download | rust-c9772d76198ec04c9e610ce5d95bb9453021aa1c.tar.gz rust-c9772d76198ec04c9e610ce5d95bb9453021aa1c.zip | |
const alloc interning: only check for references for arrays/slices
Checking the size/alignment of an mplace may be costly, so we only do it on the types where the walk we want to avoid could be expensive: the larger types like arrays and slices, rather than on all aggregates being interned.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions
