From: Indu Bhagat Date: Mon, 28 Mar 2022 20:24:45 +0000 (-0700) Subject: ctfout: use ctfc_get_num_ctf_vars instead X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=eed9d091de0324453fb34580f550b1ca296d6516;p=test_jj.git ctfout: use ctfc_get_num_ctf_vars instead A minor cosmetic fix. 2022-03-28 Indu Bhagat gcc/ChangeLog: * ctfout.cc (ctf_preprocess): Use ctfc_get_num_ctf_vars instead. (output_ctf_vars): Likewise. --- diff --git a/gcc/ctfout.cc b/gcc/ctfout.cc index 9bd918a..a23d377 100644 --- a/gcc/ctfout.cc +++ b/gcc/ctfout.cc @@ -287,7 +287,7 @@ ctf_preprocess (ctf_container_ref ctfc) ctfc->ctfc_gobjts_list = ggc_vec_alloc(num_global_objts); } - size_t num_ctf_vars = ctfc->ctfc_vars->elements (); + size_t num_ctf_vars = ctfc_get_num_ctf_vars (ctfc); if (num_ctf_vars) { ctf_dvd_preprocess_arg_t dvd_arg; @@ -597,7 +597,7 @@ static void output_ctf_vars (ctf_container_ref ctfc) { size_t i; - size_t num_ctf_vars = ctfc->ctfc_vars->elements (); + size_t num_ctf_vars = ctfc_get_num_ctf_vars (ctfc); if (num_ctf_vars) { /* Iterate over the list of sorted vars and output the asm. */