Line data Source code
1 : /* Type information for cp/lambda.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_lambda_sig_count_va_gc_ (void *x_p)
24 : {
25 95241 : vec<lambda_sig_count,va_gc> * const x = (vec<lambda_sig_count,va_gc> *)x_p;
26 95241 : if (ggc_test_and_set_mark (x))
27 : {
28 8 : gt_ggc_mx (x);
29 : }
30 95241 : }
31 :
32 : void
33 9 : gt_ggc_mx (struct lambda_sig_count& x_r ATTRIBUTE_UNUSED)
34 : {
35 9 : struct lambda_sig_count * ATTRIBUTE_UNUSED x = &x_r;
36 9 : gt_ggc_m_9tree_node ((*x).fn);
37 0 : }
38 :
39 : void
40 95241 : gt_ggc_mx_vec_lambda_discriminator_va_gc_ (void *x_p)
41 : {
42 95241 : vec<lambda_discriminator,va_gc> * const x = (vec<lambda_discriminator,va_gc> *)x_p;
43 95241 : if (ggc_test_and_set_mark (x))
44 : {
45 95183 : gt_ggc_mx (x);
46 : }
47 95241 : }
48 :
49 : void
50 0 : gt_ggc_mx (struct lambda_discriminator& x_r ATTRIBUTE_UNUSED)
51 : {
52 0 : struct lambda_discriminator * ATTRIBUTE_UNUSED x = &x_r;
53 0 : gt_ggc_m_9tree_node ((*x).scope);
54 0 : gt_ggc_m_27vec_lambda_sig_count_va_gc_ ((*x).discriminators);
55 0 : }
56 :
57 : void
58 68 : gt_pch_nx_vec_lambda_sig_count_va_gc_ (void *x_p)
59 : {
60 68 : vec<lambda_sig_count,va_gc> * const x = (vec<lambda_sig_count,va_gc> *)x_p;
61 68 : if (gt_pch_note_object (x, x, gt_pch_p_27vec_lambda_sig_count_va_gc_))
62 : {
63 0 : gt_pch_nx (x);
64 : }
65 68 : }
66 :
67 : void
68 0 : gt_pch_nx (struct lambda_sig_count& x_r ATTRIBUTE_UNUSED)
69 : {
70 0 : struct lambda_sig_count * ATTRIBUTE_UNUSED x = &x_r;
71 0 : gt_pch_n_9tree_node ((*x).fn);
72 0 : }
73 :
74 : void
75 68 : gt_pch_nx_vec_lambda_discriminator_va_gc_ (void *x_p)
76 : {
77 68 : vec<lambda_discriminator,va_gc> * const x = (vec<lambda_discriminator,va_gc> *)x_p;
78 68 : if (gt_pch_note_object (x, x, gt_pch_p_31vec_lambda_discriminator_va_gc_))
79 : {
80 31 : gt_pch_nx (x);
81 : }
82 68 : }
83 :
84 : void
85 0 : gt_pch_nx (struct lambda_discriminator& x_r ATTRIBUTE_UNUSED)
86 : {
87 0 : struct lambda_discriminator * ATTRIBUTE_UNUSED x = &x_r;
88 0 : gt_pch_n_9tree_node ((*x).scope);
89 0 : gt_pch_n_27vec_lambda_sig_count_va_gc_ ((*x).discriminators);
90 0 : }
91 :
92 : void
93 0 : gt_pch_p_27vec_lambda_sig_count_va_gc_ (ATTRIBUTE_UNUSED void *this_obj,
94 : void *x_p,
95 : ATTRIBUTE_UNUSED gt_pointer_operator op,
96 : ATTRIBUTE_UNUSED void *cookie)
97 : {
98 0 : struct vec<lambda_sig_count,va_gc> * x ATTRIBUTE_UNUSED = (struct vec<lambda_sig_count,va_gc> *)x_p;
99 0 : if ((void *)(x) == this_obj)
100 0 : gt_pch_nx (&((*x)), op, cookie);
101 0 : }
102 :
103 : void
104 0 : gt_pch_nx (struct lambda_sig_count* x ATTRIBUTE_UNUSED,
105 : ATTRIBUTE_UNUSED gt_pointer_operator op,
106 : ATTRIBUTE_UNUSED void *cookie)
107 : {
108 0 : op (&((*x).fn), NULL, cookie);
109 0 : }
110 :
111 : void
112 31 : gt_pch_p_31vec_lambda_discriminator_va_gc_ (ATTRIBUTE_UNUSED void *this_obj,
113 : void *x_p,
114 : ATTRIBUTE_UNUSED gt_pointer_operator op,
115 : ATTRIBUTE_UNUSED void *cookie)
116 : {
117 31 : struct vec<lambda_discriminator,va_gc> * x ATTRIBUTE_UNUSED = (struct vec<lambda_discriminator,va_gc> *)x_p;
118 31 : if ((void *)(x) == this_obj)
119 31 : gt_pch_nx (&((*x)), op, cookie);
120 31 : }
121 :
122 : void
123 0 : gt_pch_nx (struct lambda_discriminator* x ATTRIBUTE_UNUSED,
124 : ATTRIBUTE_UNUSED gt_pointer_operator op,
125 : ATTRIBUTE_UNUSED void *cookie)
126 : {
127 0 : op (&((*x).scope), NULL, cookie);
128 0 : op (&((*x).discriminators), NULL, cookie);
129 0 : }
130 :
131 : /* GC roots. */
132 :
133 : EXPORTED_CONST struct ggc_root_tab gt_ggc_r_gt_cp_lambda_h[] = {
134 : {
135 : &lambda_scope_stack,
136 : 1,
137 : sizeof (lambda_scope_stack),
138 : >_ggc_mx_vec_lambda_discriminator_va_gc_,
139 : >_pch_nx_vec_lambda_discriminator_va_gc_
140 : },
141 : {
142 : &lambda_scope.scope,
143 : 1,
144 : sizeof (lambda_scope.scope),
145 : >_ggc_mx_tree_node,
146 : >_pch_nx_tree_node
147 : },
148 : {
149 : &lambda_scope.discriminators,
150 : 1,
151 : sizeof (lambda_scope.discriminators),
152 : >_ggc_mx_vec_lambda_sig_count_va_gc_,
153 : >_pch_nx_vec_lambda_sig_count_va_gc_
154 : },
155 : {
156 : &max_id,
157 : 1,
158 : sizeof (max_id),
159 : >_ggc_mx_tree_node,
160 : >_pch_nx_tree_node
161 : },
162 : {
163 : &ptr_id,
164 : 1,
165 : sizeof (ptr_id),
166 : >_ggc_mx_tree_node,
167 : >_pch_nx_tree_node
168 : },
169 : LAST_GGC_ROOT_TAB
170 : };
171 :
172 : EXPORTED_CONST struct ggc_root_tab gt_pch_rs_gt_cp_lambda_h[] = {
173 : { &lambda_scope, 1, sizeof (lambda_scope), NULL, NULL },
174 : LAST_GGC_ROOT_TAB
175 : };
176 :
|