message: Move time "codegen mono items" out of codegen_mono_items
diff: @@ -74,7 +74,9 @@ fn run_jit(tcx: TyCtxt<'_>) -> ! {
  .flatten()
  .collect::<FxHashMap<_, (_, _)>>();
  + time(tcx.sess, "codegen mono items", || {
  codegen_mono_items(tcx, &mut jit_module, None, mono_items);
  + });
  crate::main_shim::maybe_create_entry_wrapper(tcx, &mut jit_module);
  crate::allocator::codegen(tcx, &mut jit_module);
  @@ -224,7 +226,9 @@ fn emit_module<B: Backend>(
  None
  };
  + time(tcx.sess, "codegen mono items", || {
  codegen_mono_items(tcx, &mut module, debug.as_mut(), mono_items);
  + });
  crate::main_shim::maybe_create_entry_wrapper(tcx, &mut module);
  tcx.sess.abort_if_errors();
  @@ -308,7 +312,6 @@ fn codegen_mono_items<'tcx>(
  ) {
  let mut cx = CodegenCx::new(tcx, module, debug_context);
  - time(tcx.sess, "codegen mono items", move || {
  tcx.sess.time("predefine functions", || {
  for (&mono_item, &(linkage, visibility)) in &mono_items {
  match mono_item {
  @@ -331,7 +334,6 @@ fn codegen_mono_items<'tcx>(
  }
  tcx.sess.time("finalize CodegenCx", || cx.finalize());
  - });
  }
  fn trans_mono_item<'clif, 'tcx, B: Backend + 'static>(
  