1
Fork 0

Split items from -Zmeta-stats in two.

Because it's one of the biggest sections.
This commit is contained in:
Nicholas Nethercote 2022-09-21 11:47:29 +10:00
parent 8826b68c62
commit cb587e7f61

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();