diff options
| author | bors <bors@rust-lang.org> | 2020-05-01 01:38:05 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2020-05-01 01:38:05 +0000 |
| commit | e94eaa6dce468928b4e1326b2f0054f3075681ff (patch) | |
| tree | 833cc1402e3e700a5cda3385d79f08c7bc4b3591 /src/rustllvm/RustWrapper.cpp | |
| parent | 614f273e9388ddd7804d5cbc80b8865068a3744e (diff) | |
| parent | d7d2185607280e143ea25b1cf688cb6f27f2db45 (diff) | |
| download | rust-e94eaa6dce468928b4e1326b2f0054f3075681ff.tar.gz rust-e94eaa6dce468928b4e1326b2f0054f3075681ff.zip | |
Auto merge of #70674 - cjgillot:query-arena-all, r=matthewjasper
Have the per-query caches store the results on arenas This PR leverages the cache for each query to serve as storage area for the query results. It introduces a new cache `ArenaCache`, which moves the result to an arena, and only stores the reference in the hash map. This allows to remove a sizeable part of the usage of the global `TyCtxt` arena. I only migrated queries that already used arenas before.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
