about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2022-07-18 05:50:54 +0000
committerbors <bors@rust-lang.org>2022-07-18 05:50:54 +0000
commit880416180b0a9ee1141c07d4d17667edb77daebd (patch)
treef1df1bcde149b93dff2848031840f400485a5dad /compiler/rustc_codegen_llvm/src
parent2fa64d0e53c15e1920bd394500da010a4cdd057b (diff)
parent0fc5296876e898d13e32311e305ba71c7f0086d8 (diff)
downloadrust-880416180b0a9ee1141c07d4d17667edb77daebd.tar.gz
rust-880416180b0a9ee1141c07d4d17667edb77daebd.zip
Auto merge of #99181 - lcnr:arenaGTrc, r=wesleywiser
`arena > Rc` for query results

The `Rc`s have to live for the whole duration as their count cannot go below 1 while stored as part of the query results.

By storing them in an arena we should save a bit of memory because we don't have as many independent allocations and also don't have to clone the `Rc` anymore.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions