rust/compiler
Nicholas Nethercote abde9ba527 Tweak CGU size estimate code.
- Rename `create_size_estimate` as `compute_size_estimate`, because that
  makes more sense for the second and subsequent calls for each CGU.
- Change `CodegenUnit::size_estimate` from `Option<usize>` to `usize`.
  We can still assert that `compute_size_estimate` is called first.
- Move the size estimation for `place_mono_items` inside the function,
  for consistency with `merge_codegen_units`.
2023-06-22 09:33:06 +10:00
..
2023-06-21 16:54:54 +05:30
2023-06-19 14:57:42 +00:00
2023-06-19 15:46:08 +00:00
2023-06-19 09:01:37 +01:00
2023-06-19 14:57:42 +00:00