rust/compiler/rustc_hir/src
bors d914f17ca7 Auto merge of #90919 - nnethercote:rm-DropArena, r=Mark-Simulacrum
Remove `DropArena`.

Most arena-allocate types that impl `Drop` get their own `TypedArena`, but a
few infrequently used ones share a `DropArena`. This sharing adds complexity
but doesn't help performance or memory usage. Perhaps it was more effective in
the past prior to some other improvements to arenas.

This commit removes `DropArena` and the sharing of arenas via the `few`
attribute of the `arena_types` macro. This change removes over 100 lines of
code and nine uses of `unsafe` (one of which affects the parallel compiler) and
makes the remaining code easier to read.
2021-11-16 11:48:37 +00:00
..
arena.rs Remove DropArena. 2021-11-15 18:33:43 +11:00
def_path_hash_map.rs Use on-disk-hash-table format for DefPathHashMap in hir::definitions. 2021-09-14 13:54:41 +02:00
def.rs Give inline const separate DefKind 2021-11-07 03:59:06 +00:00
definitions.rs Remove unused function. 2021-10-11 22:36:46 +02:00
diagnostic_items.rs Introduce get_diagnostic_name 2021-10-06 08:40:28 -05:00
hir_id.rs Remove rustc_hir::hir_id::HirIdVec 2021-10-31 13:34:19 -05:00
hir.rs refactor is_param_bound 2021-11-15 22:31:56 -06:00
intravisit.rs Replace FnLikeNode by FnKind. 2021-10-19 23:31:51 +02:00
itemlikevisit.rs Store ForeignItem in a side table. 2020-11-26 21:29:27 +01:00
lang_items.rs Require panic and panic_bounds_check to be non-generic 2021-10-31 17:57:32 +00:00
lib.rs Directly use AttributeMap inside OwnerInfo. 2021-10-10 00:05:35 +02:00
pat_util.rs Auto merge of #83599 - jyn514:unorderable, r=Aaron1011 2021-04-03 04:11:35 +00:00
stable_hash_impls.rs Make naming more explicit. 2021-10-11 22:36:37 +02:00
target.rs Treat macros as HIR items 2021-08-28 00:16:34 -07:00
tests.rs Revert "Revert "Fix test"" 2021-07-06 11:28:06 +02:00
weak_lang_items.rs Fix outdated crate names in compiler docs 2021-04-08 11:12:14 -05:00