rust/src/librustc_query_system
bors e94eaa6dce 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.
2020-05-01 01:38:05 +00:00
..
dep_graph Store LLVM bitcode in object files, not compressed 2020-04-29 11:57:26 -07:00
query Add inlining. 2020-04-28 11:57:38 +02:00
Cargo.toml Introduce ArenaStorage. 2020-04-28 11:24:53 +02:00
lib.rs Implement HashStable directly. 2020-03-27 08:33:37 +01:00