LCOV - code coverage report
Current view: top level - scratchpad/gcc-build-gcov/gcc - gt-cp-semantics.h (source / functions) Hit Total Coverage
Test: gcc.info Lines: 23 26 88.5 %
Date: 2023-07-19 08:18:47 Functions: 3 6 50.0 %

          Line data    Source code
       1             : /* Type information for cp/semantics.cc.
       2             :    Copyright (C) 2004-2023 Free Software Foundation, Inc.
       3             : 
       4             : This file is part of GCC.
       5             : 
       6             : GCC is free software; you can redistribute it and/or modify it under
       7             : the terms of the GNU General Public License as published by the Free
       8             : Software Foundation; either version 3, or (at your option) any later
       9             : version.
      10             : 
      11             : GCC is distributed in the hope that it will be useful, but WITHOUT ANY
      12             : WARRANTY; without even the implied warranty of MERCHANTABILITY or
      13             : FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
      14             : for more details.
      15             : 
      16             : You should have received a copy of the GNU General Public License
      17             : along with GCC; see the file COPYING3.  If not see
      18             : <http://www.gnu.org/licenses/>.  */
      19             : 
      20             : /* This file is machine generated.  Do not edit.  */
      21             : 
      22             : void
      23       95241 : gt_ggc_mx_vec_deferred_access_va_gc_ (void *x_p)
      24             : {
      25       95241 :   vec<deferred_access,va_gc> * const x = (vec<deferred_access,va_gc> *)x_p;
      26       95241 :   if (ggc_test_and_set_mark (x))
      27             :     {
      28       95222 :       gt_ggc_mx (x);
      29             :     }
      30       95241 : }
      31             : 
      32             : void
      33      313821 : gt_ggc_mx (struct deferred_access& x_r ATTRIBUTE_UNUSED)
      34             : {
      35      313821 :   struct deferred_access * ATTRIBUTE_UNUSED x = &x_r;
      36      313821 :   gt_ggc_m_32vec_deferred_access_check_va_gc_ ((*x).deferred_access_checks);
      37           0 : }
      38             : 
      39             : void
      40          68 : gt_pch_nx_vec_deferred_access_va_gc_ (void *x_p)
      41             : {
      42          68 :   vec<deferred_access,va_gc> * const x = (vec<deferred_access,va_gc> *)x_p;
      43          68 :   if (gt_pch_note_object (x, x, gt_pch_p_26vec_deferred_access_va_gc_))
      44             :     {
      45          68 :       gt_pch_nx (x);
      46             :     }
      47          68 : }
      48             : 
      49             : void
      50          68 : gt_pch_nx (struct deferred_access& x_r ATTRIBUTE_UNUSED)
      51             : {
      52          68 :   struct deferred_access * ATTRIBUTE_UNUSED x = &x_r;
      53          68 :   gt_pch_n_32vec_deferred_access_check_va_gc_ ((*x).deferred_access_checks);
      54           0 : }
      55             : 
      56             : void
      57          68 : gt_pch_p_26vec_deferred_access_va_gc_ (ATTRIBUTE_UNUSED void *this_obj,
      58             :         void *x_p,
      59             :         ATTRIBUTE_UNUSED gt_pointer_operator op,
      60             :         ATTRIBUTE_UNUSED void *cookie)
      61             : {
      62          68 :   struct vec<deferred_access,va_gc> * x ATTRIBUTE_UNUSED = (struct vec<deferred_access,va_gc> *)x_p;
      63          68 :   if ((void *)(x) == this_obj)
      64          68 :     gt_pch_nx (&((*x)), op, cookie);
      65          68 : }
      66             : 
      67             : void
      68          68 : gt_pch_nx (struct deferred_access* x ATTRIBUTE_UNUSED,
      69             :         ATTRIBUTE_UNUSED gt_pointer_operator op,
      70             :         ATTRIBUTE_UNUSED void *cookie)
      71             : {
      72          68 :     op (&((*x).deferred_access_checks), NULL, cookie);
      73           0 : }
      74             : 
      75             : /* GC roots.  */
      76             : 
      77             : EXPORTED_CONST struct ggc_root_tab gt_ggc_r_gt_cp_semantics_h[] = {
      78             :   {
      79             :     &deferred_access_stack,
      80             :     1,
      81             :     sizeof (deferred_access_stack),
      82             :     &gt_ggc_mx_vec_deferred_access_va_gc_,
      83             :     &gt_pch_nx_vec_deferred_access_va_gc_
      84             :   },
      85             :   LAST_GGC_ROOT_TAB
      86             : };
      87             : 
      88             : EXPORTED_CONST struct ggc_root_tab gt_pch_rs_gt_cp_semantics_h[] = {
      89             :   { &deferred_access_no_check, 1, sizeof (deferred_access_no_check), NULL, NULL },
      90             :   LAST_GGC_ROOT_TAB
      91             : };
      92             : 

Generated by: LCOV version 1.16