Rollup merge of #109362 - nnethercote:split-meta-stats-items, r=bjorn3

Split `items` from `-Zmeta-stats` in two.

Because it's one of the biggest sections.

r? `@bjorn3`
This commit is contained in:
Matthias Krüger 2023-03-20 07:10:34 +01:00 committed by GitHub
commit cd9fadea5b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -609,10 +609,9 @@ impl<'a, 'tcx> EncodeContext<'a, 'tcx> {
_ = stat!("mir", || self.encode_mir());
_ = stat!("items", || {
self.encode_def_ids();
self.encode_info_for_items();
});
_ = stat!("def-ids", || self.encode_def_ids());
_ = stat!("items", || self.encode_info_for_items());
let interpret_alloc_index = stat!("interpret-alloc-index", || {
let mut interpret_alloc_index = Vec::new();