diff options
| author | Noah Lev <camelidcamel@gmail.com> | 2021-10-30 21:42:17 -0700 |
|---|---|---|
| committer | Noah Lev <camelidcamel@gmail.com> | 2021-10-31 10:40:18 -0700 |
| commit | 5a77f3006f0e15c35e905b6f4f08a33f7005c3d1 (patch) | |
| tree | 4dbe99fc1d3300972008f7cc5e62df9e5c9c656d /compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp | |
| parent | bbc58e8ccc5d590c80f3fa07f8fe5cb2f3813aaa (diff) | |
| download | rust-5a77f3006f0e15c35e905b6f4f08a33f7005c3d1.tar.gz rust-5a77f3006f0e15c35e905b6f4f08a33f7005c3d1.zip | |
Merge `DocContext.{ty,lt,ct}_substs` into one map
It should be impossible to have more than one entry with a particular key across the three maps, so they should be one map. In addition to making it impossible for multiple entries to exist, this should improve memory usage since now only one map is allocated on the stack and heap.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
