/src/solidity/test/tools/ossfuzz/yulProto.pb.cc
Line | Count | Source |
1 | | // Generated by the protocol buffer compiler. DO NOT EDIT! |
2 | | // source: yulProto.proto |
3 | | |
4 | | #include "yulProto.pb.h" |
5 | | |
6 | | #include <algorithm> |
7 | | |
8 | | #include <google/protobuf/io/coded_stream.h> |
9 | | #include <google/protobuf/extension_set.h> |
10 | | #include <google/protobuf/wire_format_lite.h> |
11 | | #include <google/protobuf/descriptor.h> |
12 | | #include <google/protobuf/generated_message_reflection.h> |
13 | | #include <google/protobuf/reflection_ops.h> |
14 | | #include <google/protobuf/wire_format.h> |
15 | | // @@protoc_insertion_point(includes) |
16 | | #include <google/protobuf/port_def.inc> |
17 | | |
18 | | PROTOBUF_PRAGMA_INIT_SEG |
19 | | |
20 | | namespace _pb = ::PROTOBUF_NAMESPACE_ID; |
21 | | namespace _pbi = _pb::internal; |
22 | | |
23 | | namespace solidity { |
24 | | namespace yul { |
25 | | namespace test { |
26 | | namespace yul_fuzzer { |
27 | | PROTOBUF_CONSTEXPR VarDecl::VarDecl( |
28 | | ::_pbi::ConstantInitialized): _impl_{ |
29 | | /*decltype(_impl_._has_bits_)*/{} |
30 | | , /*decltype(_impl_._cached_size_)*/{} |
31 | | , /*decltype(_impl_.expr_)*/nullptr} {} |
32 | | struct VarDeclDefaultTypeInternal { |
33 | | PROTOBUF_CONSTEXPR VarDeclDefaultTypeInternal() |
34 | 0 | : _instance(::_pbi::ConstantInitialized{}) {} |
35 | 0 | ~VarDeclDefaultTypeInternal() {} |
36 | | union { |
37 | | VarDecl _instance; |
38 | | }; |
39 | | }; |
40 | | PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VarDeclDefaultTypeInternal _VarDecl_default_instance_; |
41 | | PROTOBUF_CONSTEXPR MultiVarDecl::MultiVarDecl( |
42 | | ::_pbi::ConstantInitialized): _impl_{ |
43 | | /*decltype(_impl_._has_bits_)*/{} |
44 | | , /*decltype(_impl_._cached_size_)*/{} |
45 | | , /*decltype(_impl_.num_vars_)*/0u} {} |
46 | | struct MultiVarDeclDefaultTypeInternal { |
47 | | PROTOBUF_CONSTEXPR MultiVarDeclDefaultTypeInternal() |
48 | 0 | : _instance(::_pbi::ConstantInitialized{}) {} |
49 | 0 | ~MultiVarDeclDefaultTypeInternal() {} |
50 | | union { |
51 | | MultiVarDecl _instance; |
52 | | }; |
53 | | }; |
54 | | PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 MultiVarDeclDefaultTypeInternal _MultiVarDecl_default_instance_; |
55 | | PROTOBUF_CONSTEXPR LowLevelCall::LowLevelCall( |
56 | | ::_pbi::ConstantInitialized): _impl_{ |
57 | | /*decltype(_impl_._has_bits_)*/{} |
58 | | , /*decltype(_impl_._cached_size_)*/{} |
59 | | , /*decltype(_impl_.gas_)*/nullptr |
60 | | , /*decltype(_impl_.addr_)*/nullptr |
61 | | , /*decltype(_impl_.wei_)*/nullptr |
62 | | , /*decltype(_impl_.in_)*/nullptr |
63 | | , /*decltype(_impl_.insize_)*/nullptr |
64 | | , /*decltype(_impl_.out_)*/nullptr |
65 | | , /*decltype(_impl_.outsize_)*/nullptr |
66 | | , /*decltype(_impl_.callty_)*/0} {} |
67 | | struct LowLevelCallDefaultTypeInternal { |
68 | | PROTOBUF_CONSTEXPR LowLevelCallDefaultTypeInternal() |
69 | 0 | : _instance(::_pbi::ConstantInitialized{}) {} |
70 | 0 | ~LowLevelCallDefaultTypeInternal() {} |
71 | | union { |
72 | | LowLevelCall _instance; |
73 | | }; |
74 | | }; |
75 | | PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 LowLevelCallDefaultTypeInternal _LowLevelCall_default_instance_; |
76 | | PROTOBUF_CONSTEXPR Create::Create( |
77 | | ::_pbi::ConstantInitialized): _impl_{ |
78 | | /*decltype(_impl_._has_bits_)*/{} |
79 | | , /*decltype(_impl_._cached_size_)*/{} |
80 | | , /*decltype(_impl_.wei_)*/nullptr |
81 | | , /*decltype(_impl_.position_)*/nullptr |
82 | | , /*decltype(_impl_.size_)*/nullptr |
83 | | , /*decltype(_impl_.value_)*/nullptr |
84 | | , /*decltype(_impl_.createty_)*/0} {} |
85 | | struct CreateDefaultTypeInternal { |
86 | | PROTOBUF_CONSTEXPR CreateDefaultTypeInternal() |
87 | 0 | : _instance(::_pbi::ConstantInitialized{}) {} |
88 | 0 | ~CreateDefaultTypeInternal() {} |
89 | | union { |
90 | | Create _instance; |
91 | | }; |
92 | | }; |
93 | | PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CreateDefaultTypeInternal _Create_default_instance_; |
94 | | PROTOBUF_CONSTEXPR FunctionCall::FunctionCall( |
95 | | ::_pbi::ConstantInitialized): _impl_{ |
96 | | /*decltype(_impl_._has_bits_)*/{} |
97 | | , /*decltype(_impl_._cached_size_)*/{} |
98 | | , /*decltype(_impl_.in_param1_)*/nullptr |
99 | | , /*decltype(_impl_.in_param2_)*/nullptr |
100 | | , /*decltype(_impl_.in_param3_)*/nullptr |
101 | | , /*decltype(_impl_.in_param4_)*/nullptr} {} |
102 | | struct FunctionCallDefaultTypeInternal { |
103 | | PROTOBUF_CONSTEXPR FunctionCallDefaultTypeInternal() |
104 | 0 | : _instance(::_pbi::ConstantInitialized{}) {} |
105 | 0 | ~FunctionCallDefaultTypeInternal() {} |
106 | | union { |
107 | | FunctionCall _instance; |
108 | | }; |
109 | | }; |
110 | | PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 FunctionCallDefaultTypeInternal _FunctionCall_default_instance_; |
111 | | PROTOBUF_CONSTEXPR TypedVarDecl::TypedVarDecl( |
112 | | ::_pbi::ConstantInitialized): _impl_{ |
113 | | /*decltype(_impl_._has_bits_)*/{} |
114 | | , /*decltype(_impl_._cached_size_)*/{} |
115 | | , /*decltype(_impl_.expr_)*/nullptr |
116 | | , /*decltype(_impl_.id_)*/0 |
117 | | , /*decltype(_impl_.type_)*/1} {} |
118 | | struct TypedVarDeclDefaultTypeInternal { |
119 | | PROTOBUF_CONSTEXPR TypedVarDeclDefaultTypeInternal() |
120 | 0 | : _instance(::_pbi::ConstantInitialized{}) {} |
121 | 0 | ~TypedVarDeclDefaultTypeInternal() {} |
122 | | union { |
123 | | TypedVarDecl _instance; |
124 | | }; |
125 | | }; |
126 | | PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 TypedVarDeclDefaultTypeInternal _TypedVarDecl_default_instance_; |
127 | | PROTOBUF_CONSTEXPR VarRef::VarRef( |
128 | | ::_pbi::ConstantInitialized): _impl_{ |
129 | | /*decltype(_impl_._has_bits_)*/{} |
130 | | , /*decltype(_impl_._cached_size_)*/{} |
131 | | , /*decltype(_impl_.varnum_)*/0} {} |
132 | | struct VarRefDefaultTypeInternal { |
133 | | PROTOBUF_CONSTEXPR VarRefDefaultTypeInternal() |
134 | 0 | : _instance(::_pbi::ConstantInitialized{}) {} |
135 | 0 | ~VarRefDefaultTypeInternal() {} |
136 | | union { |
137 | | VarRef _instance; |
138 | | }; |
139 | | }; |
140 | | PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VarRefDefaultTypeInternal _VarRef_default_instance_; |
141 | | PROTOBUF_CONSTEXPR Literal::Literal( |
142 | | ::_pbi::ConstantInitialized): _impl_{ |
143 | | /*decltype(_impl_.literal_oneof_)*/{} |
144 | | , /*decltype(_impl_._cached_size_)*/{} |
145 | | , /*decltype(_impl_._oneof_case_)*/{}} {} |
146 | | struct LiteralDefaultTypeInternal { |
147 | | PROTOBUF_CONSTEXPR LiteralDefaultTypeInternal() |
148 | 0 | : _instance(::_pbi::ConstantInitialized{}) {} |
149 | 0 | ~LiteralDefaultTypeInternal() {} |
150 | | union { |
151 | | Literal _instance; |
152 | | }; |
153 | | }; |
154 | | PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 LiteralDefaultTypeInternal _Literal_default_instance_; |
155 | | PROTOBUF_CONSTEXPR TypedLiteral::TypedLiteral( |
156 | | ::_pbi::ConstantInitialized): _impl_{ |
157 | | /*decltype(_impl_._has_bits_)*/{} |
158 | | , /*decltype(_impl_._cached_size_)*/{} |
159 | | , /*decltype(_impl_.val_)*/0 |
160 | | , /*decltype(_impl_.type_)*/1} {} |
161 | | struct TypedLiteralDefaultTypeInternal { |
162 | | PROTOBUF_CONSTEXPR TypedLiteralDefaultTypeInternal() |
163 | 0 | : _instance(::_pbi::ConstantInitialized{}) {} |
164 | 0 | ~TypedLiteralDefaultTypeInternal() {} |
165 | | union { |
166 | | TypedLiteral _instance; |
167 | | }; |
168 | | }; |
169 | | PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 TypedLiteralDefaultTypeInternal _TypedLiteral_default_instance_; |
170 | | PROTOBUF_CONSTEXPR BinaryOp::BinaryOp( |
171 | | ::_pbi::ConstantInitialized): _impl_{ |
172 | | /*decltype(_impl_._has_bits_)*/{} |
173 | | , /*decltype(_impl_._cached_size_)*/{} |
174 | | , /*decltype(_impl_.left_)*/nullptr |
175 | | , /*decltype(_impl_.right_)*/nullptr |
176 | | , /*decltype(_impl_.op_)*/0} {} |
177 | | struct BinaryOpDefaultTypeInternal { |
178 | | PROTOBUF_CONSTEXPR BinaryOpDefaultTypeInternal() |
179 | 0 | : _instance(::_pbi::ConstantInitialized{}) {} |
180 | 0 | ~BinaryOpDefaultTypeInternal() {} |
181 | | union { |
182 | | BinaryOp _instance; |
183 | | }; |
184 | | }; |
185 | | PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 BinaryOpDefaultTypeInternal _BinaryOp_default_instance_; |
186 | | PROTOBUF_CONSTEXPR UnaryOp::UnaryOp( |
187 | | ::_pbi::ConstantInitialized): _impl_{ |
188 | | /*decltype(_impl_._has_bits_)*/{} |
189 | | , /*decltype(_impl_._cached_size_)*/{} |
190 | | , /*decltype(_impl_.operand_)*/nullptr |
191 | | , /*decltype(_impl_.op_)*/0} {} |
192 | | struct UnaryOpDefaultTypeInternal { |
193 | | PROTOBUF_CONSTEXPR UnaryOpDefaultTypeInternal() |
194 | 0 | : _instance(::_pbi::ConstantInitialized{}) {} |
195 | 0 | ~UnaryOpDefaultTypeInternal() {} |
196 | | union { |
197 | | UnaryOp _instance; |
198 | | }; |
199 | | }; |
200 | | PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 UnaryOpDefaultTypeInternal _UnaryOp_default_instance_; |
201 | | PROTOBUF_CONSTEXPR UnaryOpData::UnaryOpData( |
202 | | ::_pbi::ConstantInitialized): _impl_{ |
203 | | /*decltype(_impl_._has_bits_)*/{} |
204 | | , /*decltype(_impl_._cached_size_)*/{} |
205 | | , /*decltype(_impl_.identifier_)*/uint64_t{0u} |
206 | | , /*decltype(_impl_.op_)*/1} {} |
207 | | struct UnaryOpDataDefaultTypeInternal { |
208 | | PROTOBUF_CONSTEXPR UnaryOpDataDefaultTypeInternal() |
209 | 0 | : _instance(::_pbi::ConstantInitialized{}) {} |
210 | 0 | ~UnaryOpDataDefaultTypeInternal() {} |
211 | | union { |
212 | | UnaryOpData _instance; |
213 | | }; |
214 | | }; |
215 | | PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 UnaryOpDataDefaultTypeInternal _UnaryOpData_default_instance_; |
216 | | PROTOBUF_CONSTEXPR TernaryOp::TernaryOp( |
217 | | ::_pbi::ConstantInitialized): _impl_{ |
218 | | /*decltype(_impl_._has_bits_)*/{} |
219 | | , /*decltype(_impl_._cached_size_)*/{} |
220 | | , /*decltype(_impl_.arg1_)*/nullptr |
221 | | , /*decltype(_impl_.arg2_)*/nullptr |
222 | | , /*decltype(_impl_.arg3_)*/nullptr |
223 | | , /*decltype(_impl_.op_)*/0} {} |
224 | | struct TernaryOpDefaultTypeInternal { |
225 | | PROTOBUF_CONSTEXPR TernaryOpDefaultTypeInternal() |
226 | 0 | : _instance(::_pbi::ConstantInitialized{}) {} |
227 | 0 | ~TernaryOpDefaultTypeInternal() {} |
228 | | union { |
229 | | TernaryOp _instance; |
230 | | }; |
231 | | }; |
232 | | PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 TernaryOpDefaultTypeInternal _TernaryOp_default_instance_; |
233 | | PROTOBUF_CONSTEXPR CopyFunc::CopyFunc( |
234 | | ::_pbi::ConstantInitialized): _impl_{ |
235 | | /*decltype(_impl_._has_bits_)*/{} |
236 | | , /*decltype(_impl_._cached_size_)*/{} |
237 | | , /*decltype(_impl_.target_)*/nullptr |
238 | | , /*decltype(_impl_.source_)*/nullptr |
239 | | , /*decltype(_impl_.size_)*/nullptr |
240 | | , /*decltype(_impl_.ct_)*/0} {} |
241 | | struct CopyFuncDefaultTypeInternal { |
242 | | PROTOBUF_CONSTEXPR CopyFuncDefaultTypeInternal() |
243 | 0 | : _instance(::_pbi::ConstantInitialized{}) {} |
244 | 0 | ~CopyFuncDefaultTypeInternal() {} |
245 | | union { |
246 | | CopyFunc _instance; |
247 | | }; |
248 | | }; |
249 | | PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CopyFuncDefaultTypeInternal _CopyFunc_default_instance_; |
250 | | PROTOBUF_CONSTEXPR ExtCodeCopy::ExtCodeCopy( |
251 | | ::_pbi::ConstantInitialized): _impl_{ |
252 | | /*decltype(_impl_._has_bits_)*/{} |
253 | | , /*decltype(_impl_._cached_size_)*/{} |
254 | | , /*decltype(_impl_.addr_)*/nullptr |
255 | | , /*decltype(_impl_.target_)*/nullptr |
256 | | , /*decltype(_impl_.source_)*/nullptr |
257 | | , /*decltype(_impl_.size_)*/nullptr} {} |
258 | | struct ExtCodeCopyDefaultTypeInternal { |
259 | | PROTOBUF_CONSTEXPR ExtCodeCopyDefaultTypeInternal() |
260 | 0 | : _instance(::_pbi::ConstantInitialized{}) {} |
261 | 0 | ~ExtCodeCopyDefaultTypeInternal() {} |
262 | | union { |
263 | | ExtCodeCopy _instance; |
264 | | }; |
265 | | }; |
266 | | PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ExtCodeCopyDefaultTypeInternal _ExtCodeCopy_default_instance_; |
267 | | PROTOBUF_CONSTEXPR NullaryOp::NullaryOp( |
268 | | ::_pbi::ConstantInitialized): _impl_{ |
269 | | /*decltype(_impl_._has_bits_)*/{} |
270 | | , /*decltype(_impl_._cached_size_)*/{} |
271 | | , /*decltype(_impl_.op_)*/1} {} |
272 | | struct NullaryOpDefaultTypeInternal { |
273 | | PROTOBUF_CONSTEXPR NullaryOpDefaultTypeInternal() |
274 | 0 | : _instance(::_pbi::ConstantInitialized{}) {} |
275 | 0 | ~NullaryOpDefaultTypeInternal() {} |
276 | | union { |
277 | | NullaryOp _instance; |
278 | | }; |
279 | | }; |
280 | | PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 NullaryOpDefaultTypeInternal _NullaryOp_default_instance_; |
281 | | PROTOBUF_CONSTEXPR StoreFunc::StoreFunc( |
282 | | ::_pbi::ConstantInitialized): _impl_{ |
283 | | /*decltype(_impl_._has_bits_)*/{} |
284 | | , /*decltype(_impl_._cached_size_)*/{} |
285 | | , /*decltype(_impl_.loc_)*/nullptr |
286 | | , /*decltype(_impl_.val_)*/nullptr |
287 | | , /*decltype(_impl_.st_)*/0} {} |
288 | | struct StoreFuncDefaultTypeInternal { |
289 | | PROTOBUF_CONSTEXPR StoreFuncDefaultTypeInternal() |
290 | 0 | : _instance(::_pbi::ConstantInitialized{}) {} |
291 | 0 | ~StoreFuncDefaultTypeInternal() {} |
292 | | union { |
293 | | StoreFunc _instance; |
294 | | }; |
295 | | }; |
296 | | PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 StoreFuncDefaultTypeInternal _StoreFunc_default_instance_; |
297 | | PROTOBUF_CONSTEXPR LogFunc::LogFunc( |
298 | | ::_pbi::ConstantInitialized): _impl_{ |
299 | | /*decltype(_impl_._has_bits_)*/{} |
300 | | , /*decltype(_impl_._cached_size_)*/{} |
301 | | , /*decltype(_impl_.pos_)*/nullptr |
302 | | , /*decltype(_impl_.size_)*/nullptr |
303 | | , /*decltype(_impl_.t1_)*/nullptr |
304 | | , /*decltype(_impl_.t2_)*/nullptr |
305 | | , /*decltype(_impl_.t3_)*/nullptr |
306 | | , /*decltype(_impl_.t4_)*/nullptr |
307 | | , /*decltype(_impl_.num_topics_)*/0} {} |
308 | | struct LogFuncDefaultTypeInternal { |
309 | | PROTOBUF_CONSTEXPR LogFuncDefaultTypeInternal() |
310 | 0 | : _instance(::_pbi::ConstantInitialized{}) {} |
311 | 0 | ~LogFuncDefaultTypeInternal() {} |
312 | | union { |
313 | | LogFunc _instance; |
314 | | }; |
315 | | }; |
316 | | PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 LogFuncDefaultTypeInternal _LogFunc_default_instance_; |
317 | | PROTOBUF_CONSTEXPR Expression::Expression( |
318 | | ::_pbi::ConstantInitialized): _impl_{ |
319 | | /*decltype(_impl_.expr_oneof_)*/{} |
320 | | , /*decltype(_impl_._cached_size_)*/{} |
321 | | , /*decltype(_impl_._oneof_case_)*/{}} {} |
322 | | struct ExpressionDefaultTypeInternal { |
323 | | PROTOBUF_CONSTEXPR ExpressionDefaultTypeInternal() |
324 | 0 | : _instance(::_pbi::ConstantInitialized{}) {} |
325 | 0 | ~ExpressionDefaultTypeInternal() {} |
326 | | union { |
327 | | Expression _instance; |
328 | | }; |
329 | | }; |
330 | | PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ExpressionDefaultTypeInternal _Expression_default_instance_; |
331 | | PROTOBUF_CONSTEXPR AssignmentStatement::AssignmentStatement( |
332 | | ::_pbi::ConstantInitialized): _impl_{ |
333 | | /*decltype(_impl_._has_bits_)*/{} |
334 | | , /*decltype(_impl_._cached_size_)*/{} |
335 | | , /*decltype(_impl_.ref_id_)*/nullptr |
336 | | , /*decltype(_impl_.expr_)*/nullptr} {} |
337 | | struct AssignmentStatementDefaultTypeInternal { |
338 | | PROTOBUF_CONSTEXPR AssignmentStatementDefaultTypeInternal() |
339 | 0 | : _instance(::_pbi::ConstantInitialized{}) {} |
340 | 0 | ~AssignmentStatementDefaultTypeInternal() {} |
341 | | union { |
342 | | AssignmentStatement _instance; |
343 | | }; |
344 | | }; |
345 | | PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 AssignmentStatementDefaultTypeInternal _AssignmentStatement_default_instance_; |
346 | | PROTOBUF_CONSTEXPR IfStmt::IfStmt( |
347 | | ::_pbi::ConstantInitialized): _impl_{ |
348 | | /*decltype(_impl_._has_bits_)*/{} |
349 | | , /*decltype(_impl_._cached_size_)*/{} |
350 | | , /*decltype(_impl_.cond_)*/nullptr |
351 | | , /*decltype(_impl_.if_body_)*/nullptr} {} |
352 | | struct IfStmtDefaultTypeInternal { |
353 | | PROTOBUF_CONSTEXPR IfStmtDefaultTypeInternal() |
354 | 0 | : _instance(::_pbi::ConstantInitialized{}) {} |
355 | 0 | ~IfStmtDefaultTypeInternal() {} |
356 | | union { |
357 | | IfStmt _instance; |
358 | | }; |
359 | | }; |
360 | | PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 IfStmtDefaultTypeInternal _IfStmt_default_instance_; |
361 | | PROTOBUF_CONSTEXPR BoundedForStmt::BoundedForStmt( |
362 | | ::_pbi::ConstantInitialized): _impl_{ |
363 | | /*decltype(_impl_._has_bits_)*/{} |
364 | | , /*decltype(_impl_._cached_size_)*/{} |
365 | | , /*decltype(_impl_.for_body_)*/nullptr} {} |
366 | | struct BoundedForStmtDefaultTypeInternal { |
367 | | PROTOBUF_CONSTEXPR BoundedForStmtDefaultTypeInternal() |
368 | 0 | : _instance(::_pbi::ConstantInitialized{}) {} |
369 | 0 | ~BoundedForStmtDefaultTypeInternal() {} |
370 | | union { |
371 | | BoundedForStmt _instance; |
372 | | }; |
373 | | }; |
374 | | PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 BoundedForStmtDefaultTypeInternal _BoundedForStmt_default_instance_; |
375 | | PROTOBUF_CONSTEXPR ForStmt::ForStmt( |
376 | | ::_pbi::ConstantInitialized): _impl_{ |
377 | | /*decltype(_impl_._has_bits_)*/{} |
378 | | , /*decltype(_impl_._cached_size_)*/{} |
379 | | , /*decltype(_impl_.for_body_)*/nullptr |
380 | | , /*decltype(_impl_.for_init_)*/nullptr |
381 | | , /*decltype(_impl_.for_post_)*/nullptr |
382 | | , /*decltype(_impl_.for_cond_)*/nullptr} {} |
383 | | struct ForStmtDefaultTypeInternal { |
384 | | PROTOBUF_CONSTEXPR ForStmtDefaultTypeInternal() |
385 | 0 | : _instance(::_pbi::ConstantInitialized{}) {} |
386 | 0 | ~ForStmtDefaultTypeInternal() {} |
387 | | union { |
388 | | ForStmt _instance; |
389 | | }; |
390 | | }; |
391 | | PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ForStmtDefaultTypeInternal _ForStmt_default_instance_; |
392 | | PROTOBUF_CONSTEXPR CaseStmt::CaseStmt( |
393 | | ::_pbi::ConstantInitialized): _impl_{ |
394 | | /*decltype(_impl_._has_bits_)*/{} |
395 | | , /*decltype(_impl_._cached_size_)*/{} |
396 | | , /*decltype(_impl_.case_lit_)*/nullptr |
397 | | , /*decltype(_impl_.case_block_)*/nullptr} {} |
398 | | struct CaseStmtDefaultTypeInternal { |
399 | | PROTOBUF_CONSTEXPR CaseStmtDefaultTypeInternal() |
400 | 0 | : _instance(::_pbi::ConstantInitialized{}) {} |
401 | 0 | ~CaseStmtDefaultTypeInternal() {} |
402 | | union { |
403 | | CaseStmt _instance; |
404 | | }; |
405 | | }; |
406 | | PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CaseStmtDefaultTypeInternal _CaseStmt_default_instance_; |
407 | | PROTOBUF_CONSTEXPR SwitchStmt::SwitchStmt( |
408 | | ::_pbi::ConstantInitialized): _impl_{ |
409 | | /*decltype(_impl_._has_bits_)*/{} |
410 | | , /*decltype(_impl_._cached_size_)*/{} |
411 | | , /*decltype(_impl_.case_stmt_)*/{} |
412 | | , /*decltype(_impl_.switch_expr_)*/nullptr |
413 | | , /*decltype(_impl_.default_block_)*/nullptr} {} |
414 | | struct SwitchStmtDefaultTypeInternal { |
415 | | PROTOBUF_CONSTEXPR SwitchStmtDefaultTypeInternal() |
416 | 0 | : _instance(::_pbi::ConstantInitialized{}) {} |
417 | 0 | ~SwitchStmtDefaultTypeInternal() {} |
418 | | union { |
419 | | SwitchStmt _instance; |
420 | | }; |
421 | | }; |
422 | | PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SwitchStmtDefaultTypeInternal _SwitchStmt_default_instance_; |
423 | | PROTOBUF_CONSTEXPR BreakStmt::BreakStmt( |
424 | | ::_pbi::ConstantInitialized) {} |
425 | | struct BreakStmtDefaultTypeInternal { |
426 | | PROTOBUF_CONSTEXPR BreakStmtDefaultTypeInternal() |
427 | 0 | : _instance(::_pbi::ConstantInitialized{}) {} |
428 | 0 | ~BreakStmtDefaultTypeInternal() {} |
429 | | union { |
430 | | BreakStmt _instance; |
431 | | }; |
432 | | }; |
433 | | PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 BreakStmtDefaultTypeInternal _BreakStmt_default_instance_; |
434 | | PROTOBUF_CONSTEXPR ContinueStmt::ContinueStmt( |
435 | | ::_pbi::ConstantInitialized) {} |
436 | | struct ContinueStmtDefaultTypeInternal { |
437 | | PROTOBUF_CONSTEXPR ContinueStmtDefaultTypeInternal() |
438 | 0 | : _instance(::_pbi::ConstantInitialized{}) {} |
439 | 0 | ~ContinueStmtDefaultTypeInternal() {} |
440 | | union { |
441 | | ContinueStmt _instance; |
442 | | }; |
443 | | }; |
444 | | PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ContinueStmtDefaultTypeInternal _ContinueStmt_default_instance_; |
445 | | PROTOBUF_CONSTEXPR StopInvalidStmt::StopInvalidStmt( |
446 | | ::_pbi::ConstantInitialized): _impl_{ |
447 | | /*decltype(_impl_._has_bits_)*/{} |
448 | | , /*decltype(_impl_._cached_size_)*/{} |
449 | | , /*decltype(_impl_.stmt_)*/0} {} |
450 | | struct StopInvalidStmtDefaultTypeInternal { |
451 | | PROTOBUF_CONSTEXPR StopInvalidStmtDefaultTypeInternal() |
452 | 0 | : _instance(::_pbi::ConstantInitialized{}) {} |
453 | 0 | ~StopInvalidStmtDefaultTypeInternal() {} |
454 | | union { |
455 | | StopInvalidStmt _instance; |
456 | | }; |
457 | | }; |
458 | | PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 StopInvalidStmtDefaultTypeInternal _StopInvalidStmt_default_instance_; |
459 | | PROTOBUF_CONSTEXPR RetRevStmt::RetRevStmt( |
460 | | ::_pbi::ConstantInitialized): _impl_{ |
461 | | /*decltype(_impl_._has_bits_)*/{} |
462 | | , /*decltype(_impl_._cached_size_)*/{} |
463 | | , /*decltype(_impl_.pos_)*/nullptr |
464 | | , /*decltype(_impl_.size_)*/nullptr |
465 | | , /*decltype(_impl_.stmt_)*/0} {} |
466 | | struct RetRevStmtDefaultTypeInternal { |
467 | | PROTOBUF_CONSTEXPR RetRevStmtDefaultTypeInternal() |
468 | 0 | : _instance(::_pbi::ConstantInitialized{}) {} |
469 | 0 | ~RetRevStmtDefaultTypeInternal() {} |
470 | | union { |
471 | | RetRevStmt _instance; |
472 | | }; |
473 | | }; |
474 | | PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 RetRevStmtDefaultTypeInternal _RetRevStmt_default_instance_; |
475 | | PROTOBUF_CONSTEXPR SelfDestructStmt::SelfDestructStmt( |
476 | | ::_pbi::ConstantInitialized): _impl_{ |
477 | | /*decltype(_impl_._has_bits_)*/{} |
478 | | , /*decltype(_impl_._cached_size_)*/{} |
479 | | , /*decltype(_impl_.addr_)*/nullptr} {} |
480 | | struct SelfDestructStmtDefaultTypeInternal { |
481 | | PROTOBUF_CONSTEXPR SelfDestructStmtDefaultTypeInternal() |
482 | 0 | : _instance(::_pbi::ConstantInitialized{}) {} |
483 | 0 | ~SelfDestructStmtDefaultTypeInternal() {} |
484 | | union { |
485 | | SelfDestructStmt _instance; |
486 | | }; |
487 | | }; |
488 | | PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SelfDestructStmtDefaultTypeInternal _SelfDestructStmt_default_instance_; |
489 | | PROTOBUF_CONSTEXPR TerminatingStmt::TerminatingStmt( |
490 | | ::_pbi::ConstantInitialized): _impl_{ |
491 | | /*decltype(_impl_.term_oneof_)*/{} |
492 | | , /*decltype(_impl_._cached_size_)*/{} |
493 | | , /*decltype(_impl_._oneof_case_)*/{}} {} |
494 | | struct TerminatingStmtDefaultTypeInternal { |
495 | | PROTOBUF_CONSTEXPR TerminatingStmtDefaultTypeInternal() |
496 | 0 | : _instance(::_pbi::ConstantInitialized{}) {} |
497 | 0 | ~TerminatingStmtDefaultTypeInternal() {} |
498 | | union { |
499 | | TerminatingStmt _instance; |
500 | | }; |
501 | | }; |
502 | | PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 TerminatingStmtDefaultTypeInternal _TerminatingStmt_default_instance_; |
503 | | PROTOBUF_CONSTEXPR FunctionDef::FunctionDef( |
504 | | ::_pbi::ConstantInitialized): _impl_{ |
505 | | /*decltype(_impl_._has_bits_)*/{} |
506 | | , /*decltype(_impl_._cached_size_)*/{} |
507 | | , /*decltype(_impl_.block_)*/nullptr |
508 | | , /*decltype(_impl_.num_input_params_)*/0u |
509 | | , /*decltype(_impl_.num_output_params_)*/0u |
510 | | , /*decltype(_impl_.force_call_)*/false} {} |
511 | | struct FunctionDefDefaultTypeInternal { |
512 | | PROTOBUF_CONSTEXPR FunctionDefDefaultTypeInternal() |
513 | 0 | : _instance(::_pbi::ConstantInitialized{}) {} |
514 | 0 | ~FunctionDefDefaultTypeInternal() {} |
515 | | union { |
516 | | FunctionDef _instance; |
517 | | }; |
518 | | }; |
519 | | PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 FunctionDefDefaultTypeInternal _FunctionDef_default_instance_; |
520 | | PROTOBUF_CONSTEXPR PopStmt::PopStmt( |
521 | | ::_pbi::ConstantInitialized): _impl_{ |
522 | | /*decltype(_impl_._has_bits_)*/{} |
523 | | , /*decltype(_impl_._cached_size_)*/{} |
524 | | , /*decltype(_impl_.expr_)*/nullptr} {} |
525 | | struct PopStmtDefaultTypeInternal { |
526 | | PROTOBUF_CONSTEXPR PopStmtDefaultTypeInternal() |
527 | 0 | : _instance(::_pbi::ConstantInitialized{}) {} |
528 | 0 | ~PopStmtDefaultTypeInternal() {} |
529 | | union { |
530 | | PopStmt _instance; |
531 | | }; |
532 | | }; |
533 | | PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 PopStmtDefaultTypeInternal _PopStmt_default_instance_; |
534 | | PROTOBUF_CONSTEXPR LeaveStmt::LeaveStmt( |
535 | | ::_pbi::ConstantInitialized) {} |
536 | | struct LeaveStmtDefaultTypeInternal { |
537 | | PROTOBUF_CONSTEXPR LeaveStmtDefaultTypeInternal() |
538 | 0 | : _instance(::_pbi::ConstantInitialized{}) {} |
539 | 0 | ~LeaveStmtDefaultTypeInternal() {} |
540 | | union { |
541 | | LeaveStmt _instance; |
542 | | }; |
543 | | }; |
544 | | PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 LeaveStmtDefaultTypeInternal _LeaveStmt_default_instance_; |
545 | | PROTOBUF_CONSTEXPR Statement::Statement( |
546 | | ::_pbi::ConstantInitialized): _impl_{ |
547 | | /*decltype(_impl_.stmt_oneof_)*/{} |
548 | | , /*decltype(_impl_._cached_size_)*/{} |
549 | | , /*decltype(_impl_._oneof_case_)*/{}} {} |
550 | | struct StatementDefaultTypeInternal { |
551 | | PROTOBUF_CONSTEXPR StatementDefaultTypeInternal() |
552 | 0 | : _instance(::_pbi::ConstantInitialized{}) {} |
553 | 0 | ~StatementDefaultTypeInternal() {} |
554 | | union { |
555 | | Statement _instance; |
556 | | }; |
557 | | }; |
558 | | PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 StatementDefaultTypeInternal _Statement_default_instance_; |
559 | | PROTOBUF_CONSTEXPR Block::Block( |
560 | | ::_pbi::ConstantInitialized): _impl_{ |
561 | | /*decltype(_impl_.statements_)*/{} |
562 | | , /*decltype(_impl_._cached_size_)*/{}} {} |
563 | | struct BlockDefaultTypeInternal { |
564 | | PROTOBUF_CONSTEXPR BlockDefaultTypeInternal() |
565 | 0 | : _instance(::_pbi::ConstantInitialized{}) {} |
566 | 0 | ~BlockDefaultTypeInternal() {} |
567 | | union { |
568 | | Block _instance; |
569 | | }; |
570 | | }; |
571 | | PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 BlockDefaultTypeInternal _Block_default_instance_; |
572 | | PROTOBUF_CONSTEXPR Object::Object( |
573 | | ::_pbi::ConstantInitialized): _impl_{ |
574 | | /*decltype(_impl_._has_bits_)*/{} |
575 | | , /*decltype(_impl_._cached_size_)*/{} |
576 | | , /*decltype(_impl_.sub_obj_)*/{} |
577 | | , /*decltype(_impl_.code_)*/nullptr |
578 | | , /*decltype(_impl_.data_)*/nullptr} {} |
579 | | struct ObjectDefaultTypeInternal { |
580 | | PROTOBUF_CONSTEXPR ObjectDefaultTypeInternal() |
581 | 0 | : _instance(::_pbi::ConstantInitialized{}) {} |
582 | 0 | ~ObjectDefaultTypeInternal() {} |
583 | | union { |
584 | | Object _instance; |
585 | | }; |
586 | | }; |
587 | | PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ObjectDefaultTypeInternal _Object_default_instance_; |
588 | | PROTOBUF_CONSTEXPR Code::Code( |
589 | | ::_pbi::ConstantInitialized): _impl_{ |
590 | | /*decltype(_impl_._has_bits_)*/{} |
591 | | , /*decltype(_impl_._cached_size_)*/{} |
592 | | , /*decltype(_impl_.block_)*/nullptr} {} |
593 | | struct CodeDefaultTypeInternal { |
594 | | PROTOBUF_CONSTEXPR CodeDefaultTypeInternal() |
595 | 0 | : _instance(::_pbi::ConstantInitialized{}) {} |
596 | 0 | ~CodeDefaultTypeInternal() {} |
597 | | union { |
598 | | Code _instance; |
599 | | }; |
600 | | }; |
601 | | PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CodeDefaultTypeInternal _Code_default_instance_; |
602 | | PROTOBUF_CONSTEXPR Data::Data( |
603 | | ::_pbi::ConstantInitialized): _impl_{ |
604 | | /*decltype(_impl_._has_bits_)*/{} |
605 | | , /*decltype(_impl_._cached_size_)*/{} |
606 | | , /*decltype(_impl_.hex_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}} {} |
607 | | struct DataDefaultTypeInternal { |
608 | | PROTOBUF_CONSTEXPR DataDefaultTypeInternal() |
609 | 0 | : _instance(::_pbi::ConstantInitialized{}) {} |
610 | 0 | ~DataDefaultTypeInternal() {} |
611 | | union { |
612 | | Data _instance; |
613 | | }; |
614 | | }; |
615 | | PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 DataDefaultTypeInternal _Data_default_instance_; |
616 | | PROTOBUF_CONSTEXPR Program::Program( |
617 | | ::_pbi::ConstantInitialized): _impl_{ |
618 | | /*decltype(_impl_._has_bits_)*/{} |
619 | | , /*decltype(_impl_._cached_size_)*/{} |
620 | | , /*decltype(_impl_.ver_)*/0 |
621 | | , /*decltype(_impl_.step_)*/0u |
622 | | , /*decltype(_impl_.program_oneof_)*/{} |
623 | | , /*decltype(_impl_._oneof_case_)*/{}} {} |
624 | | struct ProgramDefaultTypeInternal { |
625 | | PROTOBUF_CONSTEXPR ProgramDefaultTypeInternal() |
626 | 0 | : _instance(::_pbi::ConstantInitialized{}) {} |
627 | 0 | ~ProgramDefaultTypeInternal() {} |
628 | | union { |
629 | | Program _instance; |
630 | | }; |
631 | | }; |
632 | | PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ProgramDefaultTypeInternal _Program_default_instance_; |
633 | | } // namespace yul_fuzzer |
634 | | } // namespace test |
635 | | } // namespace yul |
636 | | } // namespace solidity |
637 | | static ::_pb::Metadata file_level_metadata_yulProto_2eproto[40]; |
638 | | static const ::_pb::EnumDescriptor* file_level_enum_descriptors_yulProto_2eproto[15]; |
639 | | static constexpr ::_pb::ServiceDescriptor const** file_level_service_descriptors_yulProto_2eproto = nullptr; |
640 | | |
641 | | const uint32_t TableStruct_yulProto_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { |
642 | | PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::VarDecl, _impl_._has_bits_), |
643 | | PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::VarDecl, _internal_metadata_), |
644 | | ~0u, // no _extensions_ |
645 | | ~0u, // no _oneof_case_ |
646 | | ~0u, // no _weak_field_map_ |
647 | | ~0u, // no _inlined_string_donated_ |
648 | | PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::VarDecl, _impl_.expr_), |
649 | | 0, |
650 | | PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::MultiVarDecl, _impl_._has_bits_), |
651 | | PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::MultiVarDecl, _internal_metadata_), |
652 | | ~0u, // no _extensions_ |
653 | | ~0u, // no _oneof_case_ |
654 | | ~0u, // no _weak_field_map_ |
655 | | ~0u, // no _inlined_string_donated_ |
656 | | PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::MultiVarDecl, _impl_.num_vars_), |
657 | | 0, |
658 | | PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::LowLevelCall, _impl_._has_bits_), |
659 | | PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::LowLevelCall, _internal_metadata_), |
660 | | ~0u, // no _extensions_ |
661 | | ~0u, // no _oneof_case_ |
662 | | ~0u, // no _weak_field_map_ |
663 | | ~0u, // no _inlined_string_donated_ |
664 | | PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::LowLevelCall, _impl_.callty_), |
665 | | PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::LowLevelCall, _impl_.gas_), |
666 | | PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::LowLevelCall, _impl_.addr_), |
667 | | PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::LowLevelCall, _impl_.wei_), |
668 | | PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::LowLevelCall, _impl_.in_), |
669 | | PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::LowLevelCall, _impl_.insize_), |
670 | | PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::LowLevelCall, _impl_.out_), |
671 | | PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::LowLevelCall, _impl_.outsize_), |
672 | | 7, |
673 | | 0, |
674 | | 1, |
675 | | 2, |
676 | | 3, |
677 | | 4, |
678 | | 5, |
679 | | 6, |
680 | | PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::Create, _impl_._has_bits_), |
681 | | PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::Create, _internal_metadata_), |
682 | | ~0u, // no _extensions_ |
683 | | ~0u, // no _oneof_case_ |
684 | | ~0u, // no _weak_field_map_ |
685 | | ~0u, // no _inlined_string_donated_ |
686 | | PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::Create, _impl_.createty_), |
687 | | PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::Create, _impl_.wei_), |
688 | | PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::Create, _impl_.position_), |
689 | | PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::Create, _impl_.size_), |
690 | | PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::Create, _impl_.value_), |
691 | | 4, |
692 | | 0, |
693 | | 1, |
694 | | 2, |
695 | | 3, |
696 | | PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::FunctionCall, _impl_._has_bits_), |
697 | | PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::FunctionCall, _internal_metadata_), |
698 | | ~0u, // no _extensions_ |
699 | | ~0u, // no _oneof_case_ |
700 | | ~0u, // no _weak_field_map_ |
701 | | ~0u, // no _inlined_string_donated_ |
702 | | PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::FunctionCall, _impl_.in_param1_), |
703 | | PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::FunctionCall, _impl_.in_param2_), |
704 | | PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::FunctionCall, _impl_.in_param3_), |
705 | | PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::FunctionCall, _impl_.in_param4_), |
706 | | 0, |
707 | | 1, |
708 | | 2, |
709 | | 3, |
710 | | PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::TypedVarDecl, _impl_._has_bits_), |
711 | | PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::TypedVarDecl, _internal_metadata_), |
712 | | ~0u, // no _extensions_ |
713 | | ~0u, // no _oneof_case_ |
714 | | ~0u, // no _weak_field_map_ |
715 | | ~0u, // no _inlined_string_donated_ |
716 | | PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::TypedVarDecl, _impl_.id_), |
717 | | PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::TypedVarDecl, _impl_.type_), |
718 | | PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::TypedVarDecl, _impl_.expr_), |
719 | | 1, |
720 | | 2, |
721 | | 0, |
722 | | PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::VarRef, _impl_._has_bits_), |
723 | | PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::VarRef, _internal_metadata_), |
724 | | ~0u, // no _extensions_ |
725 | | ~0u, // no _oneof_case_ |
726 | | ~0u, // no _weak_field_map_ |
727 | | ~0u, // no _inlined_string_donated_ |
728 | | PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::VarRef, _impl_.varnum_), |
729 | | 0, |
730 | | ~0u, // no _has_bits_ |
731 | | PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::Literal, _internal_metadata_), |
732 | | ~0u, // no _extensions_ |
733 | | PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::Literal, _impl_._oneof_case_[0]), |
734 | | ~0u, // no _weak_field_map_ |
735 | | ~0u, // no _inlined_string_donated_ |
736 | | ::_pbi::kInvalidFieldOffsetTag, |
737 | | ::_pbi::kInvalidFieldOffsetTag, |
738 | | ::_pbi::kInvalidFieldOffsetTag, |
739 | | ::_pbi::kInvalidFieldOffsetTag, |
740 | | PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::Literal, _impl_.literal_oneof_), |
741 | | PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::TypedLiteral, _impl_._has_bits_), |
742 | | PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::TypedLiteral, _internal_metadata_), |
743 | | ~0u, // no _extensions_ |
744 | | ~0u, // no _oneof_case_ |
745 | | ~0u, // no _weak_field_map_ |
746 | | ~0u, // no _inlined_string_donated_ |
747 | | PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::TypedLiteral, _impl_.val_), |
748 | | PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::TypedLiteral, _impl_.type_), |
749 | | 0, |
750 | | 1, |
751 | | PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::BinaryOp, _impl_._has_bits_), |
752 | | PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::BinaryOp, _internal_metadata_), |
753 | | ~0u, // no _extensions_ |
754 | | ~0u, // no _oneof_case_ |
755 | | ~0u, // no _weak_field_map_ |
756 | | ~0u, // no _inlined_string_donated_ |
757 | | PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::BinaryOp, _impl_.op_), |
758 | | PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::BinaryOp, _impl_.left_), |
759 | | PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::BinaryOp, _impl_.right_), |
760 | | 2, |
761 | | 0, |
762 | | 1, |
763 | | PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::UnaryOp, _impl_._has_bits_), |
764 | | PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::UnaryOp, _internal_metadata_), |
765 | | ~0u, // no _extensions_ |
766 | | ~0u, // no _oneof_case_ |
767 | | ~0u, // no _weak_field_map_ |
768 | | ~0u, // no _inlined_string_donated_ |
769 | | PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::UnaryOp, _impl_.op_), |
770 | | PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::UnaryOp, _impl_.operand_), |
771 | | 1, |
772 | | 0, |
773 | | PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::UnaryOpData, _impl_._has_bits_), |
774 | | PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::UnaryOpData, _internal_metadata_), |
775 | | ~0u, // no _extensions_ |
776 | | ~0u, // no _oneof_case_ |
777 | | ~0u, // no _weak_field_map_ |
778 | | ~0u, // no _inlined_string_donated_ |
779 | | PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::UnaryOpData, _impl_.op_), |
780 | | PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::UnaryOpData, _impl_.identifier_), |
781 | | 1, |
782 | | 0, |
783 | | PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::TernaryOp, _impl_._has_bits_), |
784 | | PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::TernaryOp, _internal_metadata_), |
785 | | ~0u, // no _extensions_ |
786 | | ~0u, // no _oneof_case_ |
787 | | ~0u, // no _weak_field_map_ |
788 | | ~0u, // no _inlined_string_donated_ |
789 | | PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::TernaryOp, _impl_.op_), |
790 | | PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::TernaryOp, _impl_.arg1_), |
791 | | PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::TernaryOp, _impl_.arg2_), |
792 | | PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::TernaryOp, _impl_.arg3_), |
793 | | 3, |
794 | | 0, |
795 | | 1, |
796 | | 2, |
797 | | PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::CopyFunc, _impl_._has_bits_), |
798 | | PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::CopyFunc, _internal_metadata_), |
799 | | ~0u, // no _extensions_ |
800 | | ~0u, // no _oneof_case_ |
801 | | ~0u, // no _weak_field_map_ |
802 | | ~0u, // no _inlined_string_donated_ |
803 | | PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::CopyFunc, _impl_.ct_), |
804 | | PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::CopyFunc, _impl_.target_), |
805 | | PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::CopyFunc, _impl_.source_), |
806 | | PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::CopyFunc, _impl_.size_), |
807 | | 3, |
808 | | 0, |
809 | | 1, |
810 | | 2, |
811 | | PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::ExtCodeCopy, _impl_._has_bits_), |
812 | | PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::ExtCodeCopy, _internal_metadata_), |
813 | | ~0u, // no _extensions_ |
814 | | ~0u, // no _oneof_case_ |
815 | | ~0u, // no _weak_field_map_ |
816 | | ~0u, // no _inlined_string_donated_ |
817 | | PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::ExtCodeCopy, _impl_.addr_), |
818 | | PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::ExtCodeCopy, _impl_.target_), |
819 | | PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::ExtCodeCopy, _impl_.source_), |
820 | | PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::ExtCodeCopy, _impl_.size_), |
821 | | 0, |
822 | | 1, |
823 | | 2, |
824 | | 3, |
825 | | PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::NullaryOp, _impl_._has_bits_), |
826 | | PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::NullaryOp, _internal_metadata_), |
827 | | ~0u, // no _extensions_ |
828 | | ~0u, // no _oneof_case_ |
829 | | ~0u, // no _weak_field_map_ |
830 | | ~0u, // no _inlined_string_donated_ |
831 | | PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::NullaryOp, _impl_.op_), |
832 | | 0, |
833 | | PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::StoreFunc, _impl_._has_bits_), |
834 | | PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::StoreFunc, _internal_metadata_), |
835 | | ~0u, // no _extensions_ |
836 | | ~0u, // no _oneof_case_ |
837 | | ~0u, // no _weak_field_map_ |
838 | | ~0u, // no _inlined_string_donated_ |
839 | | PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::StoreFunc, _impl_.loc_), |
840 | | PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::StoreFunc, _impl_.val_), |
841 | | PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::StoreFunc, _impl_.st_), |
842 | | 0, |
843 | | 1, |
844 | | 2, |
845 | | PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::LogFunc, _impl_._has_bits_), |
846 | | PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::LogFunc, _internal_metadata_), |
847 | | ~0u, // no _extensions_ |
848 | | ~0u, // no _oneof_case_ |
849 | | ~0u, // no _weak_field_map_ |
850 | | ~0u, // no _inlined_string_donated_ |
851 | | PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::LogFunc, _impl_.pos_), |
852 | | PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::LogFunc, _impl_.size_), |
853 | | PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::LogFunc, _impl_.num_topics_), |
854 | | PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::LogFunc, _impl_.t1_), |
855 | | PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::LogFunc, _impl_.t2_), |
856 | | PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::LogFunc, _impl_.t3_), |
857 | | PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::LogFunc, _impl_.t4_), |
858 | | 0, |
859 | | 1, |
860 | | 6, |
861 | | 2, |
862 | | 3, |
863 | | 4, |
864 | | 5, |
865 | | ~0u, // no _has_bits_ |
866 | | PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::Expression, _internal_metadata_), |
867 | | ~0u, // no _extensions_ |
868 | | PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::Expression, _impl_._oneof_case_[0]), |
869 | | ~0u, // no _weak_field_map_ |
870 | | ~0u, // no _inlined_string_donated_ |
871 | | ::_pbi::kInvalidFieldOffsetTag, |
872 | | ::_pbi::kInvalidFieldOffsetTag, |
873 | | ::_pbi::kInvalidFieldOffsetTag, |
874 | | ::_pbi::kInvalidFieldOffsetTag, |
875 | | ::_pbi::kInvalidFieldOffsetTag, |
876 | | ::_pbi::kInvalidFieldOffsetTag, |
877 | | ::_pbi::kInvalidFieldOffsetTag, |
878 | | ::_pbi::kInvalidFieldOffsetTag, |
879 | | ::_pbi::kInvalidFieldOffsetTag, |
880 | | ::_pbi::kInvalidFieldOffsetTag, |
881 | | PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::Expression, _impl_.expr_oneof_), |
882 | | PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::AssignmentStatement, _impl_._has_bits_), |
883 | | PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::AssignmentStatement, _internal_metadata_), |
884 | | ~0u, // no _extensions_ |
885 | | ~0u, // no _oneof_case_ |
886 | | ~0u, // no _weak_field_map_ |
887 | | ~0u, // no _inlined_string_donated_ |
888 | | PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::AssignmentStatement, _impl_.ref_id_), |
889 | | PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::AssignmentStatement, _impl_.expr_), |
890 | | 0, |
891 | | 1, |
892 | | PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::IfStmt, _impl_._has_bits_), |
893 | | PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::IfStmt, _internal_metadata_), |
894 | | ~0u, // no _extensions_ |
895 | | ~0u, // no _oneof_case_ |
896 | | ~0u, // no _weak_field_map_ |
897 | | ~0u, // no _inlined_string_donated_ |
898 | | PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::IfStmt, _impl_.cond_), |
899 | | PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::IfStmt, _impl_.if_body_), |
900 | | 0, |
901 | | 1, |
902 | | PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::BoundedForStmt, _impl_._has_bits_), |
903 | | PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::BoundedForStmt, _internal_metadata_), |
904 | | ~0u, // no _extensions_ |
905 | | ~0u, // no _oneof_case_ |
906 | | ~0u, // no _weak_field_map_ |
907 | | ~0u, // no _inlined_string_donated_ |
908 | | PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::BoundedForStmt, _impl_.for_body_), |
909 | | 0, |
910 | | PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::ForStmt, _impl_._has_bits_), |
911 | | PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::ForStmt, _internal_metadata_), |
912 | | ~0u, // no _extensions_ |
913 | | ~0u, // no _oneof_case_ |
914 | | ~0u, // no _weak_field_map_ |
915 | | ~0u, // no _inlined_string_donated_ |
916 | | PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::ForStmt, _impl_.for_body_), |
917 | | PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::ForStmt, _impl_.for_init_), |
918 | | PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::ForStmt, _impl_.for_post_), |
919 | | PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::ForStmt, _impl_.for_cond_), |
920 | | 0, |
921 | | 1, |
922 | | 2, |
923 | | 3, |
924 | | PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::CaseStmt, _impl_._has_bits_), |
925 | | PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::CaseStmt, _internal_metadata_), |
926 | | ~0u, // no _extensions_ |
927 | | ~0u, // no _oneof_case_ |
928 | | ~0u, // no _weak_field_map_ |
929 | | ~0u, // no _inlined_string_donated_ |
930 | | PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::CaseStmt, _impl_.case_lit_), |
931 | | PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::CaseStmt, _impl_.case_block_), |
932 | | 0, |
933 | | 1, |
934 | | PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::SwitchStmt, _impl_._has_bits_), |
935 | | PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::SwitchStmt, _internal_metadata_), |
936 | | ~0u, // no _extensions_ |
937 | | ~0u, // no _oneof_case_ |
938 | | ~0u, // no _weak_field_map_ |
939 | | ~0u, // no _inlined_string_donated_ |
940 | | PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::SwitchStmt, _impl_.switch_expr_), |
941 | | PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::SwitchStmt, _impl_.case_stmt_), |
942 | | PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::SwitchStmt, _impl_.default_block_), |
943 | | 0, |
944 | | ~0u, |
945 | | 1, |
946 | | ~0u, // no _has_bits_ |
947 | | PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::BreakStmt, _internal_metadata_), |
948 | | ~0u, // no _extensions_ |
949 | | ~0u, // no _oneof_case_ |
950 | | ~0u, // no _weak_field_map_ |
951 | | ~0u, // no _inlined_string_donated_ |
952 | | ~0u, // no _has_bits_ |
953 | | PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::ContinueStmt, _internal_metadata_), |
954 | | ~0u, // no _extensions_ |
955 | | ~0u, // no _oneof_case_ |
956 | | ~0u, // no _weak_field_map_ |
957 | | ~0u, // no _inlined_string_donated_ |
958 | | PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::StopInvalidStmt, _impl_._has_bits_), |
959 | | PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::StopInvalidStmt, _internal_metadata_), |
960 | | ~0u, // no _extensions_ |
961 | | ~0u, // no _oneof_case_ |
962 | | ~0u, // no _weak_field_map_ |
963 | | ~0u, // no _inlined_string_donated_ |
964 | | PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::StopInvalidStmt, _impl_.stmt_), |
965 | | 0, |
966 | | PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::RetRevStmt, _impl_._has_bits_), |
967 | | PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::RetRevStmt, _internal_metadata_), |
968 | | ~0u, // no _extensions_ |
969 | | ~0u, // no _oneof_case_ |
970 | | ~0u, // no _weak_field_map_ |
971 | | ~0u, // no _inlined_string_donated_ |
972 | | PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::RetRevStmt, _impl_.stmt_), |
973 | | PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::RetRevStmt, _impl_.pos_), |
974 | | PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::RetRevStmt, _impl_.size_), |
975 | | 2, |
976 | | 0, |
977 | | 1, |
978 | | PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::SelfDestructStmt, _impl_._has_bits_), |
979 | | PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::SelfDestructStmt, _internal_metadata_), |
980 | | ~0u, // no _extensions_ |
981 | | ~0u, // no _oneof_case_ |
982 | | ~0u, // no _weak_field_map_ |
983 | | ~0u, // no _inlined_string_donated_ |
984 | | PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::SelfDestructStmt, _impl_.addr_), |
985 | | 0, |
986 | | ~0u, // no _has_bits_ |
987 | | PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::TerminatingStmt, _internal_metadata_), |
988 | | ~0u, // no _extensions_ |
989 | | PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::TerminatingStmt, _impl_._oneof_case_[0]), |
990 | | ~0u, // no _weak_field_map_ |
991 | | ~0u, // no _inlined_string_donated_ |
992 | | ::_pbi::kInvalidFieldOffsetTag, |
993 | | ::_pbi::kInvalidFieldOffsetTag, |
994 | | ::_pbi::kInvalidFieldOffsetTag, |
995 | | PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::TerminatingStmt, _impl_.term_oneof_), |
996 | | PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::FunctionDef, _impl_._has_bits_), |
997 | | PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::FunctionDef, _internal_metadata_), |
998 | | ~0u, // no _extensions_ |
999 | | ~0u, // no _oneof_case_ |
1000 | | ~0u, // no _weak_field_map_ |
1001 | | ~0u, // no _inlined_string_donated_ |
1002 | | PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::FunctionDef, _impl_.num_input_params_), |
1003 | | PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::FunctionDef, _impl_.num_output_params_), |
1004 | | PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::FunctionDef, _impl_.block_), |
1005 | | PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::FunctionDef, _impl_.force_call_), |
1006 | | 1, |
1007 | | 2, |
1008 | | 0, |
1009 | | 3, |
1010 | | PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::PopStmt, _impl_._has_bits_), |
1011 | | PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::PopStmt, _internal_metadata_), |
1012 | | ~0u, // no _extensions_ |
1013 | | ~0u, // no _oneof_case_ |
1014 | | ~0u, // no _weak_field_map_ |
1015 | | ~0u, // no _inlined_string_donated_ |
1016 | | PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::PopStmt, _impl_.expr_), |
1017 | | 0, |
1018 | | ~0u, // no _has_bits_ |
1019 | | PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::LeaveStmt, _internal_metadata_), |
1020 | | ~0u, // no _extensions_ |
1021 | | ~0u, // no _oneof_case_ |
1022 | | ~0u, // no _weak_field_map_ |
1023 | | ~0u, // no _inlined_string_donated_ |
1024 | | ~0u, // no _has_bits_ |
1025 | | PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::Statement, _internal_metadata_), |
1026 | | ~0u, // no _extensions_ |
1027 | | PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::Statement, _impl_._oneof_case_[0]), |
1028 | | ~0u, // no _weak_field_map_ |
1029 | | ~0u, // no _inlined_string_donated_ |
1030 | | ::_pbi::kInvalidFieldOffsetTag, |
1031 | | ::_pbi::kInvalidFieldOffsetTag, |
1032 | | ::_pbi::kInvalidFieldOffsetTag, |
1033 | | ::_pbi::kInvalidFieldOffsetTag, |
1034 | | ::_pbi::kInvalidFieldOffsetTag, |
1035 | | ::_pbi::kInvalidFieldOffsetTag, |
1036 | | ::_pbi::kInvalidFieldOffsetTag, |
1037 | | ::_pbi::kInvalidFieldOffsetTag, |
1038 | | ::_pbi::kInvalidFieldOffsetTag, |
1039 | | ::_pbi::kInvalidFieldOffsetTag, |
1040 | | ::_pbi::kInvalidFieldOffsetTag, |
1041 | | ::_pbi::kInvalidFieldOffsetTag, |
1042 | | ::_pbi::kInvalidFieldOffsetTag, |
1043 | | ::_pbi::kInvalidFieldOffsetTag, |
1044 | | ::_pbi::kInvalidFieldOffsetTag, |
1045 | | ::_pbi::kInvalidFieldOffsetTag, |
1046 | | ::_pbi::kInvalidFieldOffsetTag, |
1047 | | ::_pbi::kInvalidFieldOffsetTag, |
1048 | | ::_pbi::kInvalidFieldOffsetTag, |
1049 | | PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::Statement, _impl_.stmt_oneof_), |
1050 | | ~0u, // no _has_bits_ |
1051 | | PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::Block, _internal_metadata_), |
1052 | | ~0u, // no _extensions_ |
1053 | | ~0u, // no _oneof_case_ |
1054 | | ~0u, // no _weak_field_map_ |
1055 | | ~0u, // no _inlined_string_donated_ |
1056 | | PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::Block, _impl_.statements_), |
1057 | | PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::Object, _impl_._has_bits_), |
1058 | | PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::Object, _internal_metadata_), |
1059 | | ~0u, // no _extensions_ |
1060 | | ~0u, // no _oneof_case_ |
1061 | | ~0u, // no _weak_field_map_ |
1062 | | ~0u, // no _inlined_string_donated_ |
1063 | | PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::Object, _impl_.code_), |
1064 | | PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::Object, _impl_.data_), |
1065 | | PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::Object, _impl_.sub_obj_), |
1066 | | 0, |
1067 | | 1, |
1068 | | ~0u, |
1069 | | PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::Code, _impl_._has_bits_), |
1070 | | PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::Code, _internal_metadata_), |
1071 | | ~0u, // no _extensions_ |
1072 | | ~0u, // no _oneof_case_ |
1073 | | ~0u, // no _weak_field_map_ |
1074 | | ~0u, // no _inlined_string_donated_ |
1075 | | PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::Code, _impl_.block_), |
1076 | | 0, |
1077 | | PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::Data, _impl_._has_bits_), |
1078 | | PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::Data, _internal_metadata_), |
1079 | | ~0u, // no _extensions_ |
1080 | | ~0u, // no _oneof_case_ |
1081 | | ~0u, // no _weak_field_map_ |
1082 | | ~0u, // no _inlined_string_donated_ |
1083 | | PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::Data, _impl_.hex_), |
1084 | | 0, |
1085 | | PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::Program, _impl_._has_bits_), |
1086 | | PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::Program, _internal_metadata_), |
1087 | | ~0u, // no _extensions_ |
1088 | | PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::Program, _impl_._oneof_case_[0]), |
1089 | | ~0u, // no _weak_field_map_ |
1090 | | ~0u, // no _inlined_string_donated_ |
1091 | | ::_pbi::kInvalidFieldOffsetTag, |
1092 | | ::_pbi::kInvalidFieldOffsetTag, |
1093 | | PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::Program, _impl_.ver_), |
1094 | | PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::Program, _impl_.step_), |
1095 | | PROTOBUF_FIELD_OFFSET(::solidity::yul::test::yul_fuzzer::Program, _impl_.program_oneof_), |
1096 | | ~0u, |
1097 | | ~0u, |
1098 | | 0, |
1099 | | 1, |
1100 | | }; |
1101 | | static const ::_pbi::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { |
1102 | | { 0, 7, -1, sizeof(::solidity::yul::test::yul_fuzzer::VarDecl)}, |
1103 | | { 8, 15, -1, sizeof(::solidity::yul::test::yul_fuzzer::MultiVarDecl)}, |
1104 | | { 16, 30, -1, sizeof(::solidity::yul::test::yul_fuzzer::LowLevelCall)}, |
1105 | | { 38, 49, -1, sizeof(::solidity::yul::test::yul_fuzzer::Create)}, |
1106 | | { 54, 64, -1, sizeof(::solidity::yul::test::yul_fuzzer::FunctionCall)}, |
1107 | | { 68, 77, -1, sizeof(::solidity::yul::test::yul_fuzzer::TypedVarDecl)}, |
1108 | | { 80, 87, -1, sizeof(::solidity::yul::test::yul_fuzzer::VarRef)}, |
1109 | | { 88, -1, -1, sizeof(::solidity::yul::test::yul_fuzzer::Literal)}, |
1110 | | { 99, 107, -1, sizeof(::solidity::yul::test::yul_fuzzer::TypedLiteral)}, |
1111 | | { 109, 118, -1, sizeof(::solidity::yul::test::yul_fuzzer::BinaryOp)}, |
1112 | | { 121, 129, -1, sizeof(::solidity::yul::test::yul_fuzzer::UnaryOp)}, |
1113 | | { 131, 139, -1, sizeof(::solidity::yul::test::yul_fuzzer::UnaryOpData)}, |
1114 | | { 141, 151, -1, sizeof(::solidity::yul::test::yul_fuzzer::TernaryOp)}, |
1115 | | { 155, 165, -1, sizeof(::solidity::yul::test::yul_fuzzer::CopyFunc)}, |
1116 | | { 169, 179, -1, sizeof(::solidity::yul::test::yul_fuzzer::ExtCodeCopy)}, |
1117 | | { 183, 190, -1, sizeof(::solidity::yul::test::yul_fuzzer::NullaryOp)}, |
1118 | | { 191, 200, -1, sizeof(::solidity::yul::test::yul_fuzzer::StoreFunc)}, |
1119 | | { 203, 216, -1, sizeof(::solidity::yul::test::yul_fuzzer::LogFunc)}, |
1120 | | { 223, -1, -1, sizeof(::solidity::yul::test::yul_fuzzer::Expression)}, |
1121 | | { 240, 248, -1, sizeof(::solidity::yul::test::yul_fuzzer::AssignmentStatement)}, |
1122 | | { 250, 258, -1, sizeof(::solidity::yul::test::yul_fuzzer::IfStmt)}, |
1123 | | { 260, 267, -1, sizeof(::solidity::yul::test::yul_fuzzer::BoundedForStmt)}, |
1124 | | { 268, 278, -1, sizeof(::solidity::yul::test::yul_fuzzer::ForStmt)}, |
1125 | | { 282, 290, -1, sizeof(::solidity::yul::test::yul_fuzzer::CaseStmt)}, |
1126 | | { 292, 301, -1, sizeof(::solidity::yul::test::yul_fuzzer::SwitchStmt)}, |
1127 | | { 304, -1, -1, sizeof(::solidity::yul::test::yul_fuzzer::BreakStmt)}, |
1128 | | { 310, -1, -1, sizeof(::solidity::yul::test::yul_fuzzer::ContinueStmt)}, |
1129 | | { 316, 323, -1, sizeof(::solidity::yul::test::yul_fuzzer::StopInvalidStmt)}, |
1130 | | { 324, 333, -1, sizeof(::solidity::yul::test::yul_fuzzer::RetRevStmt)}, |
1131 | | { 336, 343, -1, sizeof(::solidity::yul::test::yul_fuzzer::SelfDestructStmt)}, |
1132 | | { 344, -1, -1, sizeof(::solidity::yul::test::yul_fuzzer::TerminatingStmt)}, |
1133 | | { 354, 364, -1, sizeof(::solidity::yul::test::yul_fuzzer::FunctionDef)}, |
1134 | | { 368, 375, -1, sizeof(::solidity::yul::test::yul_fuzzer::PopStmt)}, |
1135 | | { 376, -1, -1, sizeof(::solidity::yul::test::yul_fuzzer::LeaveStmt)}, |
1136 | | { 382, -1, -1, sizeof(::solidity::yul::test::yul_fuzzer::Statement)}, |
1137 | | { 408, -1, -1, sizeof(::solidity::yul::test::yul_fuzzer::Block)}, |
1138 | | { 415, 424, -1, sizeof(::solidity::yul::test::yul_fuzzer::Object)}, |
1139 | | { 427, 434, -1, sizeof(::solidity::yul::test::yul_fuzzer::Code)}, |
1140 | | { 435, 442, -1, sizeof(::solidity::yul::test::yul_fuzzer::Data)}, |
1141 | | { 443, 454, -1, sizeof(::solidity::yul::test::yul_fuzzer::Program)}, |
1142 | | }; |
1143 | | |
1144 | | static const ::_pb::Message* const file_default_instances[] = { |
1145 | | &::solidity::yul::test::yul_fuzzer::_VarDecl_default_instance_._instance, |
1146 | | &::solidity::yul::test::yul_fuzzer::_MultiVarDecl_default_instance_._instance, |
1147 | | &::solidity::yul::test::yul_fuzzer::_LowLevelCall_default_instance_._instance, |
1148 | | &::solidity::yul::test::yul_fuzzer::_Create_default_instance_._instance, |
1149 | | &::solidity::yul::test::yul_fuzzer::_FunctionCall_default_instance_._instance, |
1150 | | &::solidity::yul::test::yul_fuzzer::_TypedVarDecl_default_instance_._instance, |
1151 | | &::solidity::yul::test::yul_fuzzer::_VarRef_default_instance_._instance, |
1152 | | &::solidity::yul::test::yul_fuzzer::_Literal_default_instance_._instance, |
1153 | | &::solidity::yul::test::yul_fuzzer::_TypedLiteral_default_instance_._instance, |
1154 | | &::solidity::yul::test::yul_fuzzer::_BinaryOp_default_instance_._instance, |
1155 | | &::solidity::yul::test::yul_fuzzer::_UnaryOp_default_instance_._instance, |
1156 | | &::solidity::yul::test::yul_fuzzer::_UnaryOpData_default_instance_._instance, |
1157 | | &::solidity::yul::test::yul_fuzzer::_TernaryOp_default_instance_._instance, |
1158 | | &::solidity::yul::test::yul_fuzzer::_CopyFunc_default_instance_._instance, |
1159 | | &::solidity::yul::test::yul_fuzzer::_ExtCodeCopy_default_instance_._instance, |
1160 | | &::solidity::yul::test::yul_fuzzer::_NullaryOp_default_instance_._instance, |
1161 | | &::solidity::yul::test::yul_fuzzer::_StoreFunc_default_instance_._instance, |
1162 | | &::solidity::yul::test::yul_fuzzer::_LogFunc_default_instance_._instance, |
1163 | | &::solidity::yul::test::yul_fuzzer::_Expression_default_instance_._instance, |
1164 | | &::solidity::yul::test::yul_fuzzer::_AssignmentStatement_default_instance_._instance, |
1165 | | &::solidity::yul::test::yul_fuzzer::_IfStmt_default_instance_._instance, |
1166 | | &::solidity::yul::test::yul_fuzzer::_BoundedForStmt_default_instance_._instance, |
1167 | | &::solidity::yul::test::yul_fuzzer::_ForStmt_default_instance_._instance, |
1168 | | &::solidity::yul::test::yul_fuzzer::_CaseStmt_default_instance_._instance, |
1169 | | &::solidity::yul::test::yul_fuzzer::_SwitchStmt_default_instance_._instance, |
1170 | | &::solidity::yul::test::yul_fuzzer::_BreakStmt_default_instance_._instance, |
1171 | | &::solidity::yul::test::yul_fuzzer::_ContinueStmt_default_instance_._instance, |
1172 | | &::solidity::yul::test::yul_fuzzer::_StopInvalidStmt_default_instance_._instance, |
1173 | | &::solidity::yul::test::yul_fuzzer::_RetRevStmt_default_instance_._instance, |
1174 | | &::solidity::yul::test::yul_fuzzer::_SelfDestructStmt_default_instance_._instance, |
1175 | | &::solidity::yul::test::yul_fuzzer::_TerminatingStmt_default_instance_._instance, |
1176 | | &::solidity::yul::test::yul_fuzzer::_FunctionDef_default_instance_._instance, |
1177 | | &::solidity::yul::test::yul_fuzzer::_PopStmt_default_instance_._instance, |
1178 | | &::solidity::yul::test::yul_fuzzer::_LeaveStmt_default_instance_._instance, |
1179 | | &::solidity::yul::test::yul_fuzzer::_Statement_default_instance_._instance, |
1180 | | &::solidity::yul::test::yul_fuzzer::_Block_default_instance_._instance, |
1181 | | &::solidity::yul::test::yul_fuzzer::_Object_default_instance_._instance, |
1182 | | &::solidity::yul::test::yul_fuzzer::_Code_default_instance_._instance, |
1183 | | &::solidity::yul::test::yul_fuzzer::_Data_default_instance_._instance, |
1184 | | &::solidity::yul::test::yul_fuzzer::_Program_default_instance_._instance, |
1185 | | }; |
1186 | | |
1187 | | const char descriptor_table_protodef_yulProto_2eproto[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = |
1188 | | "\n\016yulProto.proto\022\034solidity.yul.test.yul_" |
1189 | | "fuzzer\"A\n\007VarDecl\0226\n\004expr\030\001 \002(\0132(.solidi" |
1190 | | "ty.yul.test.yul_fuzzer.Expression\" \n\014Mul" |
1191 | | "tiVarDecl\022\020\n\010num_vars\030\001 \002(\r\"\231\004\n\014LowLevel" |
1192 | | "Call\022\?\n\006callty\030\001 \002(\0162/.solidity.yul.test" |
1193 | | ".yul_fuzzer.LowLevelCall.Type\0225\n\003gas\030\002 \002" |
1194 | | "(\0132(.solidity.yul.test.yul_fuzzer.Expres" |
1195 | | "sion\0226\n\004addr\030\003 \002(\0132(.solidity.yul.test.y" |
1196 | | "ul_fuzzer.Expression\0225\n\003wei\030\004 \002(\0132(.soli" |
1197 | | "dity.yul.test.yul_fuzzer.Expression\0224\n\002i" |
1198 | | "n\030\005 \002(\0132(.solidity.yul.test.yul_fuzzer.E" |
1199 | | "xpression\0228\n\006insize\030\006 \002(\0132(.solidity.yul" |
1200 | | ".test.yul_fuzzer.Expression\0225\n\003out\030\007 \002(\013" |
1201 | | "2(.solidity.yul.test.yul_fuzzer.Expressi" |
1202 | | "on\0229\n\007outsize\030\010 \002(\0132(.solidity.yul.test." |
1203 | | "yul_fuzzer.Expression\"@\n\004Type\022\010\n\004CALL\020\000\022" |
1204 | | "\014\n\010CALLCODE\020\001\022\020\n\014DELEGATECALL\020\002\022\016\n\nSTATI" |
1205 | | "CCALL\020\003\"\312\002\n\006Create\022;\n\010createty\030\001 \002(\0162).s" |
1206 | | "olidity.yul.test.yul_fuzzer.Create.Type\022" |
1207 | | "5\n\003wei\030\002 \002(\0132(.solidity.yul.test.yul_fuz" |
1208 | | "zer.Expression\022:\n\010position\030\003 \002(\0132(.solid" |
1209 | | "ity.yul.test.yul_fuzzer.Expression\0226\n\004si" |
1210 | | "ze\030\004 \002(\0132(.solidity.yul.test.yul_fuzzer." |
1211 | | "Expression\0227\n\005value\030\005 \002(\0132(.solidity.yul" |
1212 | | ".test.yul_fuzzer.Expression\"\037\n\004Type\022\n\n\006C" |
1213 | | "REATE\020\000\022\013\n\007CREATE2\020\001\"\202\002\n\014FunctionCall\022;\n" |
1214 | | "\tin_param1\030\001 \002(\0132(.solidity.yul.test.yul" |
1215 | | "_fuzzer.Expression\022;\n\tin_param2\030\002 \002(\0132(." |
1216 | | "solidity.yul.test.yul_fuzzer.Expression\022" |
1217 | | ";\n\tin_param3\030\003 \002(\0132(.solidity.yul.test.y" |
1218 | | "ul_fuzzer.Expression\022;\n\tin_param4\030\004 \002(\0132" |
1219 | | "(.solidity.yul.test.yul_fuzzer.Expressio" |
1220 | | "n\"\207\002\n\014TypedVarDecl\022\n\n\002id\030\001 \002(\005\022A\n\004type\030\002" |
1221 | | " \002(\01623.solidity.yul.test.yul_fuzzer.Type" |
1222 | | "dVarDecl.TypeName\0226\n\004expr\030\003 \002(\0132(.solidi" |
1223 | | "ty.yul.test.yul_fuzzer.Expression\"p\n\010Typ" |
1224 | | "eName\022\010\n\004BOOL\020\001\022\006\n\002U8\020\002\022\007\n\003U32\020\003\022\007\n\003U64\020" |
1225 | | "\004\022\010\n\004U128\020\005\022\010\n\004U256\020\006\022\006\n\002S8\020\007\022\007\n\003S32\020\010\022\007" |
1226 | | "\n\003S64\020\t\022\010\n\004S128\020\n\022\010\n\004S256\020\013\"\030\n\006VarRef\022\016\n" |
1227 | | "\006varnum\030\001 \002(\005\"c\n\007Literal\022\020\n\006intval\030\001 \001(\004" |
1228 | | "H\000\022\020\n\006hexval\030\002 \001(\tH\000\022\020\n\006strval\030\003 \001(\tH\000\022\021" |
1229 | | "\n\007boolval\030\004 \001(\010H\000B\017\n\rliteral_oneof\"\320\001\n\014T" |
1230 | | "ypedLiteral\022\013\n\003val\030\001 \002(\005\022A\n\004type\030\002 \002(\01623" |
1231 | | ".solidity.yul.test.yul_fuzzer.TypedLiter" |
1232 | | "al.TypeName\"p\n\010TypeName\022\010\n\004BOOL\020\001\022\006\n\002U8\020" |
1233 | | "\002\022\007\n\003U32\020\003\022\007\n\003U64\020\004\022\010\n\004U128\020\005\022\010\n\004U256\020\006\022" |
1234 | | "\006\n\002S8\020\007\022\007\n\003S32\020\010\022\007\n\003S64\020\t\022\010\n\004S128\020\n\022\010\n\004S" |
1235 | | "256\020\013\"\202\003\n\010BinaryOp\0226\n\002op\030\001 \002(\0162*.solidit" |
1236 | | "y.yul.test.yul_fuzzer.BinaryOp.BOp\0226\n\004le" |
1237 | | "ft\030\002 \002(\0132(.solidity.yul.test.yul_fuzzer." |
1238 | | "Expression\0227\n\005right\030\003 \002(\0132(.solidity.yul" |
1239 | | ".test.yul_fuzzer.Expression\"\314\001\n\003BOp\022\007\n\003A" |
1240 | | "DD\020\000\022\007\n\003SUB\020\001\022\007\n\003MUL\020\002\022\007\n\003DIV\020\003\022\007\n\003MOD\020\004" |
1241 | | "\022\007\n\003XOR\020\005\022\007\n\003AND\020\006\022\006\n\002OR\020\007\022\006\n\002EQ\020\010\022\006\n\002LT" |
1242 | | "\020\t\022\006\n\002GT\020\n\022\007\n\003SHR\020\013\022\007\n\003SHL\020\014\022\007\n\003SAR\020\r\022\010\n" |
1243 | | "\004SDIV\020\016\022\010\n\004SMOD\020\017\022\007\n\003EXP\020\020\022\007\n\003SLT\020\021\022\007\n\003S" |
1244 | | "GT\020\022\022\010\n\004BYTE\020\023\022\006\n\002SI\020\024\022\n\n\006KECCAK\020\025\"\227\002\n\007U" |
1245 | | "naryOp\0225\n\002op\030\001 \002(\0162).solidity.yul.test.y" |
1246 | | "ul_fuzzer.UnaryOp.UOp\0229\n\007operand\030\002 \002(\0132(" |
1247 | | ".solidity.yul.test.yul_fuzzer.Expression" |
1248 | | "\"\231\001\n\003UOp\022\007\n\003NOT\020\000\022\t\n\005MLOAD\020\001\022\t\n\005SLOAD\020\002\022" |
1249 | | "\t\n\005TLOAD\020\003\022\n\n\006ISZERO\020\004\022\020\n\014CALLDATALOAD\020\005" |
1250 | | "\022\017\n\013EXTCODESIZE\020\006\022\017\n\013EXTCODEHASH\020\007\022\013\n\007BA" |
1251 | | "LANCE\020\010\022\r\n\tBLOCKHASH\020\t\022\014\n\010BLOBHASH\020\n\"\201\001\n" |
1252 | | "\013UnaryOpData\022=\n\002op\030\001 \002(\01621.solidity.yul." |
1253 | | "test.yul_fuzzer.UnaryOpData.UOpData\022\022\n\ni" |
1254 | | "dentifier\030\002 \002(\004\"\037\n\007UOpData\022\010\n\004SIZE\020\001\022\n\n\006" |
1255 | | "OFFSET\020\002\"\207\002\n\tTernaryOp\0227\n\002op\030\001 \002(\0162+.sol" |
1256 | | "idity.yul.test.yul_fuzzer.TernaryOp.TOp\022" |
1257 | | "6\n\004arg1\030\002 \002(\0132(.solidity.yul.test.yul_fu" |
1258 | | "zzer.Expression\0226\n\004arg2\030\003 \002(\0132(.solidity" |
1259 | | ".yul.test.yul_fuzzer.Expression\0226\n\004arg3\030" |
1260 | | "\004 \002(\0132(.solidity.yul.test.yul_fuzzer.Exp" |
1261 | | "ression\"\031\n\003TOp\022\010\n\004ADDM\020\000\022\010\n\004MULM\020\001\"\275\002\n\010C" |
1262 | | "opyFunc\022;\n\002ct\030\001 \002(\0162/.solidity.yul.test." |
1263 | | "yul_fuzzer.CopyFunc.CopyType\0228\n\006target\030\002" |
1264 | | " \002(\0132(.solidity.yul.test.yul_fuzzer.Expr" |
1265 | | "ession\0228\n\006source\030\003 \002(\0132(.solidity.yul.te" |
1266 | | "st.yul_fuzzer.Expression\0226\n\004size\030\004 \002(\0132(" |
1267 | | ".solidity.yul.test.yul_fuzzer.Expression" |
1268 | | "\"H\n\010CopyType\022\014\n\010CALLDATA\020\000\022\010\n\004CODE\020\001\022\016\n\n" |
1269 | | "RETURNDATA\020\002\022\010\n\004DATA\020\003\022\n\n\006MEMORY\020\004\"\361\001\n\013E" |
1270 | | "xtCodeCopy\0226\n\004addr\030\001 \002(\0132(.solidity.yul." |
1271 | | "test.yul_fuzzer.Expression\0228\n\006target\030\002 \002" |
1272 | | "(\0132(.solidity.yul.test.yul_fuzzer.Expres" |
1273 | | "sion\0228\n\006source\030\003 \002(\0132(.solidity.yul.test" |
1274 | | ".yul_fuzzer.Expression\0226\n\004size\030\004 \002(\0132(.s" |
1275 | | "olidity.yul.test.yul_fuzzer.Expression\"\346" |
1276 | | "\002\n\tNullaryOp\0227\n\002op\030\001 \002(\0162+.solidity.yul." |
1277 | | "test.yul_fuzzer.NullaryOp.NOp\"\237\002\n\003NOp\022\t\n" |
1278 | | "\005MSIZE\020\001\022\007\n\003GAS\020\002\022\020\n\014CALLDATASIZE\020\003\022\014\n\010C" |
1279 | | "ODESIZE\020\004\022\022\n\016RETURNDATASIZE\020\005\022\013\n\007ADDRESS" |
1280 | | "\020\006\022\n\n\006ORIGIN\020\007\022\n\n\006CALLER\020\010\022\r\n\tCALLVALUE\020" |
1281 | | "\t\022\014\n\010GASPRICE\020\n\022\014\n\010COINBASE\020\013\022\r\n\tTIMESTA" |
1282 | | "MP\020\014\022\n\n\006NUMBER\020\r\022\016\n\nDIFFICULTY\020\016\022\014\n\010GASL" |
1283 | | "IMIT\020\017\022\017\n\013SELFBALANCE\020\020\022\013\n\007CHAINID\020\021\022\013\n\007" |
1284 | | "BASEFEE\020\022\022\017\n\013BLOBBASEFEE\020\023\022\013\n\007SLOTNUM\020\024\"" |
1285 | | "\362\001\n\tStoreFunc\0225\n\003loc\030\001 \002(\0132(.solidity.yu" |
1286 | | "l.test.yul_fuzzer.Expression\0225\n\003val\030\002 \002(" |
1287 | | "\0132(.solidity.yul.test.yul_fuzzer.Express" |
1288 | | "ion\022;\n\002st\030\003 \002(\0162/.solidity.yul.test.yul_" |
1289 | | "fuzzer.StoreFunc.Storage\":\n\007Storage\022\n\n\006M" |
1290 | | "STORE\020\000\022\n\n\006SSTORE\020\001\022\013\n\007MSTORE8\020\002\022\n\n\006TSTO" |
1291 | | "RE\020\003\"\323\003\n\007LogFunc\0225\n\003pos\030\001 \002(\0132(.solidity" |
1292 | | ".yul.test.yul_fuzzer.Expression\0226\n\004size\030" |
1293 | | "\002 \002(\0132(.solidity.yul.test.yul_fuzzer.Exp" |
1294 | | "ression\022C\n\nnum_topics\030\003 \002(\0162/.solidity.y" |
1295 | | "ul.test.yul_fuzzer.LogFunc.NumTopics\0224\n\002" |
1296 | | "t1\030\004 \002(\0132(.solidity.yul.test.yul_fuzzer." |
1297 | | "Expression\0224\n\002t2\030\005 \002(\0132(.solidity.yul.te" |
1298 | | "st.yul_fuzzer.Expression\0224\n\002t3\030\006 \002(\0132(.s" |
1299 | | "olidity.yul.test.yul_fuzzer.Expression\0224" |
1300 | | "\n\002t4\030\007 \002(\0132(.solidity.yul.test.yul_fuzze" |
1301 | | "r.Expression\"<\n\tNumTopics\022\010\n\004ZERO\020\000\022\007\n\003O" |
1302 | | "NE\020\001\022\007\n\003TWO\020\002\022\t\n\005THREE\020\003\022\010\n\004FOUR\020\004\"\340\004\n\nE" |
1303 | | "xpression\0226\n\006varref\030\001 \001(\0132$.solidity.yul" |
1304 | | ".test.yul_fuzzer.VarRefH\000\0225\n\004cons\030\002 \001(\0132" |
1305 | | "%.solidity.yul.test.yul_fuzzer.LiteralH\000" |
1306 | | "\0227\n\005binop\030\003 \001(\0132&.solidity.yul.test.yul_" |
1307 | | "fuzzer.BinaryOpH\000\0225\n\004unop\030\004 \001(\0132%.solidi" |
1308 | | "ty.yul.test.yul_fuzzer.UnaryOpH\000\0226\n\003top\030" |
1309 | | "\005 \001(\0132\'.solidity.yul.test.yul_fuzzer.Ter" |
1310 | | "naryOpH\000\0226\n\003nop\030\006 \001(\0132\'.solidity.yul.tes" |
1311 | | "t.yul_fuzzer.NullaryOpH\000\022\?\n\tfunc_expr\030\007 " |
1312 | | "\001(\0132*.solidity.yul.test.yul_fuzzer.Funct" |
1313 | | "ionCallH\000\022=\n\007lowcall\030\010 \001(\0132*.solidity.yu" |
1314 | | "l.test.yul_fuzzer.LowLevelCallH\000\0226\n\006crea" |
1315 | | "te\030\t \001(\0132$.solidity.yul.test.yul_fuzzer." |
1316 | | "CreateH\000\022=\n\010unopdata\030\n \001(\0132).solidity.yu" |
1317 | | "l.test.yul_fuzzer.UnaryOpDataH\000B\014\n\nexpr_" |
1318 | | "oneof\"\203\001\n\023AssignmentStatement\0224\n\006ref_id\030" |
1319 | | "\001 \002(\0132$.solidity.yul.test.yul_fuzzer.Var" |
1320 | | "Ref\0226\n\004expr\030\002 \002(\0132(.solidity.yul.test.yu" |
1321 | | "l_fuzzer.Expression\"v\n\006IfStmt\0226\n\004cond\030\001 " |
1322 | | "\002(\0132(.solidity.yul.test.yul_fuzzer.Expre" |
1323 | | "ssion\0224\n\007if_body\030\002 \002(\0132#.solidity.yul.te" |
1324 | | "st.yul_fuzzer.Block\"G\n\016BoundedForStmt\0225\n" |
1325 | | "\010for_body\030\001 \002(\0132#.solidity.yul.test.yul_" |
1326 | | "fuzzer.Block\"\352\001\n\007ForStmt\0225\n\010for_body\030\001 \002" |
1327 | | "(\0132#.solidity.yul.test.yul_fuzzer.Block\022" |
1328 | | "5\n\010for_init\030\002 \002(\0132#.solidity.yul.test.yu" |
1329 | | "l_fuzzer.Block\0225\n\010for_post\030\003 \002(\0132#.solid" |
1330 | | "ity.yul.test.yul_fuzzer.Block\022:\n\010for_con" |
1331 | | "d\030\004 \002(\0132(.solidity.yul.test.yul_fuzzer.E" |
1332 | | "xpression\"|\n\010CaseStmt\0227\n\010case_lit\030\001 \002(\0132" |
1333 | | "%.solidity.yul.test.yul_fuzzer.Literal\0227" |
1334 | | "\n\ncase_block\030\002 \002(\0132#.solidity.yul.test.y" |
1335 | | "ul_fuzzer.Block\"\302\001\n\nSwitchStmt\022=\n\013switch" |
1336 | | "_expr\030\001 \002(\0132(.solidity.yul.test.yul_fuzz" |
1337 | | "er.Expression\0229\n\tcase_stmt\030\002 \003(\0132&.solid" |
1338 | | "ity.yul.test.yul_fuzzer.CaseStmt\022:\n\rdefa" |
1339 | | "ult_block\030\003 \001(\0132#.solidity.yul.test.yul_" |
1340 | | "fuzzer.Block\"\013\n\tBreakStmt\"\016\n\014ContinueStm" |
1341 | | "t\"r\n\017StopInvalidStmt\022@\n\004stmt\030\001 \002(\01622.sol" |
1342 | | "idity.yul.test.yul_fuzzer.StopInvalidStm" |
1343 | | "t.Type\"\035\n\004Type\022\010\n\004STOP\020\000\022\013\n\007INVALID\020\001\"\330\001" |
1344 | | "\n\nRetRevStmt\022;\n\004stmt\030\001 \002(\0162-.solidity.yu" |
1345 | | "l.test.yul_fuzzer.RetRevStmt.Type\0225\n\003pos" |
1346 | | "\030\002 \002(\0132(.solidity.yul.test.yul_fuzzer.Ex" |
1347 | | "pression\0226\n\004size\030\003 \002(\0132(.solidity.yul.te" |
1348 | | "st.yul_fuzzer.Expression\"\036\n\004Type\022\n\n\006RETU" |
1349 | | "RN\020\000\022\n\n\006REVERT\020\001\"J\n\020SelfDestructStmt\0226\n\004" |
1350 | | "addr\030\001 \002(\0132(.solidity.yul.test.yul_fuzze" |
1351 | | "r.Expression\"\347\001\n\017TerminatingStmt\022E\n\014stop" |
1352 | | "_invalid\030\001 \001(\0132-.solidity.yul.test.yul_f" |
1353 | | "uzzer.StopInvalidStmtH\000\022;\n\007ret_rev\030\002 \001(\013" |
1354 | | "2(.solidity.yul.test.yul_fuzzer.RetRevSt" |
1355 | | "mtH\000\022B\n\010self_des\030\003 \001(\0132..solidity.yul.te" |
1356 | | "st.yul_fuzzer.SelfDestructStmtH\000B\014\n\nterm" |
1357 | | "_oneof\"\212\001\n\013FunctionDef\022\030\n\020num_input_para" |
1358 | | "ms\030\001 \002(\r\022\031\n\021num_output_params\030\002 \002(\r\0222\n\005b" |
1359 | | "lock\030\003 \002(\0132#.solidity.yul.test.yul_fuzze" |
1360 | | "r.Block\022\022\n\nforce_call\030\004 \002(\010\"A\n\007PopStmt\0226" |
1361 | | "\n\004expr\030\001 \002(\0132(.solidity.yul.test.yul_fuz" |
1362 | | "zer.Expression\"\013\n\tLeaveStmt\"\302\t\n\tStatemen" |
1363 | | "t\0225\n\004decl\030\001 \001(\0132%.solidity.yul.test.yul_" |
1364 | | "fuzzer.VarDeclH\000\022G\n\nassignment\030\002 \001(\01321.s" |
1365 | | "olidity.yul.test.yul_fuzzer.AssignmentSt" |
1366 | | "atementH\000\0226\n\006ifstmt\030\003 \001(\0132$.solidity.yul" |
1367 | | ".test.yul_fuzzer.IfStmtH\000\022\?\n\014storage_fun" |
1368 | | "c\030\004 \001(\0132\'.solidity.yul.test.yul_fuzzer.S" |
1369 | | "toreFuncH\000\0228\n\tblockstmt\030\005 \001(\0132#.solidity" |
1370 | | ".yul.test.yul_fuzzer.BlockH\000\0228\n\007forstmt\030" |
1371 | | "\006 \001(\0132%.solidity.yul.test.yul_fuzzer.For" |
1372 | | "StmtH\000\022>\n\nswitchstmt\030\007 \001(\0132(.solidity.yu" |
1373 | | "l.test.yul_fuzzer.SwitchStmtH\000\022<\n\tbreaks" |
1374 | | "tmt\030\010 \001(\0132\'.solidity.yul.test.yul_fuzzer" |
1375 | | ".BreakStmtH\000\022>\n\010contstmt\030\t \001(\0132*.solidit" |
1376 | | "y.yul.test.yul_fuzzer.ContinueStmtH\000\0229\n\010" |
1377 | | "log_func\030\n \001(\0132%.solidity.yul.test.yul_f" |
1378 | | "uzzer.LogFuncH\000\022;\n\tcopy_func\030\013 \001(\0132&.sol" |
1379 | | "idity.yul.test.yul_fuzzer.CopyFuncH\000\022A\n\014" |
1380 | | "extcode_copy\030\014 \001(\0132).solidity.yul.test.y" |
1381 | | "ul_fuzzer.ExtCodeCopyH\000\022F\n\rterminatestmt" |
1382 | | "\030\r \001(\0132-.solidity.yul.test.yul_fuzzer.Te" |
1383 | | "rminatingStmtH\000\022B\n\014functioncall\030\016 \001(\0132*." |
1384 | | "solidity.yul.test.yul_fuzzer.FunctionCal" |
1385 | | "lH\000\022F\n\016boundedforstmt\030\017 \001(\0132,.solidity.y" |
1386 | | "ul.test.yul_fuzzer.BoundedForStmtH\000\022<\n\007f" |
1387 | | "uncdef\030\020 \001(\0132).solidity.yul.test.yul_fuz" |
1388 | | "zer.FunctionDefH\000\0224\n\003pop\030\021 \001(\0132%.solidit" |
1389 | | "y.yul.test.yul_fuzzer.PopStmtH\000\0228\n\005leave" |
1390 | | "\030\022 \001(\0132\'.solidity.yul.test.yul_fuzzer.Le" |
1391 | | "aveStmtH\000\022\?\n\tmultidecl\030\023 \001(\0132*.solidity." |
1392 | | "yul.test.yul_fuzzer.MultiVarDeclH\000B\014\n\nst" |
1393 | | "mt_oneof\"D\n\005Block\022;\n\nstatements\030\001 \003(\0132\'." |
1394 | | "solidity.yul.test.yul_fuzzer.Statement\"\243" |
1395 | | "\001\n\006Object\0220\n\004code\030\001 \002(\0132\".solidity.yul.t" |
1396 | | "est.yul_fuzzer.Code\0220\n\004data\030\002 \001(\0132\".soli" |
1397 | | "dity.yul.test.yul_fuzzer.Data\0225\n\007sub_obj" |
1398 | | "\030\003 \003(\0132$.solidity.yul.test.yul_fuzzer.Ob" |
1399 | | "ject\":\n\004Code\0222\n\005block\030\001 \002(\0132#.solidity.y" |
1400 | | "ul.test.yul_fuzzer.Block\"\023\n\004Data\022\013\n\003hex\030" |
1401 | | "\001 \002(\t\"\253\003\n\007Program\0224\n\005block\030\001 \001(\0132#.solid" |
1402 | | "ity.yul.test.yul_fuzzer.BlockH\000\0223\n\003obj\030\002" |
1403 | | " \001(\0132$.solidity.yul.test.yul_fuzzer.Obje" |
1404 | | "ctH\000\022:\n\003ver\030\003 \002(\0162-.solidity.yul.test.yu" |
1405 | | "l_fuzzer.Program.Version\022\014\n\004step\030\004 \002(\r\"\331" |
1406 | | "\001\n\007Version\022\r\n\tHOMESTEAD\020\000\022\r\n\tTANGERINE\020\001" |
1407 | | "\022\014\n\010SPURIOUS\020\002\022\r\n\tBYZANTIUM\020\003\022\022\n\016CONSTAN" |
1408 | | "TINOPLE\020\004\022\016\n\nPETERSBURG\020\005\022\014\n\010ISTANBUL\020\006\022" |
1409 | | "\n\n\006BERLIN\020\007\022\n\n\006LONDON\020\010\022\t\n\005PARIS\020\t\022\014\n\010SH" |
1410 | | "ANGHAI\020\n\022\n\n\006CANCUN\020\013\022\n\n\006PRAGUE\020\014\022\t\n\005OSAK" |
1411 | | "A\020\r\022\r\n\tAMSTERDAM\020\016B\017\n\rprogram_oneof" |
1412 | | ; |
1413 | | static ::_pbi::once_flag descriptor_table_yulProto_2eproto_once; |
1414 | | const ::_pbi::DescriptorTable descriptor_table_yulProto_2eproto = { |
1415 | | false, false, 8955, descriptor_table_protodef_yulProto_2eproto, |
1416 | | "yulProto.proto", |
1417 | | &descriptor_table_yulProto_2eproto_once, nullptr, 0, 40, |
1418 | | schemas, file_default_instances, TableStruct_yulProto_2eproto::offsets, |
1419 | | file_level_metadata_yulProto_2eproto, file_level_enum_descriptors_yulProto_2eproto, |
1420 | | file_level_service_descriptors_yulProto_2eproto, |
1421 | | }; |
1422 | 5 | PROTOBUF_ATTRIBUTE_WEAK const ::_pbi::DescriptorTable* descriptor_table_yulProto_2eproto_getter() { |
1423 | 5 | return &descriptor_table_yulProto_2eproto; |
1424 | 5 | } |
1425 | | |
1426 | | // Force running AddDescriptors() at dynamic initialization time. |
1427 | | PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 static ::_pbi::AddDescriptorsRunner dynamic_init_dummy_yulProto_2eproto(&descriptor_table_yulProto_2eproto); |
1428 | | namespace solidity { |
1429 | | namespace yul { |
1430 | | namespace test { |
1431 | | namespace yul_fuzzer { |
1432 | 0 | const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* LowLevelCall_Type_descriptor() { |
1433 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_yulProto_2eproto); |
1434 | 0 | return file_level_enum_descriptors_yulProto_2eproto[0]; |
1435 | 0 | } |
1436 | 0 | bool LowLevelCall_Type_IsValid(int value) { |
1437 | 0 | switch (value) { |
1438 | 0 | case 0: |
1439 | 0 | case 1: |
1440 | 0 | case 2: |
1441 | 0 | case 3: |
1442 | 0 | return true; |
1443 | 0 | default: |
1444 | 0 | return false; |
1445 | 0 | } |
1446 | 0 | } |
1447 | | |
1448 | | #if (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) |
1449 | | constexpr LowLevelCall_Type LowLevelCall::CALL; |
1450 | | constexpr LowLevelCall_Type LowLevelCall::CALLCODE; |
1451 | | constexpr LowLevelCall_Type LowLevelCall::DELEGATECALL; |
1452 | | constexpr LowLevelCall_Type LowLevelCall::STATICCALL; |
1453 | | constexpr LowLevelCall_Type LowLevelCall::Type_MIN; |
1454 | | constexpr LowLevelCall_Type LowLevelCall::Type_MAX; |
1455 | | constexpr int LowLevelCall::Type_ARRAYSIZE; |
1456 | | #endif // (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) |
1457 | 0 | const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* Create_Type_descriptor() { |
1458 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_yulProto_2eproto); |
1459 | 0 | return file_level_enum_descriptors_yulProto_2eproto[1]; |
1460 | 0 | } |
1461 | 0 | bool Create_Type_IsValid(int value) { |
1462 | 0 | switch (value) { |
1463 | 0 | case 0: |
1464 | 0 | case 1: |
1465 | 0 | return true; |
1466 | 0 | default: |
1467 | 0 | return false; |
1468 | 0 | } |
1469 | 0 | } |
1470 | | |
1471 | | #if (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) |
1472 | | constexpr Create_Type Create::CREATE; |
1473 | | constexpr Create_Type Create::CREATE2; |
1474 | | constexpr Create_Type Create::Type_MIN; |
1475 | | constexpr Create_Type Create::Type_MAX; |
1476 | | constexpr int Create::Type_ARRAYSIZE; |
1477 | | #endif // (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) |
1478 | 0 | const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* TypedVarDecl_TypeName_descriptor() { |
1479 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_yulProto_2eproto); |
1480 | 0 | return file_level_enum_descriptors_yulProto_2eproto[2]; |
1481 | 0 | } |
1482 | 0 | bool TypedVarDecl_TypeName_IsValid(int value) { |
1483 | 0 | switch (value) { |
1484 | 0 | case 1: |
1485 | 0 | case 2: |
1486 | 0 | case 3: |
1487 | 0 | case 4: |
1488 | 0 | case 5: |
1489 | 0 | case 6: |
1490 | 0 | case 7: |
1491 | 0 | case 8: |
1492 | 0 | case 9: |
1493 | 0 | case 10: |
1494 | 0 | case 11: |
1495 | 0 | return true; |
1496 | 0 | default: |
1497 | 0 | return false; |
1498 | 0 | } |
1499 | 0 | } |
1500 | | |
1501 | | #if (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) |
1502 | | constexpr TypedVarDecl_TypeName TypedVarDecl::BOOL; |
1503 | | constexpr TypedVarDecl_TypeName TypedVarDecl::U8; |
1504 | | constexpr TypedVarDecl_TypeName TypedVarDecl::U32; |
1505 | | constexpr TypedVarDecl_TypeName TypedVarDecl::U64; |
1506 | | constexpr TypedVarDecl_TypeName TypedVarDecl::U128; |
1507 | | constexpr TypedVarDecl_TypeName TypedVarDecl::U256; |
1508 | | constexpr TypedVarDecl_TypeName TypedVarDecl::S8; |
1509 | | constexpr TypedVarDecl_TypeName TypedVarDecl::S32; |
1510 | | constexpr TypedVarDecl_TypeName TypedVarDecl::S64; |
1511 | | constexpr TypedVarDecl_TypeName TypedVarDecl::S128; |
1512 | | constexpr TypedVarDecl_TypeName TypedVarDecl::S256; |
1513 | | constexpr TypedVarDecl_TypeName TypedVarDecl::TypeName_MIN; |
1514 | | constexpr TypedVarDecl_TypeName TypedVarDecl::TypeName_MAX; |
1515 | | constexpr int TypedVarDecl::TypeName_ARRAYSIZE; |
1516 | | #endif // (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) |
1517 | 0 | const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* TypedLiteral_TypeName_descriptor() { |
1518 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_yulProto_2eproto); |
1519 | 0 | return file_level_enum_descriptors_yulProto_2eproto[3]; |
1520 | 0 | } |
1521 | 0 | bool TypedLiteral_TypeName_IsValid(int value) { |
1522 | 0 | switch (value) { |
1523 | 0 | case 1: |
1524 | 0 | case 2: |
1525 | 0 | case 3: |
1526 | 0 | case 4: |
1527 | 0 | case 5: |
1528 | 0 | case 6: |
1529 | 0 | case 7: |
1530 | 0 | case 8: |
1531 | 0 | case 9: |
1532 | 0 | case 10: |
1533 | 0 | case 11: |
1534 | 0 | return true; |
1535 | 0 | default: |
1536 | 0 | return false; |
1537 | 0 | } |
1538 | 0 | } |
1539 | | |
1540 | | #if (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) |
1541 | | constexpr TypedLiteral_TypeName TypedLiteral::BOOL; |
1542 | | constexpr TypedLiteral_TypeName TypedLiteral::U8; |
1543 | | constexpr TypedLiteral_TypeName TypedLiteral::U32; |
1544 | | constexpr TypedLiteral_TypeName TypedLiteral::U64; |
1545 | | constexpr TypedLiteral_TypeName TypedLiteral::U128; |
1546 | | constexpr TypedLiteral_TypeName TypedLiteral::U256; |
1547 | | constexpr TypedLiteral_TypeName TypedLiteral::S8; |
1548 | | constexpr TypedLiteral_TypeName TypedLiteral::S32; |
1549 | | constexpr TypedLiteral_TypeName TypedLiteral::S64; |
1550 | | constexpr TypedLiteral_TypeName TypedLiteral::S128; |
1551 | | constexpr TypedLiteral_TypeName TypedLiteral::S256; |
1552 | | constexpr TypedLiteral_TypeName TypedLiteral::TypeName_MIN; |
1553 | | constexpr TypedLiteral_TypeName TypedLiteral::TypeName_MAX; |
1554 | | constexpr int TypedLiteral::TypeName_ARRAYSIZE; |
1555 | | #endif // (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) |
1556 | 0 | const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* BinaryOp_BOp_descriptor() { |
1557 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_yulProto_2eproto); |
1558 | 0 | return file_level_enum_descriptors_yulProto_2eproto[4]; |
1559 | 0 | } |
1560 | 0 | bool BinaryOp_BOp_IsValid(int value) { |
1561 | 0 | switch (value) { |
1562 | 0 | case 0: |
1563 | 0 | case 1: |
1564 | 0 | case 2: |
1565 | 0 | case 3: |
1566 | 0 | case 4: |
1567 | 0 | case 5: |
1568 | 0 | case 6: |
1569 | 0 | case 7: |
1570 | 0 | case 8: |
1571 | 0 | case 9: |
1572 | 0 | case 10: |
1573 | 0 | case 11: |
1574 | 0 | case 12: |
1575 | 0 | case 13: |
1576 | 0 | case 14: |
1577 | 0 | case 15: |
1578 | 0 | case 16: |
1579 | 0 | case 17: |
1580 | 0 | case 18: |
1581 | 0 | case 19: |
1582 | 0 | case 20: |
1583 | 0 | case 21: |
1584 | 0 | return true; |
1585 | 0 | default: |
1586 | 0 | return false; |
1587 | 0 | } |
1588 | 0 | } |
1589 | | |
1590 | | #if (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) |
1591 | | constexpr BinaryOp_BOp BinaryOp::ADD; |
1592 | | constexpr BinaryOp_BOp BinaryOp::SUB; |
1593 | | constexpr BinaryOp_BOp BinaryOp::MUL; |
1594 | | constexpr BinaryOp_BOp BinaryOp::DIV; |
1595 | | constexpr BinaryOp_BOp BinaryOp::MOD; |
1596 | | constexpr BinaryOp_BOp BinaryOp::XOR; |
1597 | | constexpr BinaryOp_BOp BinaryOp::AND; |
1598 | | constexpr BinaryOp_BOp BinaryOp::OR; |
1599 | | constexpr BinaryOp_BOp BinaryOp::EQ; |
1600 | | constexpr BinaryOp_BOp BinaryOp::LT; |
1601 | | constexpr BinaryOp_BOp BinaryOp::GT; |
1602 | | constexpr BinaryOp_BOp BinaryOp::SHR; |
1603 | | constexpr BinaryOp_BOp BinaryOp::SHL; |
1604 | | constexpr BinaryOp_BOp BinaryOp::SAR; |
1605 | | constexpr BinaryOp_BOp BinaryOp::SDIV; |
1606 | | constexpr BinaryOp_BOp BinaryOp::SMOD; |
1607 | | constexpr BinaryOp_BOp BinaryOp::EXP; |
1608 | | constexpr BinaryOp_BOp BinaryOp::SLT; |
1609 | | constexpr BinaryOp_BOp BinaryOp::SGT; |
1610 | | constexpr BinaryOp_BOp BinaryOp::BYTE; |
1611 | | constexpr BinaryOp_BOp BinaryOp::SI; |
1612 | | constexpr BinaryOp_BOp BinaryOp::KECCAK; |
1613 | | constexpr BinaryOp_BOp BinaryOp::BOp_MIN; |
1614 | | constexpr BinaryOp_BOp BinaryOp::BOp_MAX; |
1615 | | constexpr int BinaryOp::BOp_ARRAYSIZE; |
1616 | | #endif // (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) |
1617 | 0 | const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* UnaryOp_UOp_descriptor() { |
1618 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_yulProto_2eproto); |
1619 | 0 | return file_level_enum_descriptors_yulProto_2eproto[5]; |
1620 | 0 | } |
1621 | 0 | bool UnaryOp_UOp_IsValid(int value) { |
1622 | 0 | switch (value) { |
1623 | 0 | case 0: |
1624 | 0 | case 1: |
1625 | 0 | case 2: |
1626 | 0 | case 3: |
1627 | 0 | case 4: |
1628 | 0 | case 5: |
1629 | 0 | case 6: |
1630 | 0 | case 7: |
1631 | 0 | case 8: |
1632 | 0 | case 9: |
1633 | 0 | case 10: |
1634 | 0 | return true; |
1635 | 0 | default: |
1636 | 0 | return false; |
1637 | 0 | } |
1638 | 0 | } |
1639 | | |
1640 | | #if (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) |
1641 | | constexpr UnaryOp_UOp UnaryOp::NOT; |
1642 | | constexpr UnaryOp_UOp UnaryOp::MLOAD; |
1643 | | constexpr UnaryOp_UOp UnaryOp::SLOAD; |
1644 | | constexpr UnaryOp_UOp UnaryOp::TLOAD; |
1645 | | constexpr UnaryOp_UOp UnaryOp::ISZERO; |
1646 | | constexpr UnaryOp_UOp UnaryOp::CALLDATALOAD; |
1647 | | constexpr UnaryOp_UOp UnaryOp::EXTCODESIZE; |
1648 | | constexpr UnaryOp_UOp UnaryOp::EXTCODEHASH; |
1649 | | constexpr UnaryOp_UOp UnaryOp::BALANCE; |
1650 | | constexpr UnaryOp_UOp UnaryOp::BLOCKHASH; |
1651 | | constexpr UnaryOp_UOp UnaryOp::BLOBHASH; |
1652 | | constexpr UnaryOp_UOp UnaryOp::UOp_MIN; |
1653 | | constexpr UnaryOp_UOp UnaryOp::UOp_MAX; |
1654 | | constexpr int UnaryOp::UOp_ARRAYSIZE; |
1655 | | #endif // (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) |
1656 | 0 | const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* UnaryOpData_UOpData_descriptor() { |
1657 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_yulProto_2eproto); |
1658 | 0 | return file_level_enum_descriptors_yulProto_2eproto[6]; |
1659 | 0 | } |
1660 | 0 | bool UnaryOpData_UOpData_IsValid(int value) { |
1661 | 0 | switch (value) { |
1662 | 0 | case 1: |
1663 | 0 | case 2: |
1664 | 0 | return true; |
1665 | 0 | default: |
1666 | 0 | return false; |
1667 | 0 | } |
1668 | 0 | } |
1669 | | |
1670 | | #if (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) |
1671 | | constexpr UnaryOpData_UOpData UnaryOpData::SIZE; |
1672 | | constexpr UnaryOpData_UOpData UnaryOpData::OFFSET; |
1673 | | constexpr UnaryOpData_UOpData UnaryOpData::UOpData_MIN; |
1674 | | constexpr UnaryOpData_UOpData UnaryOpData::UOpData_MAX; |
1675 | | constexpr int UnaryOpData::UOpData_ARRAYSIZE; |
1676 | | #endif // (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) |
1677 | 0 | const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* TernaryOp_TOp_descriptor() { |
1678 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_yulProto_2eproto); |
1679 | 0 | return file_level_enum_descriptors_yulProto_2eproto[7]; |
1680 | 0 | } |
1681 | 0 | bool TernaryOp_TOp_IsValid(int value) { |
1682 | 0 | switch (value) { |
1683 | 0 | case 0: |
1684 | 0 | case 1: |
1685 | 0 | return true; |
1686 | 0 | default: |
1687 | 0 | return false; |
1688 | 0 | } |
1689 | 0 | } |
1690 | | |
1691 | | #if (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) |
1692 | | constexpr TernaryOp_TOp TernaryOp::ADDM; |
1693 | | constexpr TernaryOp_TOp TernaryOp::MULM; |
1694 | | constexpr TernaryOp_TOp TernaryOp::TOp_MIN; |
1695 | | constexpr TernaryOp_TOp TernaryOp::TOp_MAX; |
1696 | | constexpr int TernaryOp::TOp_ARRAYSIZE; |
1697 | | #endif // (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) |
1698 | 0 | const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* CopyFunc_CopyType_descriptor() { |
1699 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_yulProto_2eproto); |
1700 | 0 | return file_level_enum_descriptors_yulProto_2eproto[8]; |
1701 | 0 | } |
1702 | 0 | bool CopyFunc_CopyType_IsValid(int value) { |
1703 | 0 | switch (value) { |
1704 | 0 | case 0: |
1705 | 0 | case 1: |
1706 | 0 | case 2: |
1707 | 0 | case 3: |
1708 | 0 | case 4: |
1709 | 0 | return true; |
1710 | 0 | default: |
1711 | 0 | return false; |
1712 | 0 | } |
1713 | 0 | } |
1714 | | |
1715 | | #if (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) |
1716 | | constexpr CopyFunc_CopyType CopyFunc::CALLDATA; |
1717 | | constexpr CopyFunc_CopyType CopyFunc::CODE; |
1718 | | constexpr CopyFunc_CopyType CopyFunc::RETURNDATA; |
1719 | | constexpr CopyFunc_CopyType CopyFunc::DATA; |
1720 | | constexpr CopyFunc_CopyType CopyFunc::MEMORY; |
1721 | | constexpr CopyFunc_CopyType CopyFunc::CopyType_MIN; |
1722 | | constexpr CopyFunc_CopyType CopyFunc::CopyType_MAX; |
1723 | | constexpr int CopyFunc::CopyType_ARRAYSIZE; |
1724 | | #endif // (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) |
1725 | 0 | const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* NullaryOp_NOp_descriptor() { |
1726 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_yulProto_2eproto); |
1727 | 0 | return file_level_enum_descriptors_yulProto_2eproto[9]; |
1728 | 0 | } |
1729 | 0 | bool NullaryOp_NOp_IsValid(int value) { |
1730 | 0 | switch (value) { |
1731 | 0 | case 1: |
1732 | 0 | case 2: |
1733 | 0 | case 3: |
1734 | 0 | case 4: |
1735 | 0 | case 5: |
1736 | 0 | case 6: |
1737 | 0 | case 7: |
1738 | 0 | case 8: |
1739 | 0 | case 9: |
1740 | 0 | case 10: |
1741 | 0 | case 11: |
1742 | 0 | case 12: |
1743 | 0 | case 13: |
1744 | 0 | case 14: |
1745 | 0 | case 15: |
1746 | 0 | case 16: |
1747 | 0 | case 17: |
1748 | 0 | case 18: |
1749 | 0 | case 19: |
1750 | 0 | case 20: |
1751 | 0 | return true; |
1752 | 0 | default: |
1753 | 0 | return false; |
1754 | 0 | } |
1755 | 0 | } |
1756 | | |
1757 | | #if (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) |
1758 | | constexpr NullaryOp_NOp NullaryOp::MSIZE; |
1759 | | constexpr NullaryOp_NOp NullaryOp::GAS; |
1760 | | constexpr NullaryOp_NOp NullaryOp::CALLDATASIZE; |
1761 | | constexpr NullaryOp_NOp NullaryOp::CODESIZE; |
1762 | | constexpr NullaryOp_NOp NullaryOp::RETURNDATASIZE; |
1763 | | constexpr NullaryOp_NOp NullaryOp::ADDRESS; |
1764 | | constexpr NullaryOp_NOp NullaryOp::ORIGIN; |
1765 | | constexpr NullaryOp_NOp NullaryOp::CALLER; |
1766 | | constexpr NullaryOp_NOp NullaryOp::CALLVALUE; |
1767 | | constexpr NullaryOp_NOp NullaryOp::GASPRICE; |
1768 | | constexpr NullaryOp_NOp NullaryOp::COINBASE; |
1769 | | constexpr NullaryOp_NOp NullaryOp::TIMESTAMP; |
1770 | | constexpr NullaryOp_NOp NullaryOp::NUMBER; |
1771 | | constexpr NullaryOp_NOp NullaryOp::DIFFICULTY; |
1772 | | constexpr NullaryOp_NOp NullaryOp::GASLIMIT; |
1773 | | constexpr NullaryOp_NOp NullaryOp::SELFBALANCE; |
1774 | | constexpr NullaryOp_NOp NullaryOp::CHAINID; |
1775 | | constexpr NullaryOp_NOp NullaryOp::BASEFEE; |
1776 | | constexpr NullaryOp_NOp NullaryOp::BLOBBASEFEE; |
1777 | | constexpr NullaryOp_NOp NullaryOp::SLOTNUM; |
1778 | | constexpr NullaryOp_NOp NullaryOp::NOp_MIN; |
1779 | | constexpr NullaryOp_NOp NullaryOp::NOp_MAX; |
1780 | | constexpr int NullaryOp::NOp_ARRAYSIZE; |
1781 | | #endif // (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) |
1782 | 0 | const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* StoreFunc_Storage_descriptor() { |
1783 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_yulProto_2eproto); |
1784 | 0 | return file_level_enum_descriptors_yulProto_2eproto[10]; |
1785 | 0 | } |
1786 | 50.6k | bool StoreFunc_Storage_IsValid(int value) { |
1787 | 50.6k | switch (value) { |
1788 | 12.6k | case 0: |
1789 | 25.3k | case 1: |
1790 | 38.0k | case 2: |
1791 | 50.6k | case 3: |
1792 | 50.6k | return true; |
1793 | 0 | default: |
1794 | 0 | return false; |
1795 | 50.6k | } |
1796 | 50.6k | } |
1797 | | |
1798 | | #if (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) |
1799 | | constexpr StoreFunc_Storage StoreFunc::MSTORE; |
1800 | | constexpr StoreFunc_Storage StoreFunc::SSTORE; |
1801 | | constexpr StoreFunc_Storage StoreFunc::MSTORE8; |
1802 | | constexpr StoreFunc_Storage StoreFunc::TSTORE; |
1803 | | constexpr StoreFunc_Storage StoreFunc::Storage_MIN; |
1804 | | constexpr StoreFunc_Storage StoreFunc::Storage_MAX; |
1805 | | constexpr int StoreFunc::Storage_ARRAYSIZE; |
1806 | | #endif // (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) |
1807 | 0 | const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* LogFunc_NumTopics_descriptor() { |
1808 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_yulProto_2eproto); |
1809 | 0 | return file_level_enum_descriptors_yulProto_2eproto[11]; |
1810 | 0 | } |
1811 | 0 | bool LogFunc_NumTopics_IsValid(int value) { |
1812 | 0 | switch (value) { |
1813 | 0 | case 0: |
1814 | 0 | case 1: |
1815 | 0 | case 2: |
1816 | 0 | case 3: |
1817 | 0 | case 4: |
1818 | 0 | return true; |
1819 | 0 | default: |
1820 | 0 | return false; |
1821 | 0 | } |
1822 | 0 | } |
1823 | | |
1824 | | #if (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) |
1825 | | constexpr LogFunc_NumTopics LogFunc::ZERO; |
1826 | | constexpr LogFunc_NumTopics LogFunc::ONE; |
1827 | | constexpr LogFunc_NumTopics LogFunc::TWO; |
1828 | | constexpr LogFunc_NumTopics LogFunc::THREE; |
1829 | | constexpr LogFunc_NumTopics LogFunc::FOUR; |
1830 | | constexpr LogFunc_NumTopics LogFunc::NumTopics_MIN; |
1831 | | constexpr LogFunc_NumTopics LogFunc::NumTopics_MAX; |
1832 | | constexpr int LogFunc::NumTopics_ARRAYSIZE; |
1833 | | #endif // (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) |
1834 | 0 | const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* StopInvalidStmt_Type_descriptor() { |
1835 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_yulProto_2eproto); |
1836 | 0 | return file_level_enum_descriptors_yulProto_2eproto[12]; |
1837 | 0 | } |
1838 | 0 | bool StopInvalidStmt_Type_IsValid(int value) { |
1839 | 0 | switch (value) { |
1840 | 0 | case 0: |
1841 | 0 | case 1: |
1842 | 0 | return true; |
1843 | 0 | default: |
1844 | 0 | return false; |
1845 | 0 | } |
1846 | 0 | } |
1847 | | |
1848 | | #if (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) |
1849 | | constexpr StopInvalidStmt_Type StopInvalidStmt::STOP; |
1850 | | constexpr StopInvalidStmt_Type StopInvalidStmt::INVALID; |
1851 | | constexpr StopInvalidStmt_Type StopInvalidStmt::Type_MIN; |
1852 | | constexpr StopInvalidStmt_Type StopInvalidStmt::Type_MAX; |
1853 | | constexpr int StopInvalidStmt::Type_ARRAYSIZE; |
1854 | | #endif // (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) |
1855 | 0 | const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* RetRevStmt_Type_descriptor() { |
1856 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_yulProto_2eproto); |
1857 | 0 | return file_level_enum_descriptors_yulProto_2eproto[13]; |
1858 | 0 | } |
1859 | 0 | bool RetRevStmt_Type_IsValid(int value) { |
1860 | 0 | switch (value) { |
1861 | 0 | case 0: |
1862 | 0 | case 1: |
1863 | 0 | return true; |
1864 | 0 | default: |
1865 | 0 | return false; |
1866 | 0 | } |
1867 | 0 | } |
1868 | | |
1869 | | #if (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) |
1870 | | constexpr RetRevStmt_Type RetRevStmt::RETURN; |
1871 | | constexpr RetRevStmt_Type RetRevStmt::REVERT; |
1872 | | constexpr RetRevStmt_Type RetRevStmt::Type_MIN; |
1873 | | constexpr RetRevStmt_Type RetRevStmt::Type_MAX; |
1874 | | constexpr int RetRevStmt::Type_ARRAYSIZE; |
1875 | | #endif // (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) |
1876 | 0 | const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* Program_Version_descriptor() { |
1877 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_yulProto_2eproto); |
1878 | 0 | return file_level_enum_descriptors_yulProto_2eproto[14]; |
1879 | 0 | } |
1880 | 0 | bool Program_Version_IsValid(int value) { |
1881 | 0 | switch (value) { |
1882 | 0 | case 0: |
1883 | 0 | case 1: |
1884 | 0 | case 2: |
1885 | 0 | case 3: |
1886 | 0 | case 4: |
1887 | 0 | case 5: |
1888 | 0 | case 6: |
1889 | 0 | case 7: |
1890 | 0 | case 8: |
1891 | 0 | case 9: |
1892 | 0 | case 10: |
1893 | 0 | case 11: |
1894 | 0 | case 12: |
1895 | 0 | case 13: |
1896 | 0 | case 14: |
1897 | 0 | return true; |
1898 | 0 | default: |
1899 | 0 | return false; |
1900 | 0 | } |
1901 | 0 | } |
1902 | | |
1903 | | #if (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) |
1904 | | constexpr Program_Version Program::HOMESTEAD; |
1905 | | constexpr Program_Version Program::TANGERINE; |
1906 | | constexpr Program_Version Program::SPURIOUS; |
1907 | | constexpr Program_Version Program::BYZANTIUM; |
1908 | | constexpr Program_Version Program::CONSTANTINOPLE; |
1909 | | constexpr Program_Version Program::PETERSBURG; |
1910 | | constexpr Program_Version Program::ISTANBUL; |
1911 | | constexpr Program_Version Program::BERLIN; |
1912 | | constexpr Program_Version Program::LONDON; |
1913 | | constexpr Program_Version Program::PARIS; |
1914 | | constexpr Program_Version Program::SHANGHAI; |
1915 | | constexpr Program_Version Program::CANCUN; |
1916 | | constexpr Program_Version Program::PRAGUE; |
1917 | | constexpr Program_Version Program::OSAKA; |
1918 | | constexpr Program_Version Program::AMSTERDAM; |
1919 | | constexpr Program_Version Program::Version_MIN; |
1920 | | constexpr Program_Version Program::Version_MAX; |
1921 | | constexpr int Program::Version_ARRAYSIZE; |
1922 | | #endif // (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) |
1923 | | |
1924 | | // =================================================================== |
1925 | | |
1926 | | class VarDecl::_Internal { |
1927 | | public: |
1928 | | using HasBits = decltype(std::declval<VarDecl>()._impl_._has_bits_); |
1929 | | static const ::solidity::yul::test::yul_fuzzer::Expression& expr(const VarDecl* msg); |
1930 | 0 | static void set_has_expr(HasBits* has_bits) { |
1931 | 0 | (*has_bits)[0] |= 1u; |
1932 | 0 | } |
1933 | 0 | static bool MissingRequiredFields(const HasBits& has_bits) { |
1934 | 0 | return ((has_bits[0] & 0x00000001) ^ 0x00000001) != 0; |
1935 | 0 | } |
1936 | | }; |
1937 | | |
1938 | | const ::solidity::yul::test::yul_fuzzer::Expression& |
1939 | 0 | VarDecl::_Internal::expr(const VarDecl* msg) { |
1940 | 0 | return *msg->_impl_.expr_; |
1941 | 0 | } |
1942 | | VarDecl::VarDecl(::PROTOBUF_NAMESPACE_ID::Arena* arena, |
1943 | | bool is_message_owned) |
1944 | 20.9k | : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { |
1945 | 20.9k | SharedCtor(arena, is_message_owned); |
1946 | | // @@protoc_insertion_point(arena_constructor:solidity.yul.test.yul_fuzzer.VarDecl) |
1947 | 20.9k | } |
1948 | | VarDecl::VarDecl(const VarDecl& from) |
1949 | 0 | : ::PROTOBUF_NAMESPACE_ID::Message() { |
1950 | 0 | VarDecl* const _this = this; (void)_this; |
1951 | 0 | new (&_impl_) Impl_{ |
1952 | 0 | decltype(_impl_._has_bits_){from._impl_._has_bits_} |
1953 | 0 | , /*decltype(_impl_._cached_size_)*/{} |
1954 | 0 | , decltype(_impl_.expr_){nullptr}}; |
1955 | |
|
1956 | 0 | _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); |
1957 | 0 | if (from._internal_has_expr()) { |
1958 | 0 | _this->_impl_.expr_ = new ::solidity::yul::test::yul_fuzzer::Expression(*from._impl_.expr_); |
1959 | 0 | } |
1960 | | // @@protoc_insertion_point(copy_constructor:solidity.yul.test.yul_fuzzer.VarDecl) |
1961 | 0 | } |
1962 | | |
1963 | | inline void VarDecl::SharedCtor( |
1964 | 20.9k | ::_pb::Arena* arena, bool is_message_owned) { |
1965 | 20.9k | (void)arena; |
1966 | 20.9k | (void)is_message_owned; |
1967 | 20.9k | new (&_impl_) Impl_{ |
1968 | 20.9k | decltype(_impl_._has_bits_){} |
1969 | 20.9k | , /*decltype(_impl_._cached_size_)*/{} |
1970 | 20.9k | , decltype(_impl_.expr_){nullptr} |
1971 | 20.9k | }; |
1972 | 20.9k | } |
1973 | | |
1974 | 20.9k | VarDecl::~VarDecl() { |
1975 | | // @@protoc_insertion_point(destructor:solidity.yul.test.yul_fuzzer.VarDecl) |
1976 | 20.9k | if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { |
1977 | 0 | (void)arena; |
1978 | 0 | return; |
1979 | 0 | } |
1980 | 20.9k | SharedDtor(); |
1981 | 20.9k | } |
1982 | | |
1983 | 20.9k | inline void VarDecl::SharedDtor() { |
1984 | 20.9k | GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); |
1985 | 20.9k | if (this != internal_default_instance()) delete _impl_.expr_; |
1986 | 20.9k | } |
1987 | | |
1988 | 0 | void VarDecl::SetCachedSize(int size) const { |
1989 | 0 | _impl_._cached_size_.Set(size); |
1990 | 0 | } |
1991 | | |
1992 | 0 | void VarDecl::Clear() { |
1993 | | // @@protoc_insertion_point(message_clear_start:solidity.yul.test.yul_fuzzer.VarDecl) |
1994 | 0 | uint32_t cached_has_bits = 0; |
1995 | | // Prevent compiler warnings about cached_has_bits being unused |
1996 | 0 | (void) cached_has_bits; |
1997 | |
|
1998 | 0 | cached_has_bits = _impl_._has_bits_[0]; |
1999 | 0 | if (cached_has_bits & 0x00000001u) { |
2000 | 0 | GOOGLE_DCHECK(_impl_.expr_ != nullptr); |
2001 | 0 | _impl_.expr_->Clear(); |
2002 | 0 | } |
2003 | 0 | _impl_._has_bits_.Clear(); |
2004 | 0 | _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); |
2005 | 0 | } |
2006 | | |
2007 | 0 | const char* VarDecl::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { |
2008 | 0 | #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure |
2009 | 0 | _Internal::HasBits has_bits{}; |
2010 | 0 | while (!ctx->Done(&ptr)) { |
2011 | 0 | uint32_t tag; |
2012 | 0 | ptr = ::_pbi::ReadTag(ptr, &tag); |
2013 | 0 | switch (tag >> 3) { |
2014 | | // required .solidity.yul.test.yul_fuzzer.Expression expr = 1; |
2015 | 0 | case 1: |
2016 | 0 | if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 10)) { |
2017 | 0 | ptr = ctx->ParseMessage(_internal_mutable_expr(), ptr); |
2018 | 0 | CHK_(ptr); |
2019 | 0 | } else |
2020 | 0 | goto handle_unusual; |
2021 | 0 | continue; |
2022 | 0 | default: |
2023 | 0 | goto handle_unusual; |
2024 | 0 | } // switch |
2025 | 0 | handle_unusual: |
2026 | 0 | if ((tag == 0) || ((tag & 7) == 4)) { |
2027 | 0 | CHK_(ptr); |
2028 | 0 | ctx->SetLastTag(tag); |
2029 | 0 | goto message_done; |
2030 | 0 | } |
2031 | 0 | ptr = UnknownFieldParse( |
2032 | 0 | tag, |
2033 | 0 | _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), |
2034 | 0 | ptr, ctx); |
2035 | 0 | CHK_(ptr != nullptr); |
2036 | 0 | } // while |
2037 | 0 | message_done: |
2038 | 0 | _impl_._has_bits_.Or(has_bits); |
2039 | 0 | return ptr; |
2040 | 0 | failure: |
2041 | 0 | ptr = nullptr; |
2042 | 0 | goto message_done; |
2043 | 0 | #undef CHK_ |
2044 | 0 | } |
2045 | | |
2046 | | uint8_t* VarDecl::_InternalSerialize( |
2047 | 0 | uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { |
2048 | | // @@protoc_insertion_point(serialize_to_array_start:solidity.yul.test.yul_fuzzer.VarDecl) |
2049 | 0 | uint32_t cached_has_bits = 0; |
2050 | 0 | (void) cached_has_bits; |
2051 | |
|
2052 | 0 | cached_has_bits = _impl_._has_bits_[0]; |
2053 | | // required .solidity.yul.test.yul_fuzzer.Expression expr = 1; |
2054 | 0 | if (cached_has_bits & 0x00000001u) { |
2055 | 0 | target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: |
2056 | 0 | InternalWriteMessage(1, _Internal::expr(this), |
2057 | 0 | _Internal::expr(this).GetCachedSize(), target, stream); |
2058 | 0 | } |
2059 | |
|
2060 | 0 | if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { |
2061 | 0 | target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( |
2062 | 0 | _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); |
2063 | 0 | } |
2064 | | // @@protoc_insertion_point(serialize_to_array_end:solidity.yul.test.yul_fuzzer.VarDecl) |
2065 | 0 | return target; |
2066 | 0 | } |
2067 | | |
2068 | 18.7k | size_t VarDecl::ByteSizeLong() const { |
2069 | | // @@protoc_insertion_point(message_byte_size_start:solidity.yul.test.yul_fuzzer.VarDecl) |
2070 | 18.7k | size_t total_size = 0; |
2071 | | |
2072 | | // required .solidity.yul.test.yul_fuzzer.Expression expr = 1; |
2073 | 18.7k | if (_internal_has_expr()) { |
2074 | 18.7k | total_size += 1 + |
2075 | 18.7k | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
2076 | 18.7k | *_impl_.expr_); |
2077 | 18.7k | } |
2078 | 18.7k | uint32_t cached_has_bits = 0; |
2079 | | // Prevent compiler warnings about cached_has_bits being unused |
2080 | 18.7k | (void) cached_has_bits; |
2081 | | |
2082 | 18.7k | return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); |
2083 | 18.7k | } |
2084 | | |
2085 | | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VarDecl::_class_data_ = { |
2086 | | ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, |
2087 | | VarDecl::MergeImpl |
2088 | | }; |
2089 | 0 | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VarDecl::GetClassData() const { return &_class_data_; } |
2090 | | |
2091 | | |
2092 | 0 | void VarDecl::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { |
2093 | 0 | auto* const _this = static_cast<VarDecl*>(&to_msg); |
2094 | 0 | auto& from = static_cast<const VarDecl&>(from_msg); |
2095 | | // @@protoc_insertion_point(class_specific_merge_from_start:solidity.yul.test.yul_fuzzer.VarDecl) |
2096 | 0 | GOOGLE_DCHECK_NE(&from, _this); |
2097 | 0 | uint32_t cached_has_bits = 0; |
2098 | 0 | (void) cached_has_bits; |
2099 | |
|
2100 | 0 | if (from._internal_has_expr()) { |
2101 | 0 | _this->_internal_mutable_expr()->::solidity::yul::test::yul_fuzzer::Expression::MergeFrom( |
2102 | 0 | from._internal_expr()); |
2103 | 0 | } |
2104 | 0 | _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); |
2105 | 0 | } |
2106 | | |
2107 | 0 | void VarDecl::CopyFrom(const VarDecl& from) { |
2108 | | // @@protoc_insertion_point(class_specific_copy_from_start:solidity.yul.test.yul_fuzzer.VarDecl) |
2109 | 0 | if (&from == this) return; |
2110 | 0 | Clear(); |
2111 | 0 | MergeFrom(from); |
2112 | 0 | } |
2113 | | |
2114 | 0 | bool VarDecl::IsInitialized() const { |
2115 | 0 | if (_Internal::MissingRequiredFields(_impl_._has_bits_)) return false; |
2116 | 0 | if (_internal_has_expr()) { |
2117 | 0 | if (!_impl_.expr_->IsInitialized()) return false; |
2118 | 0 | } |
2119 | 0 | return true; |
2120 | 0 | } |
2121 | | |
2122 | 0 | void VarDecl::InternalSwap(VarDecl* other) { |
2123 | 0 | using std::swap; |
2124 | 0 | _internal_metadata_.InternalSwap(&other->_internal_metadata_); |
2125 | 0 | swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); |
2126 | 0 | swap(_impl_.expr_, other->_impl_.expr_); |
2127 | 0 | } |
2128 | | |
2129 | 229k | ::PROTOBUF_NAMESPACE_ID::Metadata VarDecl::GetMetadata() const { |
2130 | 229k | return ::_pbi::AssignDescriptors( |
2131 | 229k | &descriptor_table_yulProto_2eproto_getter, &descriptor_table_yulProto_2eproto_once, |
2132 | 229k | file_level_metadata_yulProto_2eproto[0]); |
2133 | 229k | } |
2134 | | |
2135 | | // =================================================================== |
2136 | | |
2137 | | class MultiVarDecl::_Internal { |
2138 | | public: |
2139 | | using HasBits = decltype(std::declval<MultiVarDecl>()._impl_._has_bits_); |
2140 | 0 | static void set_has_num_vars(HasBits* has_bits) { |
2141 | 0 | (*has_bits)[0] |= 1u; |
2142 | 0 | } |
2143 | 0 | static bool MissingRequiredFields(const HasBits& has_bits) { |
2144 | 0 | return ((has_bits[0] & 0x00000001) ^ 0x00000001) != 0; |
2145 | 0 | } |
2146 | | }; |
2147 | | |
2148 | | MultiVarDecl::MultiVarDecl(::PROTOBUF_NAMESPACE_ID::Arena* arena, |
2149 | | bool is_message_owned) |
2150 | 26.4k | : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { |
2151 | 26.4k | SharedCtor(arena, is_message_owned); |
2152 | | // @@protoc_insertion_point(arena_constructor:solidity.yul.test.yul_fuzzer.MultiVarDecl) |
2153 | 26.4k | } |
2154 | | MultiVarDecl::MultiVarDecl(const MultiVarDecl& from) |
2155 | 0 | : ::PROTOBUF_NAMESPACE_ID::Message() { |
2156 | 0 | MultiVarDecl* const _this = this; (void)_this; |
2157 | 0 | new (&_impl_) Impl_{ |
2158 | 0 | decltype(_impl_._has_bits_){from._impl_._has_bits_} |
2159 | 0 | , /*decltype(_impl_._cached_size_)*/{} |
2160 | 0 | , decltype(_impl_.num_vars_){}}; |
2161 | |
|
2162 | 0 | _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); |
2163 | 0 | _this->_impl_.num_vars_ = from._impl_.num_vars_; |
2164 | | // @@protoc_insertion_point(copy_constructor:solidity.yul.test.yul_fuzzer.MultiVarDecl) |
2165 | 0 | } |
2166 | | |
2167 | | inline void MultiVarDecl::SharedCtor( |
2168 | 26.4k | ::_pb::Arena* arena, bool is_message_owned) { |
2169 | 26.4k | (void)arena; |
2170 | 26.4k | (void)is_message_owned; |
2171 | 26.4k | new (&_impl_) Impl_{ |
2172 | 26.4k | decltype(_impl_._has_bits_){} |
2173 | 26.4k | , /*decltype(_impl_._cached_size_)*/{} |
2174 | 26.4k | , decltype(_impl_.num_vars_){0u} |
2175 | 26.4k | }; |
2176 | 26.4k | } |
2177 | | |
2178 | 26.4k | MultiVarDecl::~MultiVarDecl() { |
2179 | | // @@protoc_insertion_point(destructor:solidity.yul.test.yul_fuzzer.MultiVarDecl) |
2180 | 26.4k | if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { |
2181 | 0 | (void)arena; |
2182 | 0 | return; |
2183 | 0 | } |
2184 | 26.4k | SharedDtor(); |
2185 | 26.4k | } |
2186 | | |
2187 | 26.4k | inline void MultiVarDecl::SharedDtor() { |
2188 | 26.4k | GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); |
2189 | 26.4k | } |
2190 | | |
2191 | 0 | void MultiVarDecl::SetCachedSize(int size) const { |
2192 | 0 | _impl_._cached_size_.Set(size); |
2193 | 0 | } |
2194 | | |
2195 | 0 | void MultiVarDecl::Clear() { |
2196 | | // @@protoc_insertion_point(message_clear_start:solidity.yul.test.yul_fuzzer.MultiVarDecl) |
2197 | 0 | uint32_t cached_has_bits = 0; |
2198 | | // Prevent compiler warnings about cached_has_bits being unused |
2199 | 0 | (void) cached_has_bits; |
2200 | |
|
2201 | 0 | _impl_.num_vars_ = 0u; |
2202 | 0 | _impl_._has_bits_.Clear(); |
2203 | 0 | _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); |
2204 | 0 | } |
2205 | | |
2206 | 0 | const char* MultiVarDecl::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { |
2207 | 0 | #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure |
2208 | 0 | _Internal::HasBits has_bits{}; |
2209 | 0 | while (!ctx->Done(&ptr)) { |
2210 | 0 | uint32_t tag; |
2211 | 0 | ptr = ::_pbi::ReadTag(ptr, &tag); |
2212 | 0 | switch (tag >> 3) { |
2213 | | // required uint32 num_vars = 1; |
2214 | 0 | case 1: |
2215 | 0 | if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 8)) { |
2216 | 0 | _Internal::set_has_num_vars(&has_bits); |
2217 | 0 | _impl_.num_vars_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); |
2218 | 0 | CHK_(ptr); |
2219 | 0 | } else |
2220 | 0 | goto handle_unusual; |
2221 | 0 | continue; |
2222 | 0 | default: |
2223 | 0 | goto handle_unusual; |
2224 | 0 | } // switch |
2225 | 0 | handle_unusual: |
2226 | 0 | if ((tag == 0) || ((tag & 7) == 4)) { |
2227 | 0 | CHK_(ptr); |
2228 | 0 | ctx->SetLastTag(tag); |
2229 | 0 | goto message_done; |
2230 | 0 | } |
2231 | 0 | ptr = UnknownFieldParse( |
2232 | 0 | tag, |
2233 | 0 | _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), |
2234 | 0 | ptr, ctx); |
2235 | 0 | CHK_(ptr != nullptr); |
2236 | 0 | } // while |
2237 | 0 | message_done: |
2238 | 0 | _impl_._has_bits_.Or(has_bits); |
2239 | 0 | return ptr; |
2240 | 0 | failure: |
2241 | 0 | ptr = nullptr; |
2242 | 0 | goto message_done; |
2243 | 0 | #undef CHK_ |
2244 | 0 | } |
2245 | | |
2246 | | uint8_t* MultiVarDecl::_InternalSerialize( |
2247 | 0 | uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { |
2248 | | // @@protoc_insertion_point(serialize_to_array_start:solidity.yul.test.yul_fuzzer.MultiVarDecl) |
2249 | 0 | uint32_t cached_has_bits = 0; |
2250 | 0 | (void) cached_has_bits; |
2251 | |
|
2252 | 0 | cached_has_bits = _impl_._has_bits_[0]; |
2253 | | // required uint32 num_vars = 1; |
2254 | 0 | if (cached_has_bits & 0x00000001u) { |
2255 | 0 | target = stream->EnsureSpace(target); |
2256 | 0 | target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_num_vars(), target); |
2257 | 0 | } |
2258 | |
|
2259 | 0 | if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { |
2260 | 0 | target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( |
2261 | 0 | _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); |
2262 | 0 | } |
2263 | | // @@protoc_insertion_point(serialize_to_array_end:solidity.yul.test.yul_fuzzer.MultiVarDecl) |
2264 | 0 | return target; |
2265 | 0 | } |
2266 | | |
2267 | 25.0k | size_t MultiVarDecl::ByteSizeLong() const { |
2268 | | // @@protoc_insertion_point(message_byte_size_start:solidity.yul.test.yul_fuzzer.MultiVarDecl) |
2269 | 25.0k | size_t total_size = 0; |
2270 | | |
2271 | | // required uint32 num_vars = 1; |
2272 | 25.0k | if (_internal_has_num_vars()) { |
2273 | 25.0k | total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_num_vars()); |
2274 | 25.0k | } |
2275 | 25.0k | uint32_t cached_has_bits = 0; |
2276 | | // Prevent compiler warnings about cached_has_bits being unused |
2277 | 25.0k | (void) cached_has_bits; |
2278 | | |
2279 | 25.0k | return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); |
2280 | 25.0k | } |
2281 | | |
2282 | | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData MultiVarDecl::_class_data_ = { |
2283 | | ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, |
2284 | | MultiVarDecl::MergeImpl |
2285 | | }; |
2286 | 0 | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*MultiVarDecl::GetClassData() const { return &_class_data_; } |
2287 | | |
2288 | | |
2289 | 0 | void MultiVarDecl::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { |
2290 | 0 | auto* const _this = static_cast<MultiVarDecl*>(&to_msg); |
2291 | 0 | auto& from = static_cast<const MultiVarDecl&>(from_msg); |
2292 | | // @@protoc_insertion_point(class_specific_merge_from_start:solidity.yul.test.yul_fuzzer.MultiVarDecl) |
2293 | 0 | GOOGLE_DCHECK_NE(&from, _this); |
2294 | 0 | uint32_t cached_has_bits = 0; |
2295 | 0 | (void) cached_has_bits; |
2296 | |
|
2297 | 0 | if (from._internal_has_num_vars()) { |
2298 | 0 | _this->_internal_set_num_vars(from._internal_num_vars()); |
2299 | 0 | } |
2300 | 0 | _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); |
2301 | 0 | } |
2302 | | |
2303 | 0 | void MultiVarDecl::CopyFrom(const MultiVarDecl& from) { |
2304 | | // @@protoc_insertion_point(class_specific_copy_from_start:solidity.yul.test.yul_fuzzer.MultiVarDecl) |
2305 | 0 | if (&from == this) return; |
2306 | 0 | Clear(); |
2307 | 0 | MergeFrom(from); |
2308 | 0 | } |
2309 | | |
2310 | 0 | bool MultiVarDecl::IsInitialized() const { |
2311 | 0 | if (_Internal::MissingRequiredFields(_impl_._has_bits_)) return false; |
2312 | 0 | return true; |
2313 | 0 | } |
2314 | | |
2315 | 0 | void MultiVarDecl::InternalSwap(MultiVarDecl* other) { |
2316 | 0 | using std::swap; |
2317 | 0 | _internal_metadata_.InternalSwap(&other->_internal_metadata_); |
2318 | 0 | swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); |
2319 | 0 | swap(_impl_.num_vars_, other->_impl_.num_vars_); |
2320 | 0 | } |
2321 | | |
2322 | 305k | ::PROTOBUF_NAMESPACE_ID::Metadata MultiVarDecl::GetMetadata() const { |
2323 | 305k | return ::_pbi::AssignDescriptors( |
2324 | 305k | &descriptor_table_yulProto_2eproto_getter, &descriptor_table_yulProto_2eproto_once, |
2325 | 305k | file_level_metadata_yulProto_2eproto[1]); |
2326 | 305k | } |
2327 | | |
2328 | | // =================================================================== |
2329 | | |
2330 | | class LowLevelCall::_Internal { |
2331 | | public: |
2332 | | using HasBits = decltype(std::declval<LowLevelCall>()._impl_._has_bits_); |
2333 | 0 | static void set_has_callty(HasBits* has_bits) { |
2334 | 0 | (*has_bits)[0] |= 128u; |
2335 | 0 | } |
2336 | | static const ::solidity::yul::test::yul_fuzzer::Expression& gas(const LowLevelCall* msg); |
2337 | 0 | static void set_has_gas(HasBits* has_bits) { |
2338 | 0 | (*has_bits)[0] |= 1u; |
2339 | 0 | } |
2340 | | static const ::solidity::yul::test::yul_fuzzer::Expression& addr(const LowLevelCall* msg); |
2341 | 0 | static void set_has_addr(HasBits* has_bits) { |
2342 | 0 | (*has_bits)[0] |= 2u; |
2343 | 0 | } |
2344 | | static const ::solidity::yul::test::yul_fuzzer::Expression& wei(const LowLevelCall* msg); |
2345 | 0 | static void set_has_wei(HasBits* has_bits) { |
2346 | 0 | (*has_bits)[0] |= 4u; |
2347 | 0 | } |
2348 | | static const ::solidity::yul::test::yul_fuzzer::Expression& in(const LowLevelCall* msg); |
2349 | 0 | static void set_has_in(HasBits* has_bits) { |
2350 | 0 | (*has_bits)[0] |= 8u; |
2351 | 0 | } |
2352 | | static const ::solidity::yul::test::yul_fuzzer::Expression& insize(const LowLevelCall* msg); |
2353 | 0 | static void set_has_insize(HasBits* has_bits) { |
2354 | 0 | (*has_bits)[0] |= 16u; |
2355 | 0 | } |
2356 | | static const ::solidity::yul::test::yul_fuzzer::Expression& out(const LowLevelCall* msg); |
2357 | 0 | static void set_has_out(HasBits* has_bits) { |
2358 | 0 | (*has_bits)[0] |= 32u; |
2359 | 0 | } |
2360 | | static const ::solidity::yul::test::yul_fuzzer::Expression& outsize(const LowLevelCall* msg); |
2361 | 0 | static void set_has_outsize(HasBits* has_bits) { |
2362 | 0 | (*has_bits)[0] |= 64u; |
2363 | 0 | } |
2364 | 0 | static bool MissingRequiredFields(const HasBits& has_bits) { |
2365 | 0 | return ((has_bits[0] & 0x000000ff) ^ 0x000000ff) != 0; |
2366 | 0 | } |
2367 | | }; |
2368 | | |
2369 | | const ::solidity::yul::test::yul_fuzzer::Expression& |
2370 | 0 | LowLevelCall::_Internal::gas(const LowLevelCall* msg) { |
2371 | 0 | return *msg->_impl_.gas_; |
2372 | 0 | } |
2373 | | const ::solidity::yul::test::yul_fuzzer::Expression& |
2374 | 0 | LowLevelCall::_Internal::addr(const LowLevelCall* msg) { |
2375 | 0 | return *msg->_impl_.addr_; |
2376 | 0 | } |
2377 | | const ::solidity::yul::test::yul_fuzzer::Expression& |
2378 | 0 | LowLevelCall::_Internal::wei(const LowLevelCall* msg) { |
2379 | 0 | return *msg->_impl_.wei_; |
2380 | 0 | } |
2381 | | const ::solidity::yul::test::yul_fuzzer::Expression& |
2382 | 0 | LowLevelCall::_Internal::in(const LowLevelCall* msg) { |
2383 | 0 | return *msg->_impl_.in_; |
2384 | 0 | } |
2385 | | const ::solidity::yul::test::yul_fuzzer::Expression& |
2386 | 0 | LowLevelCall::_Internal::insize(const LowLevelCall* msg) { |
2387 | 0 | return *msg->_impl_.insize_; |
2388 | 0 | } |
2389 | | const ::solidity::yul::test::yul_fuzzer::Expression& |
2390 | 0 | LowLevelCall::_Internal::out(const LowLevelCall* msg) { |
2391 | 0 | return *msg->_impl_.out_; |
2392 | 0 | } |
2393 | | const ::solidity::yul::test::yul_fuzzer::Expression& |
2394 | 0 | LowLevelCall::_Internal::outsize(const LowLevelCall* msg) { |
2395 | 0 | return *msg->_impl_.outsize_; |
2396 | 0 | } |
2397 | | LowLevelCall::LowLevelCall(::PROTOBUF_NAMESPACE_ID::Arena* arena, |
2398 | | bool is_message_owned) |
2399 | 47.9k | : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { |
2400 | 47.9k | SharedCtor(arena, is_message_owned); |
2401 | | // @@protoc_insertion_point(arena_constructor:solidity.yul.test.yul_fuzzer.LowLevelCall) |
2402 | 47.9k | } |
2403 | | LowLevelCall::LowLevelCall(const LowLevelCall& from) |
2404 | 0 | : ::PROTOBUF_NAMESPACE_ID::Message() { |
2405 | 0 | LowLevelCall* const _this = this; (void)_this; |
2406 | 0 | new (&_impl_) Impl_{ |
2407 | 0 | decltype(_impl_._has_bits_){from._impl_._has_bits_} |
2408 | 0 | , /*decltype(_impl_._cached_size_)*/{} |
2409 | 0 | , decltype(_impl_.gas_){nullptr} |
2410 | 0 | , decltype(_impl_.addr_){nullptr} |
2411 | 0 | , decltype(_impl_.wei_){nullptr} |
2412 | 0 | , decltype(_impl_.in_){nullptr} |
2413 | 0 | , decltype(_impl_.insize_){nullptr} |
2414 | 0 | , decltype(_impl_.out_){nullptr} |
2415 | 0 | , decltype(_impl_.outsize_){nullptr} |
2416 | 0 | , decltype(_impl_.callty_){}}; |
2417 | |
|
2418 | 0 | _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); |
2419 | 0 | if (from._internal_has_gas()) { |
2420 | 0 | _this->_impl_.gas_ = new ::solidity::yul::test::yul_fuzzer::Expression(*from._impl_.gas_); |
2421 | 0 | } |
2422 | 0 | if (from._internal_has_addr()) { |
2423 | 0 | _this->_impl_.addr_ = new ::solidity::yul::test::yul_fuzzer::Expression(*from._impl_.addr_); |
2424 | 0 | } |
2425 | 0 | if (from._internal_has_wei()) { |
2426 | 0 | _this->_impl_.wei_ = new ::solidity::yul::test::yul_fuzzer::Expression(*from._impl_.wei_); |
2427 | 0 | } |
2428 | 0 | if (from._internal_has_in()) { |
2429 | 0 | _this->_impl_.in_ = new ::solidity::yul::test::yul_fuzzer::Expression(*from._impl_.in_); |
2430 | 0 | } |
2431 | 0 | if (from._internal_has_insize()) { |
2432 | 0 | _this->_impl_.insize_ = new ::solidity::yul::test::yul_fuzzer::Expression(*from._impl_.insize_); |
2433 | 0 | } |
2434 | 0 | if (from._internal_has_out()) { |
2435 | 0 | _this->_impl_.out_ = new ::solidity::yul::test::yul_fuzzer::Expression(*from._impl_.out_); |
2436 | 0 | } |
2437 | 0 | if (from._internal_has_outsize()) { |
2438 | 0 | _this->_impl_.outsize_ = new ::solidity::yul::test::yul_fuzzer::Expression(*from._impl_.outsize_); |
2439 | 0 | } |
2440 | 0 | _this->_impl_.callty_ = from._impl_.callty_; |
2441 | | // @@protoc_insertion_point(copy_constructor:solidity.yul.test.yul_fuzzer.LowLevelCall) |
2442 | 0 | } |
2443 | | |
2444 | | inline void LowLevelCall::SharedCtor( |
2445 | 47.9k | ::_pb::Arena* arena, bool is_message_owned) { |
2446 | 47.9k | (void)arena; |
2447 | 47.9k | (void)is_message_owned; |
2448 | 47.9k | new (&_impl_) Impl_{ |
2449 | 47.9k | decltype(_impl_._has_bits_){} |
2450 | 47.9k | , /*decltype(_impl_._cached_size_)*/{} |
2451 | 47.9k | , decltype(_impl_.gas_){nullptr} |
2452 | 47.9k | , decltype(_impl_.addr_){nullptr} |
2453 | 47.9k | , decltype(_impl_.wei_){nullptr} |
2454 | 47.9k | , decltype(_impl_.in_){nullptr} |
2455 | 47.9k | , decltype(_impl_.insize_){nullptr} |
2456 | 47.9k | , decltype(_impl_.out_){nullptr} |
2457 | 47.9k | , decltype(_impl_.outsize_){nullptr} |
2458 | 47.9k | , decltype(_impl_.callty_){0} |
2459 | 47.9k | }; |
2460 | 47.9k | } |
2461 | | |
2462 | 47.9k | LowLevelCall::~LowLevelCall() { |
2463 | | // @@protoc_insertion_point(destructor:solidity.yul.test.yul_fuzzer.LowLevelCall) |
2464 | 47.9k | if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { |
2465 | 0 | (void)arena; |
2466 | 0 | return; |
2467 | 0 | } |
2468 | 47.9k | SharedDtor(); |
2469 | 47.9k | } |
2470 | | |
2471 | 47.9k | inline void LowLevelCall::SharedDtor() { |
2472 | 47.9k | GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); |
2473 | 47.9k | if (this != internal_default_instance()) delete _impl_.gas_; |
2474 | 47.9k | if (this != internal_default_instance()) delete _impl_.addr_; |
2475 | 47.9k | if (this != internal_default_instance()) delete _impl_.wei_; |
2476 | 47.9k | if (this != internal_default_instance()) delete _impl_.in_; |
2477 | 47.9k | if (this != internal_default_instance()) delete _impl_.insize_; |
2478 | 47.9k | if (this != internal_default_instance()) delete _impl_.out_; |
2479 | 47.9k | if (this != internal_default_instance()) delete _impl_.outsize_; |
2480 | 47.9k | } |
2481 | | |
2482 | 0 | void LowLevelCall::SetCachedSize(int size) const { |
2483 | 0 | _impl_._cached_size_.Set(size); |
2484 | 0 | } |
2485 | | |
2486 | 0 | void LowLevelCall::Clear() { |
2487 | | // @@protoc_insertion_point(message_clear_start:solidity.yul.test.yul_fuzzer.LowLevelCall) |
2488 | 0 | uint32_t cached_has_bits = 0; |
2489 | | // Prevent compiler warnings about cached_has_bits being unused |
2490 | 0 | (void) cached_has_bits; |
2491 | |
|
2492 | 0 | cached_has_bits = _impl_._has_bits_[0]; |
2493 | 0 | if (cached_has_bits & 0x0000007fu) { |
2494 | 0 | if (cached_has_bits & 0x00000001u) { |
2495 | 0 | GOOGLE_DCHECK(_impl_.gas_ != nullptr); |
2496 | 0 | _impl_.gas_->Clear(); |
2497 | 0 | } |
2498 | 0 | if (cached_has_bits & 0x00000002u) { |
2499 | 0 | GOOGLE_DCHECK(_impl_.addr_ != nullptr); |
2500 | 0 | _impl_.addr_->Clear(); |
2501 | 0 | } |
2502 | 0 | if (cached_has_bits & 0x00000004u) { |
2503 | 0 | GOOGLE_DCHECK(_impl_.wei_ != nullptr); |
2504 | 0 | _impl_.wei_->Clear(); |
2505 | 0 | } |
2506 | 0 | if (cached_has_bits & 0x00000008u) { |
2507 | 0 | GOOGLE_DCHECK(_impl_.in_ != nullptr); |
2508 | 0 | _impl_.in_->Clear(); |
2509 | 0 | } |
2510 | 0 | if (cached_has_bits & 0x00000010u) { |
2511 | 0 | GOOGLE_DCHECK(_impl_.insize_ != nullptr); |
2512 | 0 | _impl_.insize_->Clear(); |
2513 | 0 | } |
2514 | 0 | if (cached_has_bits & 0x00000020u) { |
2515 | 0 | GOOGLE_DCHECK(_impl_.out_ != nullptr); |
2516 | 0 | _impl_.out_->Clear(); |
2517 | 0 | } |
2518 | 0 | if (cached_has_bits & 0x00000040u) { |
2519 | 0 | GOOGLE_DCHECK(_impl_.outsize_ != nullptr); |
2520 | 0 | _impl_.outsize_->Clear(); |
2521 | 0 | } |
2522 | 0 | } |
2523 | 0 | _impl_.callty_ = 0; |
2524 | 0 | _impl_._has_bits_.Clear(); |
2525 | 0 | _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); |
2526 | 0 | } |
2527 | | |
2528 | 0 | const char* LowLevelCall::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { |
2529 | 0 | #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure |
2530 | 0 | _Internal::HasBits has_bits{}; |
2531 | 0 | while (!ctx->Done(&ptr)) { |
2532 | 0 | uint32_t tag; |
2533 | 0 | ptr = ::_pbi::ReadTag(ptr, &tag); |
2534 | 0 | switch (tag >> 3) { |
2535 | | // required .solidity.yul.test.yul_fuzzer.LowLevelCall.Type callty = 1; |
2536 | 0 | case 1: |
2537 | 0 | if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 8)) { |
2538 | 0 | uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); |
2539 | 0 | CHK_(ptr); |
2540 | 0 | if (PROTOBUF_PREDICT_TRUE(::solidity::yul::test::yul_fuzzer::LowLevelCall_Type_IsValid(val))) { |
2541 | 0 | _internal_set_callty(static_cast<::solidity::yul::test::yul_fuzzer::LowLevelCall_Type>(val)); |
2542 | 0 | } else { |
2543 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::WriteVarint(1, val, mutable_unknown_fields()); |
2544 | 0 | } |
2545 | 0 | } else |
2546 | 0 | goto handle_unusual; |
2547 | 0 | continue; |
2548 | | // required .solidity.yul.test.yul_fuzzer.Expression gas = 2; |
2549 | 0 | case 2: |
2550 | 0 | if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 18)) { |
2551 | 0 | ptr = ctx->ParseMessage(_internal_mutable_gas(), ptr); |
2552 | 0 | CHK_(ptr); |
2553 | 0 | } else |
2554 | 0 | goto handle_unusual; |
2555 | 0 | continue; |
2556 | | // required .solidity.yul.test.yul_fuzzer.Expression addr = 3; |
2557 | 0 | case 3: |
2558 | 0 | if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 26)) { |
2559 | 0 | ptr = ctx->ParseMessage(_internal_mutable_addr(), ptr); |
2560 | 0 | CHK_(ptr); |
2561 | 0 | } else |
2562 | 0 | goto handle_unusual; |
2563 | 0 | continue; |
2564 | | // required .solidity.yul.test.yul_fuzzer.Expression wei = 4; |
2565 | 0 | case 4: |
2566 | 0 | if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 34)) { |
2567 | 0 | ptr = ctx->ParseMessage(_internal_mutable_wei(), ptr); |
2568 | 0 | CHK_(ptr); |
2569 | 0 | } else |
2570 | 0 | goto handle_unusual; |
2571 | 0 | continue; |
2572 | | // required .solidity.yul.test.yul_fuzzer.Expression in = 5; |
2573 | 0 | case 5: |
2574 | 0 | if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 42)) { |
2575 | 0 | ptr = ctx->ParseMessage(_internal_mutable_in(), ptr); |
2576 | 0 | CHK_(ptr); |
2577 | 0 | } else |
2578 | 0 | goto handle_unusual; |
2579 | 0 | continue; |
2580 | | // required .solidity.yul.test.yul_fuzzer.Expression insize = 6; |
2581 | 0 | case 6: |
2582 | 0 | if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 50)) { |
2583 | 0 | ptr = ctx->ParseMessage(_internal_mutable_insize(), ptr); |
2584 | 0 | CHK_(ptr); |
2585 | 0 | } else |
2586 | 0 | goto handle_unusual; |
2587 | 0 | continue; |
2588 | | // required .solidity.yul.test.yul_fuzzer.Expression out = 7; |
2589 | 0 | case 7: |
2590 | 0 | if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 58)) { |
2591 | 0 | ptr = ctx->ParseMessage(_internal_mutable_out(), ptr); |
2592 | 0 | CHK_(ptr); |
2593 | 0 | } else |
2594 | 0 | goto handle_unusual; |
2595 | 0 | continue; |
2596 | | // required .solidity.yul.test.yul_fuzzer.Expression outsize = 8; |
2597 | 0 | case 8: |
2598 | 0 | if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 66)) { |
2599 | 0 | ptr = ctx->ParseMessage(_internal_mutable_outsize(), ptr); |
2600 | 0 | CHK_(ptr); |
2601 | 0 | } else |
2602 | 0 | goto handle_unusual; |
2603 | 0 | continue; |
2604 | 0 | default: |
2605 | 0 | goto handle_unusual; |
2606 | 0 | } // switch |
2607 | 0 | handle_unusual: |
2608 | 0 | if ((tag == 0) || ((tag & 7) == 4)) { |
2609 | 0 | CHK_(ptr); |
2610 | 0 | ctx->SetLastTag(tag); |
2611 | 0 | goto message_done; |
2612 | 0 | } |
2613 | 0 | ptr = UnknownFieldParse( |
2614 | 0 | tag, |
2615 | 0 | _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), |
2616 | 0 | ptr, ctx); |
2617 | 0 | CHK_(ptr != nullptr); |
2618 | 0 | } // while |
2619 | 0 | message_done: |
2620 | 0 | _impl_._has_bits_.Or(has_bits); |
2621 | 0 | return ptr; |
2622 | 0 | failure: |
2623 | 0 | ptr = nullptr; |
2624 | 0 | goto message_done; |
2625 | 0 | #undef CHK_ |
2626 | 0 | } |
2627 | | |
2628 | | uint8_t* LowLevelCall::_InternalSerialize( |
2629 | 0 | uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { |
2630 | | // @@protoc_insertion_point(serialize_to_array_start:solidity.yul.test.yul_fuzzer.LowLevelCall) |
2631 | 0 | uint32_t cached_has_bits = 0; |
2632 | 0 | (void) cached_has_bits; |
2633 | |
|
2634 | 0 | cached_has_bits = _impl_._has_bits_[0]; |
2635 | | // required .solidity.yul.test.yul_fuzzer.LowLevelCall.Type callty = 1; |
2636 | 0 | if (cached_has_bits & 0x00000080u) { |
2637 | 0 | target = stream->EnsureSpace(target); |
2638 | 0 | target = ::_pbi::WireFormatLite::WriteEnumToArray( |
2639 | 0 | 1, this->_internal_callty(), target); |
2640 | 0 | } |
2641 | | |
2642 | | // required .solidity.yul.test.yul_fuzzer.Expression gas = 2; |
2643 | 0 | if (cached_has_bits & 0x00000001u) { |
2644 | 0 | target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: |
2645 | 0 | InternalWriteMessage(2, _Internal::gas(this), |
2646 | 0 | _Internal::gas(this).GetCachedSize(), target, stream); |
2647 | 0 | } |
2648 | | |
2649 | | // required .solidity.yul.test.yul_fuzzer.Expression addr = 3; |
2650 | 0 | if (cached_has_bits & 0x00000002u) { |
2651 | 0 | target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: |
2652 | 0 | InternalWriteMessage(3, _Internal::addr(this), |
2653 | 0 | _Internal::addr(this).GetCachedSize(), target, stream); |
2654 | 0 | } |
2655 | | |
2656 | | // required .solidity.yul.test.yul_fuzzer.Expression wei = 4; |
2657 | 0 | if (cached_has_bits & 0x00000004u) { |
2658 | 0 | target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: |
2659 | 0 | InternalWriteMessage(4, _Internal::wei(this), |
2660 | 0 | _Internal::wei(this).GetCachedSize(), target, stream); |
2661 | 0 | } |
2662 | | |
2663 | | // required .solidity.yul.test.yul_fuzzer.Expression in = 5; |
2664 | 0 | if (cached_has_bits & 0x00000008u) { |
2665 | 0 | target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: |
2666 | 0 | InternalWriteMessage(5, _Internal::in(this), |
2667 | 0 | _Internal::in(this).GetCachedSize(), target, stream); |
2668 | 0 | } |
2669 | | |
2670 | | // required .solidity.yul.test.yul_fuzzer.Expression insize = 6; |
2671 | 0 | if (cached_has_bits & 0x00000010u) { |
2672 | 0 | target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: |
2673 | 0 | InternalWriteMessage(6, _Internal::insize(this), |
2674 | 0 | _Internal::insize(this).GetCachedSize(), target, stream); |
2675 | 0 | } |
2676 | | |
2677 | | // required .solidity.yul.test.yul_fuzzer.Expression out = 7; |
2678 | 0 | if (cached_has_bits & 0x00000020u) { |
2679 | 0 | target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: |
2680 | 0 | InternalWriteMessage(7, _Internal::out(this), |
2681 | 0 | _Internal::out(this).GetCachedSize(), target, stream); |
2682 | 0 | } |
2683 | | |
2684 | | // required .solidity.yul.test.yul_fuzzer.Expression outsize = 8; |
2685 | 0 | if (cached_has_bits & 0x00000040u) { |
2686 | 0 | target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: |
2687 | 0 | InternalWriteMessage(8, _Internal::outsize(this), |
2688 | 0 | _Internal::outsize(this).GetCachedSize(), target, stream); |
2689 | 0 | } |
2690 | |
|
2691 | 0 | if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { |
2692 | 0 | target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( |
2693 | 0 | _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); |
2694 | 0 | } |
2695 | | // @@protoc_insertion_point(serialize_to_array_end:solidity.yul.test.yul_fuzzer.LowLevelCall) |
2696 | 0 | return target; |
2697 | 0 | } |
2698 | | |
2699 | 0 | size_t LowLevelCall::RequiredFieldsByteSizeFallback() const { |
2700 | | // @@protoc_insertion_point(required_fields_byte_size_fallback_start:solidity.yul.test.yul_fuzzer.LowLevelCall) |
2701 | 0 | size_t total_size = 0; |
2702 | |
|
2703 | 0 | if (_internal_has_gas()) { |
2704 | | // required .solidity.yul.test.yul_fuzzer.Expression gas = 2; |
2705 | 0 | total_size += 1 + |
2706 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
2707 | 0 | *_impl_.gas_); |
2708 | 0 | } |
2709 | |
|
2710 | 0 | if (_internal_has_addr()) { |
2711 | | // required .solidity.yul.test.yul_fuzzer.Expression addr = 3; |
2712 | 0 | total_size += 1 + |
2713 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
2714 | 0 | *_impl_.addr_); |
2715 | 0 | } |
2716 | |
|
2717 | 0 | if (_internal_has_wei()) { |
2718 | | // required .solidity.yul.test.yul_fuzzer.Expression wei = 4; |
2719 | 0 | total_size += 1 + |
2720 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
2721 | 0 | *_impl_.wei_); |
2722 | 0 | } |
2723 | |
|
2724 | 0 | if (_internal_has_in()) { |
2725 | | // required .solidity.yul.test.yul_fuzzer.Expression in = 5; |
2726 | 0 | total_size += 1 + |
2727 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
2728 | 0 | *_impl_.in_); |
2729 | 0 | } |
2730 | |
|
2731 | 0 | if (_internal_has_insize()) { |
2732 | | // required .solidity.yul.test.yul_fuzzer.Expression insize = 6; |
2733 | 0 | total_size += 1 + |
2734 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
2735 | 0 | *_impl_.insize_); |
2736 | 0 | } |
2737 | |
|
2738 | 0 | if (_internal_has_out()) { |
2739 | | // required .solidity.yul.test.yul_fuzzer.Expression out = 7; |
2740 | 0 | total_size += 1 + |
2741 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
2742 | 0 | *_impl_.out_); |
2743 | 0 | } |
2744 | |
|
2745 | 0 | if (_internal_has_outsize()) { |
2746 | | // required .solidity.yul.test.yul_fuzzer.Expression outsize = 8; |
2747 | 0 | total_size += 1 + |
2748 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
2749 | 0 | *_impl_.outsize_); |
2750 | 0 | } |
2751 | |
|
2752 | 0 | if (_internal_has_callty()) { |
2753 | | // required .solidity.yul.test.yul_fuzzer.LowLevelCall.Type callty = 1; |
2754 | 0 | total_size += 1 + |
2755 | 0 | ::_pbi::WireFormatLite::EnumSize(this->_internal_callty()); |
2756 | 0 | } |
2757 | |
|
2758 | 0 | return total_size; |
2759 | 0 | } |
2760 | 42.8k | size_t LowLevelCall::ByteSizeLong() const { |
2761 | | // @@protoc_insertion_point(message_byte_size_start:solidity.yul.test.yul_fuzzer.LowLevelCall) |
2762 | 42.8k | size_t total_size = 0; |
2763 | | |
2764 | 42.8k | if (((_impl_._has_bits_[0] & 0x000000ff) ^ 0x000000ff) == 0) { // All required fields are present. |
2765 | | // required .solidity.yul.test.yul_fuzzer.Expression gas = 2; |
2766 | 42.8k | total_size += 1 + |
2767 | 42.8k | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
2768 | 42.8k | *_impl_.gas_); |
2769 | | |
2770 | | // required .solidity.yul.test.yul_fuzzer.Expression addr = 3; |
2771 | 42.8k | total_size += 1 + |
2772 | 42.8k | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
2773 | 42.8k | *_impl_.addr_); |
2774 | | |
2775 | | // required .solidity.yul.test.yul_fuzzer.Expression wei = 4; |
2776 | 42.8k | total_size += 1 + |
2777 | 42.8k | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
2778 | 42.8k | *_impl_.wei_); |
2779 | | |
2780 | | // required .solidity.yul.test.yul_fuzzer.Expression in = 5; |
2781 | 42.8k | total_size += 1 + |
2782 | 42.8k | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
2783 | 42.8k | *_impl_.in_); |
2784 | | |
2785 | | // required .solidity.yul.test.yul_fuzzer.Expression insize = 6; |
2786 | 42.8k | total_size += 1 + |
2787 | 42.8k | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
2788 | 42.8k | *_impl_.insize_); |
2789 | | |
2790 | | // required .solidity.yul.test.yul_fuzzer.Expression out = 7; |
2791 | 42.8k | total_size += 1 + |
2792 | 42.8k | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
2793 | 42.8k | *_impl_.out_); |
2794 | | |
2795 | | // required .solidity.yul.test.yul_fuzzer.Expression outsize = 8; |
2796 | 42.8k | total_size += 1 + |
2797 | 42.8k | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
2798 | 42.8k | *_impl_.outsize_); |
2799 | | |
2800 | | // required .solidity.yul.test.yul_fuzzer.LowLevelCall.Type callty = 1; |
2801 | 42.8k | total_size += 1 + |
2802 | 42.8k | ::_pbi::WireFormatLite::EnumSize(this->_internal_callty()); |
2803 | | |
2804 | 42.8k | } else { |
2805 | 0 | total_size += RequiredFieldsByteSizeFallback(); |
2806 | 0 | } |
2807 | 42.8k | uint32_t cached_has_bits = 0; |
2808 | | // Prevent compiler warnings about cached_has_bits being unused |
2809 | 42.8k | (void) cached_has_bits; |
2810 | | |
2811 | 42.8k | return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); |
2812 | 42.8k | } |
2813 | | |
2814 | | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData LowLevelCall::_class_data_ = { |
2815 | | ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, |
2816 | | LowLevelCall::MergeImpl |
2817 | | }; |
2818 | 0 | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*LowLevelCall::GetClassData() const { return &_class_data_; } |
2819 | | |
2820 | | |
2821 | 0 | void LowLevelCall::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { |
2822 | 0 | auto* const _this = static_cast<LowLevelCall*>(&to_msg); |
2823 | 0 | auto& from = static_cast<const LowLevelCall&>(from_msg); |
2824 | | // @@protoc_insertion_point(class_specific_merge_from_start:solidity.yul.test.yul_fuzzer.LowLevelCall) |
2825 | 0 | GOOGLE_DCHECK_NE(&from, _this); |
2826 | 0 | uint32_t cached_has_bits = 0; |
2827 | 0 | (void) cached_has_bits; |
2828 | |
|
2829 | 0 | cached_has_bits = from._impl_._has_bits_[0]; |
2830 | 0 | if (cached_has_bits & 0x000000ffu) { |
2831 | 0 | if (cached_has_bits & 0x00000001u) { |
2832 | 0 | _this->_internal_mutable_gas()->::solidity::yul::test::yul_fuzzer::Expression::MergeFrom( |
2833 | 0 | from._internal_gas()); |
2834 | 0 | } |
2835 | 0 | if (cached_has_bits & 0x00000002u) { |
2836 | 0 | _this->_internal_mutable_addr()->::solidity::yul::test::yul_fuzzer::Expression::MergeFrom( |
2837 | 0 | from._internal_addr()); |
2838 | 0 | } |
2839 | 0 | if (cached_has_bits & 0x00000004u) { |
2840 | 0 | _this->_internal_mutable_wei()->::solidity::yul::test::yul_fuzzer::Expression::MergeFrom( |
2841 | 0 | from._internal_wei()); |
2842 | 0 | } |
2843 | 0 | if (cached_has_bits & 0x00000008u) { |
2844 | 0 | _this->_internal_mutable_in()->::solidity::yul::test::yul_fuzzer::Expression::MergeFrom( |
2845 | 0 | from._internal_in()); |
2846 | 0 | } |
2847 | 0 | if (cached_has_bits & 0x00000010u) { |
2848 | 0 | _this->_internal_mutable_insize()->::solidity::yul::test::yul_fuzzer::Expression::MergeFrom( |
2849 | 0 | from._internal_insize()); |
2850 | 0 | } |
2851 | 0 | if (cached_has_bits & 0x00000020u) { |
2852 | 0 | _this->_internal_mutable_out()->::solidity::yul::test::yul_fuzzer::Expression::MergeFrom( |
2853 | 0 | from._internal_out()); |
2854 | 0 | } |
2855 | 0 | if (cached_has_bits & 0x00000040u) { |
2856 | 0 | _this->_internal_mutable_outsize()->::solidity::yul::test::yul_fuzzer::Expression::MergeFrom( |
2857 | 0 | from._internal_outsize()); |
2858 | 0 | } |
2859 | 0 | if (cached_has_bits & 0x00000080u) { |
2860 | 0 | _this->_impl_.callty_ = from._impl_.callty_; |
2861 | 0 | } |
2862 | 0 | _this->_impl_._has_bits_[0] |= cached_has_bits; |
2863 | 0 | } |
2864 | 0 | _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); |
2865 | 0 | } |
2866 | | |
2867 | 0 | void LowLevelCall::CopyFrom(const LowLevelCall& from) { |
2868 | | // @@protoc_insertion_point(class_specific_copy_from_start:solidity.yul.test.yul_fuzzer.LowLevelCall) |
2869 | 0 | if (&from == this) return; |
2870 | 0 | Clear(); |
2871 | 0 | MergeFrom(from); |
2872 | 0 | } |
2873 | | |
2874 | 0 | bool LowLevelCall::IsInitialized() const { |
2875 | 0 | if (_Internal::MissingRequiredFields(_impl_._has_bits_)) return false; |
2876 | 0 | if (_internal_has_gas()) { |
2877 | 0 | if (!_impl_.gas_->IsInitialized()) return false; |
2878 | 0 | } |
2879 | 0 | if (_internal_has_addr()) { |
2880 | 0 | if (!_impl_.addr_->IsInitialized()) return false; |
2881 | 0 | } |
2882 | 0 | if (_internal_has_wei()) { |
2883 | 0 | if (!_impl_.wei_->IsInitialized()) return false; |
2884 | 0 | } |
2885 | 0 | if (_internal_has_in()) { |
2886 | 0 | if (!_impl_.in_->IsInitialized()) return false; |
2887 | 0 | } |
2888 | 0 | if (_internal_has_insize()) { |
2889 | 0 | if (!_impl_.insize_->IsInitialized()) return false; |
2890 | 0 | } |
2891 | 0 | if (_internal_has_out()) { |
2892 | 0 | if (!_impl_.out_->IsInitialized()) return false; |
2893 | 0 | } |
2894 | 0 | if (_internal_has_outsize()) { |
2895 | 0 | if (!_impl_.outsize_->IsInitialized()) return false; |
2896 | 0 | } |
2897 | 0 | return true; |
2898 | 0 | } |
2899 | | |
2900 | 0 | void LowLevelCall::InternalSwap(LowLevelCall* other) { |
2901 | 0 | using std::swap; |
2902 | 0 | _internal_metadata_.InternalSwap(&other->_internal_metadata_); |
2903 | 0 | swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); |
2904 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::memswap< |
2905 | 0 | PROTOBUF_FIELD_OFFSET(LowLevelCall, _impl_.callty_) |
2906 | 0 | + sizeof(LowLevelCall::_impl_.callty_) |
2907 | 0 | - PROTOBUF_FIELD_OFFSET(LowLevelCall, _impl_.gas_)>( |
2908 | 0 | reinterpret_cast<char*>(&_impl_.gas_), |
2909 | 0 | reinterpret_cast<char*>(&other->_impl_.gas_)); |
2910 | 0 | } |
2911 | | |
2912 | 1.47M | ::PROTOBUF_NAMESPACE_ID::Metadata LowLevelCall::GetMetadata() const { |
2913 | 1.47M | return ::_pbi::AssignDescriptors( |
2914 | 1.47M | &descriptor_table_yulProto_2eproto_getter, &descriptor_table_yulProto_2eproto_once, |
2915 | 1.47M | file_level_metadata_yulProto_2eproto[2]); |
2916 | 1.47M | } |
2917 | | |
2918 | | // =================================================================== |
2919 | | |
2920 | | class Create::_Internal { |
2921 | | public: |
2922 | | using HasBits = decltype(std::declval<Create>()._impl_._has_bits_); |
2923 | 0 | static void set_has_createty(HasBits* has_bits) { |
2924 | 0 | (*has_bits)[0] |= 16u; |
2925 | 0 | } |
2926 | | static const ::solidity::yul::test::yul_fuzzer::Expression& wei(const Create* msg); |
2927 | 0 | static void set_has_wei(HasBits* has_bits) { |
2928 | 0 | (*has_bits)[0] |= 1u; |
2929 | 0 | } |
2930 | | static const ::solidity::yul::test::yul_fuzzer::Expression& position(const Create* msg); |
2931 | 0 | static void set_has_position(HasBits* has_bits) { |
2932 | 0 | (*has_bits)[0] |= 2u; |
2933 | 0 | } |
2934 | | static const ::solidity::yul::test::yul_fuzzer::Expression& size(const Create* msg); |
2935 | 0 | static void set_has_size(HasBits* has_bits) { |
2936 | 0 | (*has_bits)[0] |= 4u; |
2937 | 0 | } |
2938 | | static const ::solidity::yul::test::yul_fuzzer::Expression& value(const Create* msg); |
2939 | 0 | static void set_has_value(HasBits* has_bits) { |
2940 | 0 | (*has_bits)[0] |= 8u; |
2941 | 0 | } |
2942 | 0 | static bool MissingRequiredFields(const HasBits& has_bits) { |
2943 | 0 | return ((has_bits[0] & 0x0000001f) ^ 0x0000001f) != 0; |
2944 | 0 | } |
2945 | | }; |
2946 | | |
2947 | | const ::solidity::yul::test::yul_fuzzer::Expression& |
2948 | 0 | Create::_Internal::wei(const Create* msg) { |
2949 | 0 | return *msg->_impl_.wei_; |
2950 | 0 | } |
2951 | | const ::solidity::yul::test::yul_fuzzer::Expression& |
2952 | 0 | Create::_Internal::position(const Create* msg) { |
2953 | 0 | return *msg->_impl_.position_; |
2954 | 0 | } |
2955 | | const ::solidity::yul::test::yul_fuzzer::Expression& |
2956 | 0 | Create::_Internal::size(const Create* msg) { |
2957 | 0 | return *msg->_impl_.size_; |
2958 | 0 | } |
2959 | | const ::solidity::yul::test::yul_fuzzer::Expression& |
2960 | 0 | Create::_Internal::value(const Create* msg) { |
2961 | 0 | return *msg->_impl_.value_; |
2962 | 0 | } |
2963 | | Create::Create(::PROTOBUF_NAMESPACE_ID::Arena* arena, |
2964 | | bool is_message_owned) |
2965 | 23.3k | : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { |
2966 | 23.3k | SharedCtor(arena, is_message_owned); |
2967 | | // @@protoc_insertion_point(arena_constructor:solidity.yul.test.yul_fuzzer.Create) |
2968 | 23.3k | } |
2969 | | Create::Create(const Create& from) |
2970 | 0 | : ::PROTOBUF_NAMESPACE_ID::Message() { |
2971 | 0 | Create* const _this = this; (void)_this; |
2972 | 0 | new (&_impl_) Impl_{ |
2973 | 0 | decltype(_impl_._has_bits_){from._impl_._has_bits_} |
2974 | 0 | , /*decltype(_impl_._cached_size_)*/{} |
2975 | 0 | , decltype(_impl_.wei_){nullptr} |
2976 | 0 | , decltype(_impl_.position_){nullptr} |
2977 | 0 | , decltype(_impl_.size_){nullptr} |
2978 | 0 | , decltype(_impl_.value_){nullptr} |
2979 | 0 | , decltype(_impl_.createty_){}}; |
2980 | |
|
2981 | 0 | _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); |
2982 | 0 | if (from._internal_has_wei()) { |
2983 | 0 | _this->_impl_.wei_ = new ::solidity::yul::test::yul_fuzzer::Expression(*from._impl_.wei_); |
2984 | 0 | } |
2985 | 0 | if (from._internal_has_position()) { |
2986 | 0 | _this->_impl_.position_ = new ::solidity::yul::test::yul_fuzzer::Expression(*from._impl_.position_); |
2987 | 0 | } |
2988 | 0 | if (from._internal_has_size()) { |
2989 | 0 | _this->_impl_.size_ = new ::solidity::yul::test::yul_fuzzer::Expression(*from._impl_.size_); |
2990 | 0 | } |
2991 | 0 | if (from._internal_has_value()) { |
2992 | 0 | _this->_impl_.value_ = new ::solidity::yul::test::yul_fuzzer::Expression(*from._impl_.value_); |
2993 | 0 | } |
2994 | 0 | _this->_impl_.createty_ = from._impl_.createty_; |
2995 | | // @@protoc_insertion_point(copy_constructor:solidity.yul.test.yul_fuzzer.Create) |
2996 | 0 | } |
2997 | | |
2998 | | inline void Create::SharedCtor( |
2999 | 23.3k | ::_pb::Arena* arena, bool is_message_owned) { |
3000 | 23.3k | (void)arena; |
3001 | 23.3k | (void)is_message_owned; |
3002 | 23.3k | new (&_impl_) Impl_{ |
3003 | 23.3k | decltype(_impl_._has_bits_){} |
3004 | 23.3k | , /*decltype(_impl_._cached_size_)*/{} |
3005 | 23.3k | , decltype(_impl_.wei_){nullptr} |
3006 | 23.3k | , decltype(_impl_.position_){nullptr} |
3007 | 23.3k | , decltype(_impl_.size_){nullptr} |
3008 | 23.3k | , decltype(_impl_.value_){nullptr} |
3009 | 23.3k | , decltype(_impl_.createty_){0} |
3010 | 23.3k | }; |
3011 | 23.3k | } |
3012 | | |
3013 | 23.3k | Create::~Create() { |
3014 | | // @@protoc_insertion_point(destructor:solidity.yul.test.yul_fuzzer.Create) |
3015 | 23.3k | if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { |
3016 | 0 | (void)arena; |
3017 | 0 | return; |
3018 | 0 | } |
3019 | 23.3k | SharedDtor(); |
3020 | 23.3k | } |
3021 | | |
3022 | 23.3k | inline void Create::SharedDtor() { |
3023 | 23.3k | GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); |
3024 | 23.3k | if (this != internal_default_instance()) delete _impl_.wei_; |
3025 | 23.3k | if (this != internal_default_instance()) delete _impl_.position_; |
3026 | 23.3k | if (this != internal_default_instance()) delete _impl_.size_; |
3027 | 23.3k | if (this != internal_default_instance()) delete _impl_.value_; |
3028 | 23.3k | } |
3029 | | |
3030 | 0 | void Create::SetCachedSize(int size) const { |
3031 | 0 | _impl_._cached_size_.Set(size); |
3032 | 0 | } |
3033 | | |
3034 | 0 | void Create::Clear() { |
3035 | | // @@protoc_insertion_point(message_clear_start:solidity.yul.test.yul_fuzzer.Create) |
3036 | 0 | uint32_t cached_has_bits = 0; |
3037 | | // Prevent compiler warnings about cached_has_bits being unused |
3038 | 0 | (void) cached_has_bits; |
3039 | |
|
3040 | 0 | cached_has_bits = _impl_._has_bits_[0]; |
3041 | 0 | if (cached_has_bits & 0x0000000fu) { |
3042 | 0 | if (cached_has_bits & 0x00000001u) { |
3043 | 0 | GOOGLE_DCHECK(_impl_.wei_ != nullptr); |
3044 | 0 | _impl_.wei_->Clear(); |
3045 | 0 | } |
3046 | 0 | if (cached_has_bits & 0x00000002u) { |
3047 | 0 | GOOGLE_DCHECK(_impl_.position_ != nullptr); |
3048 | 0 | _impl_.position_->Clear(); |
3049 | 0 | } |
3050 | 0 | if (cached_has_bits & 0x00000004u) { |
3051 | 0 | GOOGLE_DCHECK(_impl_.size_ != nullptr); |
3052 | 0 | _impl_.size_->Clear(); |
3053 | 0 | } |
3054 | 0 | if (cached_has_bits & 0x00000008u) { |
3055 | 0 | GOOGLE_DCHECK(_impl_.value_ != nullptr); |
3056 | 0 | _impl_.value_->Clear(); |
3057 | 0 | } |
3058 | 0 | } |
3059 | 0 | _impl_.createty_ = 0; |
3060 | 0 | _impl_._has_bits_.Clear(); |
3061 | 0 | _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); |
3062 | 0 | } |
3063 | | |
3064 | 0 | const char* Create::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { |
3065 | 0 | #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure |
3066 | 0 | _Internal::HasBits has_bits{}; |
3067 | 0 | while (!ctx->Done(&ptr)) { |
3068 | 0 | uint32_t tag; |
3069 | 0 | ptr = ::_pbi::ReadTag(ptr, &tag); |
3070 | 0 | switch (tag >> 3) { |
3071 | | // required .solidity.yul.test.yul_fuzzer.Create.Type createty = 1; |
3072 | 0 | case 1: |
3073 | 0 | if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 8)) { |
3074 | 0 | uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); |
3075 | 0 | CHK_(ptr); |
3076 | 0 | if (PROTOBUF_PREDICT_TRUE(::solidity::yul::test::yul_fuzzer::Create_Type_IsValid(val))) { |
3077 | 0 | _internal_set_createty(static_cast<::solidity::yul::test::yul_fuzzer::Create_Type>(val)); |
3078 | 0 | } else { |
3079 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::WriteVarint(1, val, mutable_unknown_fields()); |
3080 | 0 | } |
3081 | 0 | } else |
3082 | 0 | goto handle_unusual; |
3083 | 0 | continue; |
3084 | | // required .solidity.yul.test.yul_fuzzer.Expression wei = 2; |
3085 | 0 | case 2: |
3086 | 0 | if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 18)) { |
3087 | 0 | ptr = ctx->ParseMessage(_internal_mutable_wei(), ptr); |
3088 | 0 | CHK_(ptr); |
3089 | 0 | } else |
3090 | 0 | goto handle_unusual; |
3091 | 0 | continue; |
3092 | | // required .solidity.yul.test.yul_fuzzer.Expression position = 3; |
3093 | 0 | case 3: |
3094 | 0 | if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 26)) { |
3095 | 0 | ptr = ctx->ParseMessage(_internal_mutable_position(), ptr); |
3096 | 0 | CHK_(ptr); |
3097 | 0 | } else |
3098 | 0 | goto handle_unusual; |
3099 | 0 | continue; |
3100 | | // required .solidity.yul.test.yul_fuzzer.Expression size = 4; |
3101 | 0 | case 4: |
3102 | 0 | if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 34)) { |
3103 | 0 | ptr = ctx->ParseMessage(_internal_mutable_size(), ptr); |
3104 | 0 | CHK_(ptr); |
3105 | 0 | } else |
3106 | 0 | goto handle_unusual; |
3107 | 0 | continue; |
3108 | | // required .solidity.yul.test.yul_fuzzer.Expression value = 5; |
3109 | 0 | case 5: |
3110 | 0 | if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 42)) { |
3111 | 0 | ptr = ctx->ParseMessage(_internal_mutable_value(), ptr); |
3112 | 0 | CHK_(ptr); |
3113 | 0 | } else |
3114 | 0 | goto handle_unusual; |
3115 | 0 | continue; |
3116 | 0 | default: |
3117 | 0 | goto handle_unusual; |
3118 | 0 | } // switch |
3119 | 0 | handle_unusual: |
3120 | 0 | if ((tag == 0) || ((tag & 7) == 4)) { |
3121 | 0 | CHK_(ptr); |
3122 | 0 | ctx->SetLastTag(tag); |
3123 | 0 | goto message_done; |
3124 | 0 | } |
3125 | 0 | ptr = UnknownFieldParse( |
3126 | 0 | tag, |
3127 | 0 | _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), |
3128 | 0 | ptr, ctx); |
3129 | 0 | CHK_(ptr != nullptr); |
3130 | 0 | } // while |
3131 | 0 | message_done: |
3132 | 0 | _impl_._has_bits_.Or(has_bits); |
3133 | 0 | return ptr; |
3134 | 0 | failure: |
3135 | 0 | ptr = nullptr; |
3136 | 0 | goto message_done; |
3137 | 0 | #undef CHK_ |
3138 | 0 | } |
3139 | | |
3140 | | uint8_t* Create::_InternalSerialize( |
3141 | 0 | uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { |
3142 | | // @@protoc_insertion_point(serialize_to_array_start:solidity.yul.test.yul_fuzzer.Create) |
3143 | 0 | uint32_t cached_has_bits = 0; |
3144 | 0 | (void) cached_has_bits; |
3145 | |
|
3146 | 0 | cached_has_bits = _impl_._has_bits_[0]; |
3147 | | // required .solidity.yul.test.yul_fuzzer.Create.Type createty = 1; |
3148 | 0 | if (cached_has_bits & 0x00000010u) { |
3149 | 0 | target = stream->EnsureSpace(target); |
3150 | 0 | target = ::_pbi::WireFormatLite::WriteEnumToArray( |
3151 | 0 | 1, this->_internal_createty(), target); |
3152 | 0 | } |
3153 | | |
3154 | | // required .solidity.yul.test.yul_fuzzer.Expression wei = 2; |
3155 | 0 | if (cached_has_bits & 0x00000001u) { |
3156 | 0 | target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: |
3157 | 0 | InternalWriteMessage(2, _Internal::wei(this), |
3158 | 0 | _Internal::wei(this).GetCachedSize(), target, stream); |
3159 | 0 | } |
3160 | | |
3161 | | // required .solidity.yul.test.yul_fuzzer.Expression position = 3; |
3162 | 0 | if (cached_has_bits & 0x00000002u) { |
3163 | 0 | target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: |
3164 | 0 | InternalWriteMessage(3, _Internal::position(this), |
3165 | 0 | _Internal::position(this).GetCachedSize(), target, stream); |
3166 | 0 | } |
3167 | | |
3168 | | // required .solidity.yul.test.yul_fuzzer.Expression size = 4; |
3169 | 0 | if (cached_has_bits & 0x00000004u) { |
3170 | 0 | target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: |
3171 | 0 | InternalWriteMessage(4, _Internal::size(this), |
3172 | 0 | _Internal::size(this).GetCachedSize(), target, stream); |
3173 | 0 | } |
3174 | | |
3175 | | // required .solidity.yul.test.yul_fuzzer.Expression value = 5; |
3176 | 0 | if (cached_has_bits & 0x00000008u) { |
3177 | 0 | target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: |
3178 | 0 | InternalWriteMessage(5, _Internal::value(this), |
3179 | 0 | _Internal::value(this).GetCachedSize(), target, stream); |
3180 | 0 | } |
3181 | |
|
3182 | 0 | if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { |
3183 | 0 | target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( |
3184 | 0 | _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); |
3185 | 0 | } |
3186 | | // @@protoc_insertion_point(serialize_to_array_end:solidity.yul.test.yul_fuzzer.Create) |
3187 | 0 | return target; |
3188 | 0 | } |
3189 | | |
3190 | 0 | size_t Create::RequiredFieldsByteSizeFallback() const { |
3191 | | // @@protoc_insertion_point(required_fields_byte_size_fallback_start:solidity.yul.test.yul_fuzzer.Create) |
3192 | 0 | size_t total_size = 0; |
3193 | |
|
3194 | 0 | if (_internal_has_wei()) { |
3195 | | // required .solidity.yul.test.yul_fuzzer.Expression wei = 2; |
3196 | 0 | total_size += 1 + |
3197 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
3198 | 0 | *_impl_.wei_); |
3199 | 0 | } |
3200 | |
|
3201 | 0 | if (_internal_has_position()) { |
3202 | | // required .solidity.yul.test.yul_fuzzer.Expression position = 3; |
3203 | 0 | total_size += 1 + |
3204 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
3205 | 0 | *_impl_.position_); |
3206 | 0 | } |
3207 | |
|
3208 | 0 | if (_internal_has_size()) { |
3209 | | // required .solidity.yul.test.yul_fuzzer.Expression size = 4; |
3210 | 0 | total_size += 1 + |
3211 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
3212 | 0 | *_impl_.size_); |
3213 | 0 | } |
3214 | |
|
3215 | 0 | if (_internal_has_value()) { |
3216 | | // required .solidity.yul.test.yul_fuzzer.Expression value = 5; |
3217 | 0 | total_size += 1 + |
3218 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
3219 | 0 | *_impl_.value_); |
3220 | 0 | } |
3221 | |
|
3222 | 0 | if (_internal_has_createty()) { |
3223 | | // required .solidity.yul.test.yul_fuzzer.Create.Type createty = 1; |
3224 | 0 | total_size += 1 + |
3225 | 0 | ::_pbi::WireFormatLite::EnumSize(this->_internal_createty()); |
3226 | 0 | } |
3227 | |
|
3228 | 0 | return total_size; |
3229 | 0 | } |
3230 | 19.2k | size_t Create::ByteSizeLong() const { |
3231 | | // @@protoc_insertion_point(message_byte_size_start:solidity.yul.test.yul_fuzzer.Create) |
3232 | 19.2k | size_t total_size = 0; |
3233 | | |
3234 | 19.2k | if (((_impl_._has_bits_[0] & 0x0000001f) ^ 0x0000001f) == 0) { // All required fields are present. |
3235 | | // required .solidity.yul.test.yul_fuzzer.Expression wei = 2; |
3236 | 19.2k | total_size += 1 + |
3237 | 19.2k | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
3238 | 19.2k | *_impl_.wei_); |
3239 | | |
3240 | | // required .solidity.yul.test.yul_fuzzer.Expression position = 3; |
3241 | 19.2k | total_size += 1 + |
3242 | 19.2k | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
3243 | 19.2k | *_impl_.position_); |
3244 | | |
3245 | | // required .solidity.yul.test.yul_fuzzer.Expression size = 4; |
3246 | 19.2k | total_size += 1 + |
3247 | 19.2k | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
3248 | 19.2k | *_impl_.size_); |
3249 | | |
3250 | | // required .solidity.yul.test.yul_fuzzer.Expression value = 5; |
3251 | 19.2k | total_size += 1 + |
3252 | 19.2k | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
3253 | 19.2k | *_impl_.value_); |
3254 | | |
3255 | | // required .solidity.yul.test.yul_fuzzer.Create.Type createty = 1; |
3256 | 19.2k | total_size += 1 + |
3257 | 19.2k | ::_pbi::WireFormatLite::EnumSize(this->_internal_createty()); |
3258 | | |
3259 | 19.2k | } else { |
3260 | 0 | total_size += RequiredFieldsByteSizeFallback(); |
3261 | 0 | } |
3262 | 19.2k | uint32_t cached_has_bits = 0; |
3263 | | // Prevent compiler warnings about cached_has_bits being unused |
3264 | 19.2k | (void) cached_has_bits; |
3265 | | |
3266 | 19.2k | return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); |
3267 | 19.2k | } |
3268 | | |
3269 | | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData Create::_class_data_ = { |
3270 | | ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, |
3271 | | Create::MergeImpl |
3272 | | }; |
3273 | 0 | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*Create::GetClassData() const { return &_class_data_; } |
3274 | | |
3275 | | |
3276 | 0 | void Create::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { |
3277 | 0 | auto* const _this = static_cast<Create*>(&to_msg); |
3278 | 0 | auto& from = static_cast<const Create&>(from_msg); |
3279 | | // @@protoc_insertion_point(class_specific_merge_from_start:solidity.yul.test.yul_fuzzer.Create) |
3280 | 0 | GOOGLE_DCHECK_NE(&from, _this); |
3281 | 0 | uint32_t cached_has_bits = 0; |
3282 | 0 | (void) cached_has_bits; |
3283 | |
|
3284 | 0 | cached_has_bits = from._impl_._has_bits_[0]; |
3285 | 0 | if (cached_has_bits & 0x0000001fu) { |
3286 | 0 | if (cached_has_bits & 0x00000001u) { |
3287 | 0 | _this->_internal_mutable_wei()->::solidity::yul::test::yul_fuzzer::Expression::MergeFrom( |
3288 | 0 | from._internal_wei()); |
3289 | 0 | } |
3290 | 0 | if (cached_has_bits & 0x00000002u) { |
3291 | 0 | _this->_internal_mutable_position()->::solidity::yul::test::yul_fuzzer::Expression::MergeFrom( |
3292 | 0 | from._internal_position()); |
3293 | 0 | } |
3294 | 0 | if (cached_has_bits & 0x00000004u) { |
3295 | 0 | _this->_internal_mutable_size()->::solidity::yul::test::yul_fuzzer::Expression::MergeFrom( |
3296 | 0 | from._internal_size()); |
3297 | 0 | } |
3298 | 0 | if (cached_has_bits & 0x00000008u) { |
3299 | 0 | _this->_internal_mutable_value()->::solidity::yul::test::yul_fuzzer::Expression::MergeFrom( |
3300 | 0 | from._internal_value()); |
3301 | 0 | } |
3302 | 0 | if (cached_has_bits & 0x00000010u) { |
3303 | 0 | _this->_impl_.createty_ = from._impl_.createty_; |
3304 | 0 | } |
3305 | 0 | _this->_impl_._has_bits_[0] |= cached_has_bits; |
3306 | 0 | } |
3307 | 0 | _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); |
3308 | 0 | } |
3309 | | |
3310 | 0 | void Create::CopyFrom(const Create& from) { |
3311 | | // @@protoc_insertion_point(class_specific_copy_from_start:solidity.yul.test.yul_fuzzer.Create) |
3312 | 0 | if (&from == this) return; |
3313 | 0 | Clear(); |
3314 | 0 | MergeFrom(from); |
3315 | 0 | } |
3316 | | |
3317 | 0 | bool Create::IsInitialized() const { |
3318 | 0 | if (_Internal::MissingRequiredFields(_impl_._has_bits_)) return false; |
3319 | 0 | if (_internal_has_wei()) { |
3320 | 0 | if (!_impl_.wei_->IsInitialized()) return false; |
3321 | 0 | } |
3322 | 0 | if (_internal_has_position()) { |
3323 | 0 | if (!_impl_.position_->IsInitialized()) return false; |
3324 | 0 | } |
3325 | 0 | if (_internal_has_size()) { |
3326 | 0 | if (!_impl_.size_->IsInitialized()) return false; |
3327 | 0 | } |
3328 | 0 | if (_internal_has_value()) { |
3329 | 0 | if (!_impl_.value_->IsInitialized()) return false; |
3330 | 0 | } |
3331 | 0 | return true; |
3332 | 0 | } |
3333 | | |
3334 | 0 | void Create::InternalSwap(Create* other) { |
3335 | 0 | using std::swap; |
3336 | 0 | _internal_metadata_.InternalSwap(&other->_internal_metadata_); |
3337 | 0 | swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); |
3338 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::memswap< |
3339 | 0 | PROTOBUF_FIELD_OFFSET(Create, _impl_.createty_) |
3340 | 0 | + sizeof(Create::_impl_.createty_) |
3341 | 0 | - PROTOBUF_FIELD_OFFSET(Create, _impl_.wei_)>( |
3342 | 0 | reinterpret_cast<char*>(&_impl_.wei_), |
3343 | 0 | reinterpret_cast<char*>(&other->_impl_.wei_)); |
3344 | 0 | } |
3345 | | |
3346 | 491k | ::PROTOBUF_NAMESPACE_ID::Metadata Create::GetMetadata() const { |
3347 | 491k | return ::_pbi::AssignDescriptors( |
3348 | 491k | &descriptor_table_yulProto_2eproto_getter, &descriptor_table_yulProto_2eproto_once, |
3349 | 491k | file_level_metadata_yulProto_2eproto[3]); |
3350 | 491k | } |
3351 | | |
3352 | | // =================================================================== |
3353 | | |
3354 | | class FunctionCall::_Internal { |
3355 | | public: |
3356 | | using HasBits = decltype(std::declval<FunctionCall>()._impl_._has_bits_); |
3357 | | static const ::solidity::yul::test::yul_fuzzer::Expression& in_param1(const FunctionCall* msg); |
3358 | 0 | static void set_has_in_param1(HasBits* has_bits) { |
3359 | 0 | (*has_bits)[0] |= 1u; |
3360 | 0 | } |
3361 | | static const ::solidity::yul::test::yul_fuzzer::Expression& in_param2(const FunctionCall* msg); |
3362 | 0 | static void set_has_in_param2(HasBits* has_bits) { |
3363 | 0 | (*has_bits)[0] |= 2u; |
3364 | 0 | } |
3365 | | static const ::solidity::yul::test::yul_fuzzer::Expression& in_param3(const FunctionCall* msg); |
3366 | 0 | static void set_has_in_param3(HasBits* has_bits) { |
3367 | 0 | (*has_bits)[0] |= 4u; |
3368 | 0 | } |
3369 | | static const ::solidity::yul::test::yul_fuzzer::Expression& in_param4(const FunctionCall* msg); |
3370 | 0 | static void set_has_in_param4(HasBits* has_bits) { |
3371 | 0 | (*has_bits)[0] |= 8u; |
3372 | 0 | } |
3373 | 0 | static bool MissingRequiredFields(const HasBits& has_bits) { |
3374 | 0 | return ((has_bits[0] & 0x0000000f) ^ 0x0000000f) != 0; |
3375 | 0 | } |
3376 | | }; |
3377 | | |
3378 | | const ::solidity::yul::test::yul_fuzzer::Expression& |
3379 | 0 | FunctionCall::_Internal::in_param1(const FunctionCall* msg) { |
3380 | 0 | return *msg->_impl_.in_param1_; |
3381 | 0 | } |
3382 | | const ::solidity::yul::test::yul_fuzzer::Expression& |
3383 | 0 | FunctionCall::_Internal::in_param2(const FunctionCall* msg) { |
3384 | 0 | return *msg->_impl_.in_param2_; |
3385 | 0 | } |
3386 | | const ::solidity::yul::test::yul_fuzzer::Expression& |
3387 | 0 | FunctionCall::_Internal::in_param3(const FunctionCall* msg) { |
3388 | 0 | return *msg->_impl_.in_param3_; |
3389 | 0 | } |
3390 | | const ::solidity::yul::test::yul_fuzzer::Expression& |
3391 | 0 | FunctionCall::_Internal::in_param4(const FunctionCall* msg) { |
3392 | 0 | return *msg->_impl_.in_param4_; |
3393 | 0 | } |
3394 | | FunctionCall::FunctionCall(::PROTOBUF_NAMESPACE_ID::Arena* arena, |
3395 | | bool is_message_owned) |
3396 | 445k | : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { |
3397 | 445k | SharedCtor(arena, is_message_owned); |
3398 | | // @@protoc_insertion_point(arena_constructor:solidity.yul.test.yul_fuzzer.FunctionCall) |
3399 | 445k | } |
3400 | | FunctionCall::FunctionCall(const FunctionCall& from) |
3401 | 0 | : ::PROTOBUF_NAMESPACE_ID::Message() { |
3402 | 0 | FunctionCall* const _this = this; (void)_this; |
3403 | 0 | new (&_impl_) Impl_{ |
3404 | 0 | decltype(_impl_._has_bits_){from._impl_._has_bits_} |
3405 | 0 | , /*decltype(_impl_._cached_size_)*/{} |
3406 | 0 | , decltype(_impl_.in_param1_){nullptr} |
3407 | 0 | , decltype(_impl_.in_param2_){nullptr} |
3408 | 0 | , decltype(_impl_.in_param3_){nullptr} |
3409 | 0 | , decltype(_impl_.in_param4_){nullptr}}; |
3410 | |
|
3411 | 0 | _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); |
3412 | 0 | if (from._internal_has_in_param1()) { |
3413 | 0 | _this->_impl_.in_param1_ = new ::solidity::yul::test::yul_fuzzer::Expression(*from._impl_.in_param1_); |
3414 | 0 | } |
3415 | 0 | if (from._internal_has_in_param2()) { |
3416 | 0 | _this->_impl_.in_param2_ = new ::solidity::yul::test::yul_fuzzer::Expression(*from._impl_.in_param2_); |
3417 | 0 | } |
3418 | 0 | if (from._internal_has_in_param3()) { |
3419 | 0 | _this->_impl_.in_param3_ = new ::solidity::yul::test::yul_fuzzer::Expression(*from._impl_.in_param3_); |
3420 | 0 | } |
3421 | 0 | if (from._internal_has_in_param4()) { |
3422 | 0 | _this->_impl_.in_param4_ = new ::solidity::yul::test::yul_fuzzer::Expression(*from._impl_.in_param4_); |
3423 | 0 | } |
3424 | | // @@protoc_insertion_point(copy_constructor:solidity.yul.test.yul_fuzzer.FunctionCall) |
3425 | 0 | } |
3426 | | |
3427 | | inline void FunctionCall::SharedCtor( |
3428 | 445k | ::_pb::Arena* arena, bool is_message_owned) { |
3429 | 445k | (void)arena; |
3430 | 445k | (void)is_message_owned; |
3431 | 445k | new (&_impl_) Impl_{ |
3432 | 445k | decltype(_impl_._has_bits_){} |
3433 | 445k | , /*decltype(_impl_._cached_size_)*/{} |
3434 | 445k | , decltype(_impl_.in_param1_){nullptr} |
3435 | 445k | , decltype(_impl_.in_param2_){nullptr} |
3436 | 445k | , decltype(_impl_.in_param3_){nullptr} |
3437 | 445k | , decltype(_impl_.in_param4_){nullptr} |
3438 | 445k | }; |
3439 | 445k | } |
3440 | | |
3441 | 445k | FunctionCall::~FunctionCall() { |
3442 | | // @@protoc_insertion_point(destructor:solidity.yul.test.yul_fuzzer.FunctionCall) |
3443 | 445k | if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { |
3444 | 0 | (void)arena; |
3445 | 0 | return; |
3446 | 0 | } |
3447 | 445k | SharedDtor(); |
3448 | 445k | } |
3449 | | |
3450 | 445k | inline void FunctionCall::SharedDtor() { |
3451 | 445k | GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); |
3452 | 445k | if (this != internal_default_instance()) delete _impl_.in_param1_; |
3453 | 445k | if (this != internal_default_instance()) delete _impl_.in_param2_; |
3454 | 445k | if (this != internal_default_instance()) delete _impl_.in_param3_; |
3455 | 445k | if (this != internal_default_instance()) delete _impl_.in_param4_; |
3456 | 445k | } |
3457 | | |
3458 | 0 | void FunctionCall::SetCachedSize(int size) const { |
3459 | 0 | _impl_._cached_size_.Set(size); |
3460 | 0 | } |
3461 | | |
3462 | 0 | void FunctionCall::Clear() { |
3463 | | // @@protoc_insertion_point(message_clear_start:solidity.yul.test.yul_fuzzer.FunctionCall) |
3464 | 0 | uint32_t cached_has_bits = 0; |
3465 | | // Prevent compiler warnings about cached_has_bits being unused |
3466 | 0 | (void) cached_has_bits; |
3467 | |
|
3468 | 0 | cached_has_bits = _impl_._has_bits_[0]; |
3469 | 0 | if (cached_has_bits & 0x0000000fu) { |
3470 | 0 | if (cached_has_bits & 0x00000001u) { |
3471 | 0 | GOOGLE_DCHECK(_impl_.in_param1_ != nullptr); |
3472 | 0 | _impl_.in_param1_->Clear(); |
3473 | 0 | } |
3474 | 0 | if (cached_has_bits & 0x00000002u) { |
3475 | 0 | GOOGLE_DCHECK(_impl_.in_param2_ != nullptr); |
3476 | 0 | _impl_.in_param2_->Clear(); |
3477 | 0 | } |
3478 | 0 | if (cached_has_bits & 0x00000004u) { |
3479 | 0 | GOOGLE_DCHECK(_impl_.in_param3_ != nullptr); |
3480 | 0 | _impl_.in_param3_->Clear(); |
3481 | 0 | } |
3482 | 0 | if (cached_has_bits & 0x00000008u) { |
3483 | 0 | GOOGLE_DCHECK(_impl_.in_param4_ != nullptr); |
3484 | 0 | _impl_.in_param4_->Clear(); |
3485 | 0 | } |
3486 | 0 | } |
3487 | 0 | _impl_._has_bits_.Clear(); |
3488 | 0 | _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); |
3489 | 0 | } |
3490 | | |
3491 | 0 | const char* FunctionCall::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { |
3492 | 0 | #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure |
3493 | 0 | _Internal::HasBits has_bits{}; |
3494 | 0 | while (!ctx->Done(&ptr)) { |
3495 | 0 | uint32_t tag; |
3496 | 0 | ptr = ::_pbi::ReadTag(ptr, &tag); |
3497 | 0 | switch (tag >> 3) { |
3498 | | // required .solidity.yul.test.yul_fuzzer.Expression in_param1 = 1; |
3499 | 0 | case 1: |
3500 | 0 | if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 10)) { |
3501 | 0 | ptr = ctx->ParseMessage(_internal_mutable_in_param1(), ptr); |
3502 | 0 | CHK_(ptr); |
3503 | 0 | } else |
3504 | 0 | goto handle_unusual; |
3505 | 0 | continue; |
3506 | | // required .solidity.yul.test.yul_fuzzer.Expression in_param2 = 2; |
3507 | 0 | case 2: |
3508 | 0 | if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 18)) { |
3509 | 0 | ptr = ctx->ParseMessage(_internal_mutable_in_param2(), ptr); |
3510 | 0 | CHK_(ptr); |
3511 | 0 | } else |
3512 | 0 | goto handle_unusual; |
3513 | 0 | continue; |
3514 | | // required .solidity.yul.test.yul_fuzzer.Expression in_param3 = 3; |
3515 | 0 | case 3: |
3516 | 0 | if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 26)) { |
3517 | 0 | ptr = ctx->ParseMessage(_internal_mutable_in_param3(), ptr); |
3518 | 0 | CHK_(ptr); |
3519 | 0 | } else |
3520 | 0 | goto handle_unusual; |
3521 | 0 | continue; |
3522 | | // required .solidity.yul.test.yul_fuzzer.Expression in_param4 = 4; |
3523 | 0 | case 4: |
3524 | 0 | if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 34)) { |
3525 | 0 | ptr = ctx->ParseMessage(_internal_mutable_in_param4(), ptr); |
3526 | 0 | CHK_(ptr); |
3527 | 0 | } else |
3528 | 0 | goto handle_unusual; |
3529 | 0 | continue; |
3530 | 0 | default: |
3531 | 0 | goto handle_unusual; |
3532 | 0 | } // switch |
3533 | 0 | handle_unusual: |
3534 | 0 | if ((tag == 0) || ((tag & 7) == 4)) { |
3535 | 0 | CHK_(ptr); |
3536 | 0 | ctx->SetLastTag(tag); |
3537 | 0 | goto message_done; |
3538 | 0 | } |
3539 | 0 | ptr = UnknownFieldParse( |
3540 | 0 | tag, |
3541 | 0 | _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), |
3542 | 0 | ptr, ctx); |
3543 | 0 | CHK_(ptr != nullptr); |
3544 | 0 | } // while |
3545 | 0 | message_done: |
3546 | 0 | _impl_._has_bits_.Or(has_bits); |
3547 | 0 | return ptr; |
3548 | 0 | failure: |
3549 | 0 | ptr = nullptr; |
3550 | 0 | goto message_done; |
3551 | 0 | #undef CHK_ |
3552 | 0 | } |
3553 | | |
3554 | | uint8_t* FunctionCall::_InternalSerialize( |
3555 | 0 | uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { |
3556 | | // @@protoc_insertion_point(serialize_to_array_start:solidity.yul.test.yul_fuzzer.FunctionCall) |
3557 | 0 | uint32_t cached_has_bits = 0; |
3558 | 0 | (void) cached_has_bits; |
3559 | |
|
3560 | 0 | cached_has_bits = _impl_._has_bits_[0]; |
3561 | | // required .solidity.yul.test.yul_fuzzer.Expression in_param1 = 1; |
3562 | 0 | if (cached_has_bits & 0x00000001u) { |
3563 | 0 | target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: |
3564 | 0 | InternalWriteMessage(1, _Internal::in_param1(this), |
3565 | 0 | _Internal::in_param1(this).GetCachedSize(), target, stream); |
3566 | 0 | } |
3567 | | |
3568 | | // required .solidity.yul.test.yul_fuzzer.Expression in_param2 = 2; |
3569 | 0 | if (cached_has_bits & 0x00000002u) { |
3570 | 0 | target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: |
3571 | 0 | InternalWriteMessage(2, _Internal::in_param2(this), |
3572 | 0 | _Internal::in_param2(this).GetCachedSize(), target, stream); |
3573 | 0 | } |
3574 | | |
3575 | | // required .solidity.yul.test.yul_fuzzer.Expression in_param3 = 3; |
3576 | 0 | if (cached_has_bits & 0x00000004u) { |
3577 | 0 | target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: |
3578 | 0 | InternalWriteMessage(3, _Internal::in_param3(this), |
3579 | 0 | _Internal::in_param3(this).GetCachedSize(), target, stream); |
3580 | 0 | } |
3581 | | |
3582 | | // required .solidity.yul.test.yul_fuzzer.Expression in_param4 = 4; |
3583 | 0 | if (cached_has_bits & 0x00000008u) { |
3584 | 0 | target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: |
3585 | 0 | InternalWriteMessage(4, _Internal::in_param4(this), |
3586 | 0 | _Internal::in_param4(this).GetCachedSize(), target, stream); |
3587 | 0 | } |
3588 | |
|
3589 | 0 | if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { |
3590 | 0 | target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( |
3591 | 0 | _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); |
3592 | 0 | } |
3593 | | // @@protoc_insertion_point(serialize_to_array_end:solidity.yul.test.yul_fuzzer.FunctionCall) |
3594 | 0 | return target; |
3595 | 0 | } |
3596 | | |
3597 | 95.8k | size_t FunctionCall::RequiredFieldsByteSizeFallback() const { |
3598 | | // @@protoc_insertion_point(required_fields_byte_size_fallback_start:solidity.yul.test.yul_fuzzer.FunctionCall) |
3599 | 95.8k | size_t total_size = 0; |
3600 | | |
3601 | 95.8k | if (_internal_has_in_param1()) { |
3602 | | // required .solidity.yul.test.yul_fuzzer.Expression in_param1 = 1; |
3603 | 0 | total_size += 1 + |
3604 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
3605 | 0 | *_impl_.in_param1_); |
3606 | 0 | } |
3607 | | |
3608 | 95.8k | if (_internal_has_in_param2()) { |
3609 | | // required .solidity.yul.test.yul_fuzzer.Expression in_param2 = 2; |
3610 | 0 | total_size += 1 + |
3611 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
3612 | 0 | *_impl_.in_param2_); |
3613 | 0 | } |
3614 | | |
3615 | 95.8k | if (_internal_has_in_param3()) { |
3616 | | // required .solidity.yul.test.yul_fuzzer.Expression in_param3 = 3; |
3617 | 0 | total_size += 1 + |
3618 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
3619 | 0 | *_impl_.in_param3_); |
3620 | 0 | } |
3621 | | |
3622 | 95.8k | if (_internal_has_in_param4()) { |
3623 | | // required .solidity.yul.test.yul_fuzzer.Expression in_param4 = 4; |
3624 | 0 | total_size += 1 + |
3625 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
3626 | 0 | *_impl_.in_param4_); |
3627 | 0 | } |
3628 | | |
3629 | 95.8k | return total_size; |
3630 | 95.8k | } |
3631 | 438k | size_t FunctionCall::ByteSizeLong() const { |
3632 | | // @@protoc_insertion_point(message_byte_size_start:solidity.yul.test.yul_fuzzer.FunctionCall) |
3633 | 438k | size_t total_size = 0; |
3634 | | |
3635 | 438k | if (((_impl_._has_bits_[0] & 0x0000000f) ^ 0x0000000f) == 0) { // All required fields are present. |
3636 | | // required .solidity.yul.test.yul_fuzzer.Expression in_param1 = 1; |
3637 | 343k | total_size += 1 + |
3638 | 343k | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
3639 | 343k | *_impl_.in_param1_); |
3640 | | |
3641 | | // required .solidity.yul.test.yul_fuzzer.Expression in_param2 = 2; |
3642 | 343k | total_size += 1 + |
3643 | 343k | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
3644 | 343k | *_impl_.in_param2_); |
3645 | | |
3646 | | // required .solidity.yul.test.yul_fuzzer.Expression in_param3 = 3; |
3647 | 343k | total_size += 1 + |
3648 | 343k | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
3649 | 343k | *_impl_.in_param3_); |
3650 | | |
3651 | | // required .solidity.yul.test.yul_fuzzer.Expression in_param4 = 4; |
3652 | 343k | total_size += 1 + |
3653 | 343k | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
3654 | 343k | *_impl_.in_param4_); |
3655 | | |
3656 | 343k | } else { |
3657 | 95.8k | total_size += RequiredFieldsByteSizeFallback(); |
3658 | 95.8k | } |
3659 | 438k | uint32_t cached_has_bits = 0; |
3660 | | // Prevent compiler warnings about cached_has_bits being unused |
3661 | 438k | (void) cached_has_bits; |
3662 | | |
3663 | 438k | return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); |
3664 | 438k | } |
3665 | | |
3666 | | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData FunctionCall::_class_data_ = { |
3667 | | ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, |
3668 | | FunctionCall::MergeImpl |
3669 | | }; |
3670 | 0 | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*FunctionCall::GetClassData() const { return &_class_data_; } |
3671 | | |
3672 | | |
3673 | 0 | void FunctionCall::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { |
3674 | 0 | auto* const _this = static_cast<FunctionCall*>(&to_msg); |
3675 | 0 | auto& from = static_cast<const FunctionCall&>(from_msg); |
3676 | | // @@protoc_insertion_point(class_specific_merge_from_start:solidity.yul.test.yul_fuzzer.FunctionCall) |
3677 | 0 | GOOGLE_DCHECK_NE(&from, _this); |
3678 | 0 | uint32_t cached_has_bits = 0; |
3679 | 0 | (void) cached_has_bits; |
3680 | |
|
3681 | 0 | cached_has_bits = from._impl_._has_bits_[0]; |
3682 | 0 | if (cached_has_bits & 0x0000000fu) { |
3683 | 0 | if (cached_has_bits & 0x00000001u) { |
3684 | 0 | _this->_internal_mutable_in_param1()->::solidity::yul::test::yul_fuzzer::Expression::MergeFrom( |
3685 | 0 | from._internal_in_param1()); |
3686 | 0 | } |
3687 | 0 | if (cached_has_bits & 0x00000002u) { |
3688 | 0 | _this->_internal_mutable_in_param2()->::solidity::yul::test::yul_fuzzer::Expression::MergeFrom( |
3689 | 0 | from._internal_in_param2()); |
3690 | 0 | } |
3691 | 0 | if (cached_has_bits & 0x00000004u) { |
3692 | 0 | _this->_internal_mutable_in_param3()->::solidity::yul::test::yul_fuzzer::Expression::MergeFrom( |
3693 | 0 | from._internal_in_param3()); |
3694 | 0 | } |
3695 | 0 | if (cached_has_bits & 0x00000008u) { |
3696 | 0 | _this->_internal_mutable_in_param4()->::solidity::yul::test::yul_fuzzer::Expression::MergeFrom( |
3697 | 0 | from._internal_in_param4()); |
3698 | 0 | } |
3699 | 0 | } |
3700 | 0 | _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); |
3701 | 0 | } |
3702 | | |
3703 | 0 | void FunctionCall::CopyFrom(const FunctionCall& from) { |
3704 | | // @@protoc_insertion_point(class_specific_copy_from_start:solidity.yul.test.yul_fuzzer.FunctionCall) |
3705 | 0 | if (&from == this) return; |
3706 | 0 | Clear(); |
3707 | 0 | MergeFrom(from); |
3708 | 0 | } |
3709 | | |
3710 | 0 | bool FunctionCall::IsInitialized() const { |
3711 | 0 | if (_Internal::MissingRequiredFields(_impl_._has_bits_)) return false; |
3712 | 0 | if (_internal_has_in_param1()) { |
3713 | 0 | if (!_impl_.in_param1_->IsInitialized()) return false; |
3714 | 0 | } |
3715 | 0 | if (_internal_has_in_param2()) { |
3716 | 0 | if (!_impl_.in_param2_->IsInitialized()) return false; |
3717 | 0 | } |
3718 | 0 | if (_internal_has_in_param3()) { |
3719 | 0 | if (!_impl_.in_param3_->IsInitialized()) return false; |
3720 | 0 | } |
3721 | 0 | if (_internal_has_in_param4()) { |
3722 | 0 | if (!_impl_.in_param4_->IsInitialized()) return false; |
3723 | 0 | } |
3724 | 0 | return true; |
3725 | 0 | } |
3726 | | |
3727 | 0 | void FunctionCall::InternalSwap(FunctionCall* other) { |
3728 | 0 | using std::swap; |
3729 | 0 | _internal_metadata_.InternalSwap(&other->_internal_metadata_); |
3730 | 0 | swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); |
3731 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::memswap< |
3732 | 0 | PROTOBUF_FIELD_OFFSET(FunctionCall, _impl_.in_param4_) |
3733 | 0 | + sizeof(FunctionCall::_impl_.in_param4_) |
3734 | 0 | - PROTOBUF_FIELD_OFFSET(FunctionCall, _impl_.in_param1_)>( |
3735 | 0 | reinterpret_cast<char*>(&_impl_.in_param1_), |
3736 | 0 | reinterpret_cast<char*>(&other->_impl_.in_param1_)); |
3737 | 0 | } |
3738 | | |
3739 | 14.6M | ::PROTOBUF_NAMESPACE_ID::Metadata FunctionCall::GetMetadata() const { |
3740 | 14.6M | return ::_pbi::AssignDescriptors( |
3741 | 14.6M | &descriptor_table_yulProto_2eproto_getter, &descriptor_table_yulProto_2eproto_once, |
3742 | 14.6M | file_level_metadata_yulProto_2eproto[4]); |
3743 | 14.6M | } |
3744 | | |
3745 | | // =================================================================== |
3746 | | |
3747 | | class TypedVarDecl::_Internal { |
3748 | | public: |
3749 | | using HasBits = decltype(std::declval<TypedVarDecl>()._impl_._has_bits_); |
3750 | 0 | static void set_has_id(HasBits* has_bits) { |
3751 | 0 | (*has_bits)[0] |= 2u; |
3752 | 0 | } |
3753 | 0 | static void set_has_type(HasBits* has_bits) { |
3754 | 0 | (*has_bits)[0] |= 4u; |
3755 | 0 | } |
3756 | | static const ::solidity::yul::test::yul_fuzzer::Expression& expr(const TypedVarDecl* msg); |
3757 | 0 | static void set_has_expr(HasBits* has_bits) { |
3758 | 0 | (*has_bits)[0] |= 1u; |
3759 | 0 | } |
3760 | 0 | static bool MissingRequiredFields(const HasBits& has_bits) { |
3761 | 0 | return ((has_bits[0] & 0x00000007) ^ 0x00000007) != 0; |
3762 | 0 | } |
3763 | | }; |
3764 | | |
3765 | | const ::solidity::yul::test::yul_fuzzer::Expression& |
3766 | 0 | TypedVarDecl::_Internal::expr(const TypedVarDecl* msg) { |
3767 | 0 | return *msg->_impl_.expr_; |
3768 | 0 | } |
3769 | | TypedVarDecl::TypedVarDecl(::PROTOBUF_NAMESPACE_ID::Arena* arena, |
3770 | | bool is_message_owned) |
3771 | 0 | : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { |
3772 | 0 | SharedCtor(arena, is_message_owned); |
3773 | | // @@protoc_insertion_point(arena_constructor:solidity.yul.test.yul_fuzzer.TypedVarDecl) |
3774 | 0 | } |
3775 | | TypedVarDecl::TypedVarDecl(const TypedVarDecl& from) |
3776 | 0 | : ::PROTOBUF_NAMESPACE_ID::Message() { |
3777 | 0 | TypedVarDecl* const _this = this; (void)_this; |
3778 | 0 | new (&_impl_) Impl_{ |
3779 | 0 | decltype(_impl_._has_bits_){from._impl_._has_bits_} |
3780 | 0 | , /*decltype(_impl_._cached_size_)*/{} |
3781 | 0 | , decltype(_impl_.expr_){nullptr} |
3782 | 0 | , decltype(_impl_.id_){} |
3783 | 0 | , decltype(_impl_.type_){}}; |
3784 | |
|
3785 | 0 | _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); |
3786 | 0 | if (from._internal_has_expr()) { |
3787 | 0 | _this->_impl_.expr_ = new ::solidity::yul::test::yul_fuzzer::Expression(*from._impl_.expr_); |
3788 | 0 | } |
3789 | 0 | ::memcpy(&_impl_.id_, &from._impl_.id_, |
3790 | 0 | static_cast<size_t>(reinterpret_cast<char*>(&_impl_.type_) - |
3791 | 0 | reinterpret_cast<char*>(&_impl_.id_)) + sizeof(_impl_.type_)); |
3792 | | // @@protoc_insertion_point(copy_constructor:solidity.yul.test.yul_fuzzer.TypedVarDecl) |
3793 | 0 | } |
3794 | | |
3795 | | inline void TypedVarDecl::SharedCtor( |
3796 | 0 | ::_pb::Arena* arena, bool is_message_owned) { |
3797 | 0 | (void)arena; |
3798 | 0 | (void)is_message_owned; |
3799 | 0 | new (&_impl_) Impl_{ |
3800 | 0 | decltype(_impl_._has_bits_){} |
3801 | 0 | , /*decltype(_impl_._cached_size_)*/{} |
3802 | 0 | , decltype(_impl_.expr_){nullptr} |
3803 | 0 | , decltype(_impl_.id_){0} |
3804 | 0 | , decltype(_impl_.type_){1} |
3805 | 0 | }; |
3806 | 0 | } |
3807 | | |
3808 | 0 | TypedVarDecl::~TypedVarDecl() { |
3809 | | // @@protoc_insertion_point(destructor:solidity.yul.test.yul_fuzzer.TypedVarDecl) |
3810 | 0 | if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { |
3811 | 0 | (void)arena; |
3812 | 0 | return; |
3813 | 0 | } |
3814 | 0 | SharedDtor(); |
3815 | 0 | } |
3816 | | |
3817 | 0 | inline void TypedVarDecl::SharedDtor() { |
3818 | 0 | GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); |
3819 | 0 | if (this != internal_default_instance()) delete _impl_.expr_; |
3820 | 0 | } |
3821 | | |
3822 | 0 | void TypedVarDecl::SetCachedSize(int size) const { |
3823 | 0 | _impl_._cached_size_.Set(size); |
3824 | 0 | } |
3825 | | |
3826 | 0 | void TypedVarDecl::Clear() { |
3827 | | // @@protoc_insertion_point(message_clear_start:solidity.yul.test.yul_fuzzer.TypedVarDecl) |
3828 | 0 | uint32_t cached_has_bits = 0; |
3829 | | // Prevent compiler warnings about cached_has_bits being unused |
3830 | 0 | (void) cached_has_bits; |
3831 | |
|
3832 | 0 | cached_has_bits = _impl_._has_bits_[0]; |
3833 | 0 | if (cached_has_bits & 0x00000001u) { |
3834 | 0 | GOOGLE_DCHECK(_impl_.expr_ != nullptr); |
3835 | 0 | _impl_.expr_->Clear(); |
3836 | 0 | } |
3837 | 0 | if (cached_has_bits & 0x00000006u) { |
3838 | 0 | _impl_.id_ = 0; |
3839 | 0 | _impl_.type_ = 1; |
3840 | 0 | } |
3841 | 0 | _impl_._has_bits_.Clear(); |
3842 | 0 | _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); |
3843 | 0 | } |
3844 | | |
3845 | 0 | const char* TypedVarDecl::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { |
3846 | 0 | #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure |
3847 | 0 | _Internal::HasBits has_bits{}; |
3848 | 0 | while (!ctx->Done(&ptr)) { |
3849 | 0 | uint32_t tag; |
3850 | 0 | ptr = ::_pbi::ReadTag(ptr, &tag); |
3851 | 0 | switch (tag >> 3) { |
3852 | | // required int32 id = 1; |
3853 | 0 | case 1: |
3854 | 0 | if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 8)) { |
3855 | 0 | _Internal::set_has_id(&has_bits); |
3856 | 0 | _impl_.id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); |
3857 | 0 | CHK_(ptr); |
3858 | 0 | } else |
3859 | 0 | goto handle_unusual; |
3860 | 0 | continue; |
3861 | | // required .solidity.yul.test.yul_fuzzer.TypedVarDecl.TypeName type = 2; |
3862 | 0 | case 2: |
3863 | 0 | if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 16)) { |
3864 | 0 | uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); |
3865 | 0 | CHK_(ptr); |
3866 | 0 | if (PROTOBUF_PREDICT_TRUE(::solidity::yul::test::yul_fuzzer::TypedVarDecl_TypeName_IsValid(val))) { |
3867 | 0 | _internal_set_type(static_cast<::solidity::yul::test::yul_fuzzer::TypedVarDecl_TypeName>(val)); |
3868 | 0 | } else { |
3869 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::WriteVarint(2, val, mutable_unknown_fields()); |
3870 | 0 | } |
3871 | 0 | } else |
3872 | 0 | goto handle_unusual; |
3873 | 0 | continue; |
3874 | | // required .solidity.yul.test.yul_fuzzer.Expression expr = 3; |
3875 | 0 | case 3: |
3876 | 0 | if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 26)) { |
3877 | 0 | ptr = ctx->ParseMessage(_internal_mutable_expr(), ptr); |
3878 | 0 | CHK_(ptr); |
3879 | 0 | } else |
3880 | 0 | goto handle_unusual; |
3881 | 0 | continue; |
3882 | 0 | default: |
3883 | 0 | goto handle_unusual; |
3884 | 0 | } // switch |
3885 | 0 | handle_unusual: |
3886 | 0 | if ((tag == 0) || ((tag & 7) == 4)) { |
3887 | 0 | CHK_(ptr); |
3888 | 0 | ctx->SetLastTag(tag); |
3889 | 0 | goto message_done; |
3890 | 0 | } |
3891 | 0 | ptr = UnknownFieldParse( |
3892 | 0 | tag, |
3893 | 0 | _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), |
3894 | 0 | ptr, ctx); |
3895 | 0 | CHK_(ptr != nullptr); |
3896 | 0 | } // while |
3897 | 0 | message_done: |
3898 | 0 | _impl_._has_bits_.Or(has_bits); |
3899 | 0 | return ptr; |
3900 | 0 | failure: |
3901 | 0 | ptr = nullptr; |
3902 | 0 | goto message_done; |
3903 | 0 | #undef CHK_ |
3904 | 0 | } |
3905 | | |
3906 | | uint8_t* TypedVarDecl::_InternalSerialize( |
3907 | 0 | uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { |
3908 | | // @@protoc_insertion_point(serialize_to_array_start:solidity.yul.test.yul_fuzzer.TypedVarDecl) |
3909 | 0 | uint32_t cached_has_bits = 0; |
3910 | 0 | (void) cached_has_bits; |
3911 | |
|
3912 | 0 | cached_has_bits = _impl_._has_bits_[0]; |
3913 | | // required int32 id = 1; |
3914 | 0 | if (cached_has_bits & 0x00000002u) { |
3915 | 0 | target = stream->EnsureSpace(target); |
3916 | 0 | target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_id(), target); |
3917 | 0 | } |
3918 | | |
3919 | | // required .solidity.yul.test.yul_fuzzer.TypedVarDecl.TypeName type = 2; |
3920 | 0 | if (cached_has_bits & 0x00000004u) { |
3921 | 0 | target = stream->EnsureSpace(target); |
3922 | 0 | target = ::_pbi::WireFormatLite::WriteEnumToArray( |
3923 | 0 | 2, this->_internal_type(), target); |
3924 | 0 | } |
3925 | | |
3926 | | // required .solidity.yul.test.yul_fuzzer.Expression expr = 3; |
3927 | 0 | if (cached_has_bits & 0x00000001u) { |
3928 | 0 | target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: |
3929 | 0 | InternalWriteMessage(3, _Internal::expr(this), |
3930 | 0 | _Internal::expr(this).GetCachedSize(), target, stream); |
3931 | 0 | } |
3932 | |
|
3933 | 0 | if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { |
3934 | 0 | target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( |
3935 | 0 | _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); |
3936 | 0 | } |
3937 | | // @@protoc_insertion_point(serialize_to_array_end:solidity.yul.test.yul_fuzzer.TypedVarDecl) |
3938 | 0 | return target; |
3939 | 0 | } |
3940 | | |
3941 | 0 | size_t TypedVarDecl::RequiredFieldsByteSizeFallback() const { |
3942 | | // @@protoc_insertion_point(required_fields_byte_size_fallback_start:solidity.yul.test.yul_fuzzer.TypedVarDecl) |
3943 | 0 | size_t total_size = 0; |
3944 | |
|
3945 | 0 | if (_internal_has_expr()) { |
3946 | | // required .solidity.yul.test.yul_fuzzer.Expression expr = 3; |
3947 | 0 | total_size += 1 + |
3948 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
3949 | 0 | *_impl_.expr_); |
3950 | 0 | } |
3951 | |
|
3952 | 0 | if (_internal_has_id()) { |
3953 | | // required int32 id = 1; |
3954 | 0 | total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_id()); |
3955 | 0 | } |
3956 | |
|
3957 | 0 | if (_internal_has_type()) { |
3958 | | // required .solidity.yul.test.yul_fuzzer.TypedVarDecl.TypeName type = 2; |
3959 | 0 | total_size += 1 + |
3960 | 0 | ::_pbi::WireFormatLite::EnumSize(this->_internal_type()); |
3961 | 0 | } |
3962 | |
|
3963 | 0 | return total_size; |
3964 | 0 | } |
3965 | 0 | size_t TypedVarDecl::ByteSizeLong() const { |
3966 | | // @@protoc_insertion_point(message_byte_size_start:solidity.yul.test.yul_fuzzer.TypedVarDecl) |
3967 | 0 | size_t total_size = 0; |
3968 | |
|
3969 | 0 | if (((_impl_._has_bits_[0] & 0x00000007) ^ 0x00000007) == 0) { // All required fields are present. |
3970 | | // required .solidity.yul.test.yul_fuzzer.Expression expr = 3; |
3971 | 0 | total_size += 1 + |
3972 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
3973 | 0 | *_impl_.expr_); |
3974 | | |
3975 | | // required int32 id = 1; |
3976 | 0 | total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_id()); |
3977 | | |
3978 | | // required .solidity.yul.test.yul_fuzzer.TypedVarDecl.TypeName type = 2; |
3979 | 0 | total_size += 1 + |
3980 | 0 | ::_pbi::WireFormatLite::EnumSize(this->_internal_type()); |
3981 | |
|
3982 | 0 | } else { |
3983 | 0 | total_size += RequiredFieldsByteSizeFallback(); |
3984 | 0 | } |
3985 | 0 | uint32_t cached_has_bits = 0; |
3986 | | // Prevent compiler warnings about cached_has_bits being unused |
3987 | 0 | (void) cached_has_bits; |
3988 | |
|
3989 | 0 | return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); |
3990 | 0 | } |
3991 | | |
3992 | | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData TypedVarDecl::_class_data_ = { |
3993 | | ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, |
3994 | | TypedVarDecl::MergeImpl |
3995 | | }; |
3996 | 0 | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*TypedVarDecl::GetClassData() const { return &_class_data_; } |
3997 | | |
3998 | | |
3999 | 0 | void TypedVarDecl::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { |
4000 | 0 | auto* const _this = static_cast<TypedVarDecl*>(&to_msg); |
4001 | 0 | auto& from = static_cast<const TypedVarDecl&>(from_msg); |
4002 | | // @@protoc_insertion_point(class_specific_merge_from_start:solidity.yul.test.yul_fuzzer.TypedVarDecl) |
4003 | 0 | GOOGLE_DCHECK_NE(&from, _this); |
4004 | 0 | uint32_t cached_has_bits = 0; |
4005 | 0 | (void) cached_has_bits; |
4006 | |
|
4007 | 0 | cached_has_bits = from._impl_._has_bits_[0]; |
4008 | 0 | if (cached_has_bits & 0x00000007u) { |
4009 | 0 | if (cached_has_bits & 0x00000001u) { |
4010 | 0 | _this->_internal_mutable_expr()->::solidity::yul::test::yul_fuzzer::Expression::MergeFrom( |
4011 | 0 | from._internal_expr()); |
4012 | 0 | } |
4013 | 0 | if (cached_has_bits & 0x00000002u) { |
4014 | 0 | _this->_impl_.id_ = from._impl_.id_; |
4015 | 0 | } |
4016 | 0 | if (cached_has_bits & 0x00000004u) { |
4017 | 0 | _this->_impl_.type_ = from._impl_.type_; |
4018 | 0 | } |
4019 | 0 | _this->_impl_._has_bits_[0] |= cached_has_bits; |
4020 | 0 | } |
4021 | 0 | _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); |
4022 | 0 | } |
4023 | | |
4024 | 0 | void TypedVarDecl::CopyFrom(const TypedVarDecl& from) { |
4025 | | // @@protoc_insertion_point(class_specific_copy_from_start:solidity.yul.test.yul_fuzzer.TypedVarDecl) |
4026 | 0 | if (&from == this) return; |
4027 | 0 | Clear(); |
4028 | 0 | MergeFrom(from); |
4029 | 0 | } |
4030 | | |
4031 | 0 | bool TypedVarDecl::IsInitialized() const { |
4032 | 0 | if (_Internal::MissingRequiredFields(_impl_._has_bits_)) return false; |
4033 | 0 | if (_internal_has_expr()) { |
4034 | 0 | if (!_impl_.expr_->IsInitialized()) return false; |
4035 | 0 | } |
4036 | 0 | return true; |
4037 | 0 | } |
4038 | | |
4039 | 0 | void TypedVarDecl::InternalSwap(TypedVarDecl* other) { |
4040 | 0 | using std::swap; |
4041 | 0 | _internal_metadata_.InternalSwap(&other->_internal_metadata_); |
4042 | 0 | swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); |
4043 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::memswap< |
4044 | 0 | PROTOBUF_FIELD_OFFSET(TypedVarDecl, _impl_.id_) |
4045 | 0 | + sizeof(TypedVarDecl::_impl_.id_) |
4046 | 0 | - PROTOBUF_FIELD_OFFSET(TypedVarDecl, _impl_.expr_)>( |
4047 | 0 | reinterpret_cast<char*>(&_impl_.expr_), |
4048 | 0 | reinterpret_cast<char*>(&other->_impl_.expr_)); |
4049 | 0 | swap(_impl_.type_, other->_impl_.type_); |
4050 | 0 | } |
4051 | | |
4052 | 0 | ::PROTOBUF_NAMESPACE_ID::Metadata TypedVarDecl::GetMetadata() const { |
4053 | 0 | return ::_pbi::AssignDescriptors( |
4054 | 0 | &descriptor_table_yulProto_2eproto_getter, &descriptor_table_yulProto_2eproto_once, |
4055 | 0 | file_level_metadata_yulProto_2eproto[5]); |
4056 | 0 | } |
4057 | | |
4058 | | // =================================================================== |
4059 | | |
4060 | | class VarRef::_Internal { |
4061 | | public: |
4062 | | using HasBits = decltype(std::declval<VarRef>()._impl_._has_bits_); |
4063 | 0 | static void set_has_varnum(HasBits* has_bits) { |
4064 | 0 | (*has_bits)[0] |= 1u; |
4065 | 0 | } |
4066 | 0 | static bool MissingRequiredFields(const HasBits& has_bits) { |
4067 | 0 | return ((has_bits[0] & 0x00000001) ^ 0x00000001) != 0; |
4068 | 0 | } |
4069 | | }; |
4070 | | |
4071 | | VarRef::VarRef(::PROTOBUF_NAMESPACE_ID::Arena* arena, |
4072 | | bool is_message_owned) |
4073 | 339k | : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { |
4074 | 339k | SharedCtor(arena, is_message_owned); |
4075 | | // @@protoc_insertion_point(arena_constructor:solidity.yul.test.yul_fuzzer.VarRef) |
4076 | 339k | } |
4077 | | VarRef::VarRef(const VarRef& from) |
4078 | 0 | : ::PROTOBUF_NAMESPACE_ID::Message() { |
4079 | 0 | VarRef* const _this = this; (void)_this; |
4080 | 0 | new (&_impl_) Impl_{ |
4081 | 0 | decltype(_impl_._has_bits_){from._impl_._has_bits_} |
4082 | 0 | , /*decltype(_impl_._cached_size_)*/{} |
4083 | 0 | , decltype(_impl_.varnum_){}}; |
4084 | |
|
4085 | 0 | _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); |
4086 | 0 | _this->_impl_.varnum_ = from._impl_.varnum_; |
4087 | | // @@protoc_insertion_point(copy_constructor:solidity.yul.test.yul_fuzzer.VarRef) |
4088 | 0 | } |
4089 | | |
4090 | | inline void VarRef::SharedCtor( |
4091 | 339k | ::_pb::Arena* arena, bool is_message_owned) { |
4092 | 339k | (void)arena; |
4093 | 339k | (void)is_message_owned; |
4094 | 339k | new (&_impl_) Impl_{ |
4095 | 339k | decltype(_impl_._has_bits_){} |
4096 | 339k | , /*decltype(_impl_._cached_size_)*/{} |
4097 | 339k | , decltype(_impl_.varnum_){0} |
4098 | 339k | }; |
4099 | 339k | } |
4100 | | |
4101 | 339k | VarRef::~VarRef() { |
4102 | | // @@protoc_insertion_point(destructor:solidity.yul.test.yul_fuzzer.VarRef) |
4103 | 339k | if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { |
4104 | 0 | (void)arena; |
4105 | 0 | return; |
4106 | 0 | } |
4107 | 339k | SharedDtor(); |
4108 | 339k | } |
4109 | | |
4110 | 339k | inline void VarRef::SharedDtor() { |
4111 | 339k | GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); |
4112 | 339k | } |
4113 | | |
4114 | 0 | void VarRef::SetCachedSize(int size) const { |
4115 | 0 | _impl_._cached_size_.Set(size); |
4116 | 0 | } |
4117 | | |
4118 | 3.35k | void VarRef::Clear() { |
4119 | | // @@protoc_insertion_point(message_clear_start:solidity.yul.test.yul_fuzzer.VarRef) |
4120 | 3.35k | uint32_t cached_has_bits = 0; |
4121 | | // Prevent compiler warnings about cached_has_bits being unused |
4122 | 3.35k | (void) cached_has_bits; |
4123 | | |
4124 | 3.35k | _impl_.varnum_ = 0; |
4125 | 3.35k | _impl_._has_bits_.Clear(); |
4126 | 3.35k | _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); |
4127 | 3.35k | } |
4128 | | |
4129 | 0 | const char* VarRef::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { |
4130 | 0 | #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure |
4131 | 0 | _Internal::HasBits has_bits{}; |
4132 | 0 | while (!ctx->Done(&ptr)) { |
4133 | 0 | uint32_t tag; |
4134 | 0 | ptr = ::_pbi::ReadTag(ptr, &tag); |
4135 | 0 | switch (tag >> 3) { |
4136 | | // required int32 varnum = 1; |
4137 | 0 | case 1: |
4138 | 0 | if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 8)) { |
4139 | 0 | _Internal::set_has_varnum(&has_bits); |
4140 | 0 | _impl_.varnum_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); |
4141 | 0 | CHK_(ptr); |
4142 | 0 | } else |
4143 | 0 | goto handle_unusual; |
4144 | 0 | continue; |
4145 | 0 | default: |
4146 | 0 | goto handle_unusual; |
4147 | 0 | } // switch |
4148 | 0 | handle_unusual: |
4149 | 0 | if ((tag == 0) || ((tag & 7) == 4)) { |
4150 | 0 | CHK_(ptr); |
4151 | 0 | ctx->SetLastTag(tag); |
4152 | 0 | goto message_done; |
4153 | 0 | } |
4154 | 0 | ptr = UnknownFieldParse( |
4155 | 0 | tag, |
4156 | 0 | _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), |
4157 | 0 | ptr, ctx); |
4158 | 0 | CHK_(ptr != nullptr); |
4159 | 0 | } // while |
4160 | 0 | message_done: |
4161 | 0 | _impl_._has_bits_.Or(has_bits); |
4162 | 0 | return ptr; |
4163 | 0 | failure: |
4164 | 0 | ptr = nullptr; |
4165 | 0 | goto message_done; |
4166 | 0 | #undef CHK_ |
4167 | 0 | } |
4168 | | |
4169 | | uint8_t* VarRef::_InternalSerialize( |
4170 | 0 | uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { |
4171 | | // @@protoc_insertion_point(serialize_to_array_start:solidity.yul.test.yul_fuzzer.VarRef) |
4172 | 0 | uint32_t cached_has_bits = 0; |
4173 | 0 | (void) cached_has_bits; |
4174 | |
|
4175 | 0 | cached_has_bits = _impl_._has_bits_[0]; |
4176 | | // required int32 varnum = 1; |
4177 | 0 | if (cached_has_bits & 0x00000001u) { |
4178 | 0 | target = stream->EnsureSpace(target); |
4179 | 0 | target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_varnum(), target); |
4180 | 0 | } |
4181 | |
|
4182 | 0 | if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { |
4183 | 0 | target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( |
4184 | 0 | _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); |
4185 | 0 | } |
4186 | | // @@protoc_insertion_point(serialize_to_array_end:solidity.yul.test.yul_fuzzer.VarRef) |
4187 | 0 | return target; |
4188 | 0 | } |
4189 | | |
4190 | 329k | size_t VarRef::ByteSizeLong() const { |
4191 | | // @@protoc_insertion_point(message_byte_size_start:solidity.yul.test.yul_fuzzer.VarRef) |
4192 | 329k | size_t total_size = 0; |
4193 | | |
4194 | | // required int32 varnum = 1; |
4195 | 329k | if (_internal_has_varnum()) { |
4196 | 329k | total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_varnum()); |
4197 | 329k | } |
4198 | 329k | uint32_t cached_has_bits = 0; |
4199 | | // Prevent compiler warnings about cached_has_bits being unused |
4200 | 329k | (void) cached_has_bits; |
4201 | | |
4202 | 329k | return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); |
4203 | 329k | } |
4204 | | |
4205 | | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VarRef::_class_data_ = { |
4206 | | ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, |
4207 | | VarRef::MergeImpl |
4208 | | }; |
4209 | 5.03k | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VarRef::GetClassData() const { return &_class_data_; } |
4210 | | |
4211 | | |
4212 | 1.67k | void VarRef::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { |
4213 | 1.67k | auto* const _this = static_cast<VarRef*>(&to_msg); |
4214 | 1.67k | auto& from = static_cast<const VarRef&>(from_msg); |
4215 | | // @@protoc_insertion_point(class_specific_merge_from_start:solidity.yul.test.yul_fuzzer.VarRef) |
4216 | 1.67k | GOOGLE_DCHECK_NE(&from, _this); |
4217 | 1.67k | uint32_t cached_has_bits = 0; |
4218 | 1.67k | (void) cached_has_bits; |
4219 | | |
4220 | 1.67k | if (from._internal_has_varnum()) { |
4221 | 0 | _this->_internal_set_varnum(from._internal_varnum()); |
4222 | 0 | } |
4223 | 1.67k | _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); |
4224 | 1.67k | } |
4225 | | |
4226 | 0 | void VarRef::CopyFrom(const VarRef& from) { |
4227 | | // @@protoc_insertion_point(class_specific_copy_from_start:solidity.yul.test.yul_fuzzer.VarRef) |
4228 | 0 | if (&from == this) return; |
4229 | 0 | Clear(); |
4230 | 0 | MergeFrom(from); |
4231 | 0 | } |
4232 | | |
4233 | 0 | bool VarRef::IsInitialized() const { |
4234 | 0 | if (_Internal::MissingRequiredFields(_impl_._has_bits_)) return false; |
4235 | 0 | return true; |
4236 | 0 | } |
4237 | | |
4238 | 0 | void VarRef::InternalSwap(VarRef* other) { |
4239 | 0 | using std::swap; |
4240 | 0 | _internal_metadata_.InternalSwap(&other->_internal_metadata_); |
4241 | 0 | swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); |
4242 | 0 | swap(_impl_.varnum_, other->_impl_.varnum_); |
4243 | 0 | } |
4244 | | |
4245 | 7.88M | ::PROTOBUF_NAMESPACE_ID::Metadata VarRef::GetMetadata() const { |
4246 | 7.88M | return ::_pbi::AssignDescriptors( |
4247 | 7.88M | &descriptor_table_yulProto_2eproto_getter, &descriptor_table_yulProto_2eproto_once, |
4248 | 7.88M | file_level_metadata_yulProto_2eproto[6]); |
4249 | 7.88M | } |
4250 | | |
4251 | | // =================================================================== |
4252 | | |
4253 | | class Literal::_Internal { |
4254 | | public: |
4255 | | }; |
4256 | | |
4257 | | Literal::Literal(::PROTOBUF_NAMESPACE_ID::Arena* arena, |
4258 | | bool is_message_owned) |
4259 | 371k | : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { |
4260 | 371k | SharedCtor(arena, is_message_owned); |
4261 | | // @@protoc_insertion_point(arena_constructor:solidity.yul.test.yul_fuzzer.Literal) |
4262 | 371k | } |
4263 | | Literal::Literal(const Literal& from) |
4264 | 0 | : ::PROTOBUF_NAMESPACE_ID::Message() { |
4265 | 0 | Literal* const _this = this; (void)_this; |
4266 | 0 | new (&_impl_) Impl_{ |
4267 | 0 | decltype(_impl_.literal_oneof_){} |
4268 | 0 | , /*decltype(_impl_._cached_size_)*/{} |
4269 | 0 | , /*decltype(_impl_._oneof_case_)*/{}}; |
4270 | |
|
4271 | 0 | _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); |
4272 | 0 | clear_has_literal_oneof(); |
4273 | 0 | switch (from.literal_oneof_case()) { |
4274 | 0 | case kIntval: { |
4275 | 0 | _this->_internal_set_intval(from._internal_intval()); |
4276 | 0 | break; |
4277 | 0 | } |
4278 | 0 | case kHexval: { |
4279 | 0 | _this->_internal_set_hexval(from._internal_hexval()); |
4280 | 0 | break; |
4281 | 0 | } |
4282 | 0 | case kStrval: { |
4283 | 0 | _this->_internal_set_strval(from._internal_strval()); |
4284 | 0 | break; |
4285 | 0 | } |
4286 | 0 | case kBoolval: { |
4287 | 0 | _this->_internal_set_boolval(from._internal_boolval()); |
4288 | 0 | break; |
4289 | 0 | } |
4290 | 0 | case LITERAL_ONEOF_NOT_SET: { |
4291 | 0 | break; |
4292 | 0 | } |
4293 | 0 | } |
4294 | | // @@protoc_insertion_point(copy_constructor:solidity.yul.test.yul_fuzzer.Literal) |
4295 | 0 | } |
4296 | | |
4297 | | inline void Literal::SharedCtor( |
4298 | 371k | ::_pb::Arena* arena, bool is_message_owned) { |
4299 | 371k | (void)arena; |
4300 | 371k | (void)is_message_owned; |
4301 | 371k | new (&_impl_) Impl_{ |
4302 | 371k | decltype(_impl_.literal_oneof_){} |
4303 | 371k | , /*decltype(_impl_._cached_size_)*/{} |
4304 | 371k | , /*decltype(_impl_._oneof_case_)*/{} |
4305 | 371k | }; |
4306 | 371k | clear_has_literal_oneof(); |
4307 | 371k | } |
4308 | | |
4309 | 371k | Literal::~Literal() { |
4310 | | // @@protoc_insertion_point(destructor:solidity.yul.test.yul_fuzzer.Literal) |
4311 | 371k | if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { |
4312 | 0 | (void)arena; |
4313 | 0 | return; |
4314 | 0 | } |
4315 | 371k | SharedDtor(); |
4316 | 371k | } |
4317 | | |
4318 | 371k | inline void Literal::SharedDtor() { |
4319 | 371k | GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); |
4320 | 371k | if (has_literal_oneof()) { |
4321 | 301k | clear_literal_oneof(); |
4322 | 301k | } |
4323 | 371k | } |
4324 | | |
4325 | 0 | void Literal::SetCachedSize(int size) const { |
4326 | 0 | _impl_._cached_size_.Set(size); |
4327 | 0 | } |
4328 | | |
4329 | 354k | void Literal::clear_literal_oneof() { |
4330 | | // @@protoc_insertion_point(one_of_clear_start:solidity.yul.test.yul_fuzzer.Literal) |
4331 | 354k | switch (literal_oneof_case()) { |
4332 | 212k | case kIntval: { |
4333 | | // No need to clear |
4334 | 212k | break; |
4335 | 0 | } |
4336 | 51.5k | case kHexval: { |
4337 | 51.5k | _impl_.literal_oneof_.hexval_.Destroy(); |
4338 | 51.5k | break; |
4339 | 0 | } |
4340 | 22.6k | case kStrval: { |
4341 | 22.6k | _impl_.literal_oneof_.strval_.Destroy(); |
4342 | 22.6k | break; |
4343 | 0 | } |
4344 | 14.6k | case kBoolval: { |
4345 | | // No need to clear |
4346 | 14.6k | break; |
4347 | 0 | } |
4348 | 53.3k | case LITERAL_ONEOF_NOT_SET: { |
4349 | 53.3k | break; |
4350 | 0 | } |
4351 | 354k | } |
4352 | 354k | _impl_._oneof_case_[0] = LITERAL_ONEOF_NOT_SET; |
4353 | 354k | } |
4354 | | |
4355 | | |
4356 | 2.64k | void Literal::Clear() { |
4357 | | // @@protoc_insertion_point(message_clear_start:solidity.yul.test.yul_fuzzer.Literal) |
4358 | 2.64k | uint32_t cached_has_bits = 0; |
4359 | | // Prevent compiler warnings about cached_has_bits being unused |
4360 | 2.64k | (void) cached_has_bits; |
4361 | | |
4362 | 2.64k | clear_literal_oneof(); |
4363 | 2.64k | _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); |
4364 | 2.64k | } |
4365 | | |
4366 | 0 | const char* Literal::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { |
4367 | 0 | #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure |
4368 | 0 | while (!ctx->Done(&ptr)) { |
4369 | 0 | uint32_t tag; |
4370 | 0 | ptr = ::_pbi::ReadTag(ptr, &tag); |
4371 | 0 | switch (tag >> 3) { |
4372 | | // uint64 intval = 1; |
4373 | 0 | case 1: |
4374 | 0 | if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 8)) { |
4375 | 0 | _internal_set_intval(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr)); |
4376 | 0 | CHK_(ptr); |
4377 | 0 | } else |
4378 | 0 | goto handle_unusual; |
4379 | 0 | continue; |
4380 | | // string hexval = 2; |
4381 | 0 | case 2: |
4382 | 0 | if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 18)) { |
4383 | 0 | auto str = _internal_mutable_hexval(); |
4384 | 0 | ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); |
4385 | 0 | CHK_(ptr); |
4386 | | #ifndef NDEBUG |
4387 | | ::_pbi::VerifyUTF8(str, "solidity.yul.test.yul_fuzzer.Literal.hexval"); |
4388 | | #endif // !NDEBUG |
4389 | 0 | } else |
4390 | 0 | goto handle_unusual; |
4391 | 0 | continue; |
4392 | | // string strval = 3; |
4393 | 0 | case 3: |
4394 | 0 | if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 26)) { |
4395 | 0 | auto str = _internal_mutable_strval(); |
4396 | 0 | ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); |
4397 | 0 | CHK_(ptr); |
4398 | | #ifndef NDEBUG |
4399 | | ::_pbi::VerifyUTF8(str, "solidity.yul.test.yul_fuzzer.Literal.strval"); |
4400 | | #endif // !NDEBUG |
4401 | 0 | } else |
4402 | 0 | goto handle_unusual; |
4403 | 0 | continue; |
4404 | | // bool boolval = 4; |
4405 | 0 | case 4: |
4406 | 0 | if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 32)) { |
4407 | 0 | _internal_set_boolval(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr)); |
4408 | 0 | CHK_(ptr); |
4409 | 0 | } else |
4410 | 0 | goto handle_unusual; |
4411 | 0 | continue; |
4412 | 0 | default: |
4413 | 0 | goto handle_unusual; |
4414 | 0 | } // switch |
4415 | 0 | handle_unusual: |
4416 | 0 | if ((tag == 0) || ((tag & 7) == 4)) { |
4417 | 0 | CHK_(ptr); |
4418 | 0 | ctx->SetLastTag(tag); |
4419 | 0 | goto message_done; |
4420 | 0 | } |
4421 | 0 | ptr = UnknownFieldParse( |
4422 | 0 | tag, |
4423 | 0 | _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), |
4424 | 0 | ptr, ctx); |
4425 | 0 | CHK_(ptr != nullptr); |
4426 | 0 | } // while |
4427 | 0 | message_done: |
4428 | 0 | return ptr; |
4429 | 0 | failure: |
4430 | 0 | ptr = nullptr; |
4431 | 0 | goto message_done; |
4432 | 0 | #undef CHK_ |
4433 | 0 | } |
4434 | | |
4435 | | uint8_t* Literal::_InternalSerialize( |
4436 | 0 | uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { |
4437 | | // @@protoc_insertion_point(serialize_to_array_start:solidity.yul.test.yul_fuzzer.Literal) |
4438 | 0 | uint32_t cached_has_bits = 0; |
4439 | 0 | (void) cached_has_bits; |
4440 | |
|
4441 | 0 | switch (literal_oneof_case()) { |
4442 | 0 | case kIntval: { |
4443 | 0 | target = stream->EnsureSpace(target); |
4444 | 0 | target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_intval(), target); |
4445 | 0 | break; |
4446 | 0 | } |
4447 | 0 | case kHexval: { |
4448 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( |
4449 | 0 | this->_internal_hexval().data(), static_cast<int>(this->_internal_hexval().length()), |
4450 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, |
4451 | 0 | "solidity.yul.test.yul_fuzzer.Literal.hexval"); |
4452 | 0 | target = stream->WriteStringMaybeAliased( |
4453 | 0 | 2, this->_internal_hexval(), target); |
4454 | 0 | break; |
4455 | 0 | } |
4456 | 0 | case kStrval: { |
4457 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( |
4458 | 0 | this->_internal_strval().data(), static_cast<int>(this->_internal_strval().length()), |
4459 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, |
4460 | 0 | "solidity.yul.test.yul_fuzzer.Literal.strval"); |
4461 | 0 | target = stream->WriteStringMaybeAliased( |
4462 | 0 | 3, this->_internal_strval(), target); |
4463 | 0 | break; |
4464 | 0 | } |
4465 | 0 | case kBoolval: { |
4466 | 0 | target = stream->EnsureSpace(target); |
4467 | 0 | target = ::_pbi::WireFormatLite::WriteBoolToArray(4, this->_internal_boolval(), target); |
4468 | 0 | break; |
4469 | 0 | } |
4470 | 0 | default: ; |
4471 | 0 | } |
4472 | 0 | if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { |
4473 | 0 | target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( |
4474 | 0 | _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); |
4475 | 0 | } |
4476 | | // @@protoc_insertion_point(serialize_to_array_end:solidity.yul.test.yul_fuzzer.Literal) |
4477 | 0 | return target; |
4478 | 0 | } |
4479 | | |
4480 | 352k | size_t Literal::ByteSizeLong() const { |
4481 | | // @@protoc_insertion_point(message_byte_size_start:solidity.yul.test.yul_fuzzer.Literal) |
4482 | 352k | size_t total_size = 0; |
4483 | | |
4484 | 352k | uint32_t cached_has_bits = 0; |
4485 | | // Prevent compiler warnings about cached_has_bits being unused |
4486 | 352k | (void) cached_has_bits; |
4487 | | |
4488 | 352k | switch (literal_oneof_case()) { |
4489 | | // uint64 intval = 1; |
4490 | 207k | case kIntval: { |
4491 | 207k | total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_intval()); |
4492 | 207k | break; |
4493 | 0 | } |
4494 | | // string hexval = 2; |
4495 | 45.0k | case kHexval: { |
4496 | 45.0k | total_size += 1 + |
4497 | 45.0k | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( |
4498 | 45.0k | this->_internal_hexval()); |
4499 | 45.0k | break; |
4500 | 0 | } |
4501 | | // string strval = 3; |
4502 | 20.8k | case kStrval: { |
4503 | 20.8k | total_size += 1 + |
4504 | 20.8k | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( |
4505 | 20.8k | this->_internal_strval()); |
4506 | 20.8k | break; |
4507 | 0 | } |
4508 | | // bool boolval = 4; |
4509 | 14.4k | case kBoolval: { |
4510 | 14.4k | total_size += 1 + 1; |
4511 | 14.4k | break; |
4512 | 0 | } |
4513 | 64.8k | case LITERAL_ONEOF_NOT_SET: { |
4514 | 64.8k | break; |
4515 | 0 | } |
4516 | 352k | } |
4517 | 352k | return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); |
4518 | 352k | } |
4519 | | |
4520 | | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData Literal::_class_data_ = { |
4521 | | ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, |
4522 | | Literal::MergeImpl |
4523 | | }; |
4524 | 3.96k | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*Literal::GetClassData() const { return &_class_data_; } |
4525 | | |
4526 | | |
4527 | 1.32k | void Literal::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { |
4528 | 1.32k | auto* const _this = static_cast<Literal*>(&to_msg); |
4529 | 1.32k | auto& from = static_cast<const Literal&>(from_msg); |
4530 | | // @@protoc_insertion_point(class_specific_merge_from_start:solidity.yul.test.yul_fuzzer.Literal) |
4531 | 1.32k | GOOGLE_DCHECK_NE(&from, _this); |
4532 | 1.32k | uint32_t cached_has_bits = 0; |
4533 | 1.32k | (void) cached_has_bits; |
4534 | | |
4535 | 1.32k | switch (from.literal_oneof_case()) { |
4536 | 0 | case kIntval: { |
4537 | 0 | _this->_internal_set_intval(from._internal_intval()); |
4538 | 0 | break; |
4539 | 0 | } |
4540 | 0 | case kHexval: { |
4541 | 0 | _this->_internal_set_hexval(from._internal_hexval()); |
4542 | 0 | break; |
4543 | 0 | } |
4544 | 0 | case kStrval: { |
4545 | 0 | _this->_internal_set_strval(from._internal_strval()); |
4546 | 0 | break; |
4547 | 0 | } |
4548 | 0 | case kBoolval: { |
4549 | 0 | _this->_internal_set_boolval(from._internal_boolval()); |
4550 | 0 | break; |
4551 | 0 | } |
4552 | 1.32k | case LITERAL_ONEOF_NOT_SET: { |
4553 | 1.32k | break; |
4554 | 0 | } |
4555 | 1.32k | } |
4556 | 1.32k | _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); |
4557 | 1.32k | } |
4558 | | |
4559 | 0 | void Literal::CopyFrom(const Literal& from) { |
4560 | | // @@protoc_insertion_point(class_specific_copy_from_start:solidity.yul.test.yul_fuzzer.Literal) |
4561 | 0 | if (&from == this) return; |
4562 | 0 | Clear(); |
4563 | 0 | MergeFrom(from); |
4564 | 0 | } |
4565 | | |
4566 | 0 | bool Literal::IsInitialized() const { |
4567 | 0 | return true; |
4568 | 0 | } |
4569 | | |
4570 | 0 | void Literal::InternalSwap(Literal* other) { |
4571 | 0 | using std::swap; |
4572 | 0 | _internal_metadata_.InternalSwap(&other->_internal_metadata_); |
4573 | 0 | swap(_impl_.literal_oneof_, other->_impl_.literal_oneof_); |
4574 | 0 | swap(_impl_._oneof_case_[0], other->_impl_._oneof_case_[0]); |
4575 | 0 | } |
4576 | | |
4577 | 8.44M | ::PROTOBUF_NAMESPACE_ID::Metadata Literal::GetMetadata() const { |
4578 | 8.44M | return ::_pbi::AssignDescriptors( |
4579 | 8.44M | &descriptor_table_yulProto_2eproto_getter, &descriptor_table_yulProto_2eproto_once, |
4580 | 8.44M | file_level_metadata_yulProto_2eproto[7]); |
4581 | 8.44M | } |
4582 | | |
4583 | | // =================================================================== |
4584 | | |
4585 | | class TypedLiteral::_Internal { |
4586 | | public: |
4587 | | using HasBits = decltype(std::declval<TypedLiteral>()._impl_._has_bits_); |
4588 | 0 | static void set_has_val(HasBits* has_bits) { |
4589 | 0 | (*has_bits)[0] |= 1u; |
4590 | 0 | } |
4591 | 0 | static void set_has_type(HasBits* has_bits) { |
4592 | 0 | (*has_bits)[0] |= 2u; |
4593 | 0 | } |
4594 | 0 | static bool MissingRequiredFields(const HasBits& has_bits) { |
4595 | 0 | return ((has_bits[0] & 0x00000003) ^ 0x00000003) != 0; |
4596 | 0 | } |
4597 | | }; |
4598 | | |
4599 | | TypedLiteral::TypedLiteral(::PROTOBUF_NAMESPACE_ID::Arena* arena, |
4600 | | bool is_message_owned) |
4601 | 0 | : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { |
4602 | 0 | SharedCtor(arena, is_message_owned); |
4603 | | // @@protoc_insertion_point(arena_constructor:solidity.yul.test.yul_fuzzer.TypedLiteral) |
4604 | 0 | } |
4605 | | TypedLiteral::TypedLiteral(const TypedLiteral& from) |
4606 | 0 | : ::PROTOBUF_NAMESPACE_ID::Message() { |
4607 | 0 | TypedLiteral* const _this = this; (void)_this; |
4608 | 0 | new (&_impl_) Impl_{ |
4609 | 0 | decltype(_impl_._has_bits_){from._impl_._has_bits_} |
4610 | 0 | , /*decltype(_impl_._cached_size_)*/{} |
4611 | 0 | , decltype(_impl_.val_){} |
4612 | 0 | , decltype(_impl_.type_){}}; |
4613 | |
|
4614 | 0 | _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); |
4615 | 0 | ::memcpy(&_impl_.val_, &from._impl_.val_, |
4616 | 0 | static_cast<size_t>(reinterpret_cast<char*>(&_impl_.type_) - |
4617 | 0 | reinterpret_cast<char*>(&_impl_.val_)) + sizeof(_impl_.type_)); |
4618 | | // @@protoc_insertion_point(copy_constructor:solidity.yul.test.yul_fuzzer.TypedLiteral) |
4619 | 0 | } |
4620 | | |
4621 | | inline void TypedLiteral::SharedCtor( |
4622 | 0 | ::_pb::Arena* arena, bool is_message_owned) { |
4623 | 0 | (void)arena; |
4624 | 0 | (void)is_message_owned; |
4625 | 0 | new (&_impl_) Impl_{ |
4626 | 0 | decltype(_impl_._has_bits_){} |
4627 | 0 | , /*decltype(_impl_._cached_size_)*/{} |
4628 | 0 | , decltype(_impl_.val_){0} |
4629 | 0 | , decltype(_impl_.type_){1} |
4630 | 0 | }; |
4631 | 0 | } |
4632 | | |
4633 | 0 | TypedLiteral::~TypedLiteral() { |
4634 | | // @@protoc_insertion_point(destructor:solidity.yul.test.yul_fuzzer.TypedLiteral) |
4635 | 0 | if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { |
4636 | 0 | (void)arena; |
4637 | 0 | return; |
4638 | 0 | } |
4639 | 0 | SharedDtor(); |
4640 | 0 | } |
4641 | | |
4642 | 0 | inline void TypedLiteral::SharedDtor() { |
4643 | 0 | GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); |
4644 | 0 | } |
4645 | | |
4646 | 0 | void TypedLiteral::SetCachedSize(int size) const { |
4647 | 0 | _impl_._cached_size_.Set(size); |
4648 | 0 | } |
4649 | | |
4650 | 0 | void TypedLiteral::Clear() { |
4651 | | // @@protoc_insertion_point(message_clear_start:solidity.yul.test.yul_fuzzer.TypedLiteral) |
4652 | 0 | uint32_t cached_has_bits = 0; |
4653 | | // Prevent compiler warnings about cached_has_bits being unused |
4654 | 0 | (void) cached_has_bits; |
4655 | |
|
4656 | 0 | cached_has_bits = _impl_._has_bits_[0]; |
4657 | 0 | if (cached_has_bits & 0x00000003u) { |
4658 | 0 | _impl_.val_ = 0; |
4659 | 0 | _impl_.type_ = 1; |
4660 | 0 | } |
4661 | 0 | _impl_._has_bits_.Clear(); |
4662 | 0 | _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); |
4663 | 0 | } |
4664 | | |
4665 | 0 | const char* TypedLiteral::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { |
4666 | 0 | #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure |
4667 | 0 | _Internal::HasBits has_bits{}; |
4668 | 0 | while (!ctx->Done(&ptr)) { |
4669 | 0 | uint32_t tag; |
4670 | 0 | ptr = ::_pbi::ReadTag(ptr, &tag); |
4671 | 0 | switch (tag >> 3) { |
4672 | | // required int32 val = 1; |
4673 | 0 | case 1: |
4674 | 0 | if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 8)) { |
4675 | 0 | _Internal::set_has_val(&has_bits); |
4676 | 0 | _impl_.val_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); |
4677 | 0 | CHK_(ptr); |
4678 | 0 | } else |
4679 | 0 | goto handle_unusual; |
4680 | 0 | continue; |
4681 | | // required .solidity.yul.test.yul_fuzzer.TypedLiteral.TypeName type = 2; |
4682 | 0 | case 2: |
4683 | 0 | if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 16)) { |
4684 | 0 | uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); |
4685 | 0 | CHK_(ptr); |
4686 | 0 | if (PROTOBUF_PREDICT_TRUE(::solidity::yul::test::yul_fuzzer::TypedLiteral_TypeName_IsValid(val))) { |
4687 | 0 | _internal_set_type(static_cast<::solidity::yul::test::yul_fuzzer::TypedLiteral_TypeName>(val)); |
4688 | 0 | } else { |
4689 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::WriteVarint(2, val, mutable_unknown_fields()); |
4690 | 0 | } |
4691 | 0 | } else |
4692 | 0 | goto handle_unusual; |
4693 | 0 | continue; |
4694 | 0 | default: |
4695 | 0 | goto handle_unusual; |
4696 | 0 | } // switch |
4697 | 0 | handle_unusual: |
4698 | 0 | if ((tag == 0) || ((tag & 7) == 4)) { |
4699 | 0 | CHK_(ptr); |
4700 | 0 | ctx->SetLastTag(tag); |
4701 | 0 | goto message_done; |
4702 | 0 | } |
4703 | 0 | ptr = UnknownFieldParse( |
4704 | 0 | tag, |
4705 | 0 | _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), |
4706 | 0 | ptr, ctx); |
4707 | 0 | CHK_(ptr != nullptr); |
4708 | 0 | } // while |
4709 | 0 | message_done: |
4710 | 0 | _impl_._has_bits_.Or(has_bits); |
4711 | 0 | return ptr; |
4712 | 0 | failure: |
4713 | 0 | ptr = nullptr; |
4714 | 0 | goto message_done; |
4715 | 0 | #undef CHK_ |
4716 | 0 | } |
4717 | | |
4718 | | uint8_t* TypedLiteral::_InternalSerialize( |
4719 | 0 | uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { |
4720 | | // @@protoc_insertion_point(serialize_to_array_start:solidity.yul.test.yul_fuzzer.TypedLiteral) |
4721 | 0 | uint32_t cached_has_bits = 0; |
4722 | 0 | (void) cached_has_bits; |
4723 | |
|
4724 | 0 | cached_has_bits = _impl_._has_bits_[0]; |
4725 | | // required int32 val = 1; |
4726 | 0 | if (cached_has_bits & 0x00000001u) { |
4727 | 0 | target = stream->EnsureSpace(target); |
4728 | 0 | target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_val(), target); |
4729 | 0 | } |
4730 | | |
4731 | | // required .solidity.yul.test.yul_fuzzer.TypedLiteral.TypeName type = 2; |
4732 | 0 | if (cached_has_bits & 0x00000002u) { |
4733 | 0 | target = stream->EnsureSpace(target); |
4734 | 0 | target = ::_pbi::WireFormatLite::WriteEnumToArray( |
4735 | 0 | 2, this->_internal_type(), target); |
4736 | 0 | } |
4737 | |
|
4738 | 0 | if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { |
4739 | 0 | target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( |
4740 | 0 | _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); |
4741 | 0 | } |
4742 | | // @@protoc_insertion_point(serialize_to_array_end:solidity.yul.test.yul_fuzzer.TypedLiteral) |
4743 | 0 | return target; |
4744 | 0 | } |
4745 | | |
4746 | 0 | size_t TypedLiteral::RequiredFieldsByteSizeFallback() const { |
4747 | | // @@protoc_insertion_point(required_fields_byte_size_fallback_start:solidity.yul.test.yul_fuzzer.TypedLiteral) |
4748 | 0 | size_t total_size = 0; |
4749 | |
|
4750 | 0 | if (_internal_has_val()) { |
4751 | | // required int32 val = 1; |
4752 | 0 | total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_val()); |
4753 | 0 | } |
4754 | |
|
4755 | 0 | if (_internal_has_type()) { |
4756 | | // required .solidity.yul.test.yul_fuzzer.TypedLiteral.TypeName type = 2; |
4757 | 0 | total_size += 1 + |
4758 | 0 | ::_pbi::WireFormatLite::EnumSize(this->_internal_type()); |
4759 | 0 | } |
4760 | |
|
4761 | 0 | return total_size; |
4762 | 0 | } |
4763 | 0 | size_t TypedLiteral::ByteSizeLong() const { |
4764 | | // @@protoc_insertion_point(message_byte_size_start:solidity.yul.test.yul_fuzzer.TypedLiteral) |
4765 | 0 | size_t total_size = 0; |
4766 | |
|
4767 | 0 | if (((_impl_._has_bits_[0] & 0x00000003) ^ 0x00000003) == 0) { // All required fields are present. |
4768 | | // required int32 val = 1; |
4769 | 0 | total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_val()); |
4770 | | |
4771 | | // required .solidity.yul.test.yul_fuzzer.TypedLiteral.TypeName type = 2; |
4772 | 0 | total_size += 1 + |
4773 | 0 | ::_pbi::WireFormatLite::EnumSize(this->_internal_type()); |
4774 | |
|
4775 | 0 | } else { |
4776 | 0 | total_size += RequiredFieldsByteSizeFallback(); |
4777 | 0 | } |
4778 | 0 | uint32_t cached_has_bits = 0; |
4779 | | // Prevent compiler warnings about cached_has_bits being unused |
4780 | 0 | (void) cached_has_bits; |
4781 | |
|
4782 | 0 | return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); |
4783 | 0 | } |
4784 | | |
4785 | | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData TypedLiteral::_class_data_ = { |
4786 | | ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, |
4787 | | TypedLiteral::MergeImpl |
4788 | | }; |
4789 | 0 | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*TypedLiteral::GetClassData() const { return &_class_data_; } |
4790 | | |
4791 | | |
4792 | 0 | void TypedLiteral::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { |
4793 | 0 | auto* const _this = static_cast<TypedLiteral*>(&to_msg); |
4794 | 0 | auto& from = static_cast<const TypedLiteral&>(from_msg); |
4795 | | // @@protoc_insertion_point(class_specific_merge_from_start:solidity.yul.test.yul_fuzzer.TypedLiteral) |
4796 | 0 | GOOGLE_DCHECK_NE(&from, _this); |
4797 | 0 | uint32_t cached_has_bits = 0; |
4798 | 0 | (void) cached_has_bits; |
4799 | |
|
4800 | 0 | cached_has_bits = from._impl_._has_bits_[0]; |
4801 | 0 | if (cached_has_bits & 0x00000003u) { |
4802 | 0 | if (cached_has_bits & 0x00000001u) { |
4803 | 0 | _this->_impl_.val_ = from._impl_.val_; |
4804 | 0 | } |
4805 | 0 | if (cached_has_bits & 0x00000002u) { |
4806 | 0 | _this->_impl_.type_ = from._impl_.type_; |
4807 | 0 | } |
4808 | 0 | _this->_impl_._has_bits_[0] |= cached_has_bits; |
4809 | 0 | } |
4810 | 0 | _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); |
4811 | 0 | } |
4812 | | |
4813 | 0 | void TypedLiteral::CopyFrom(const TypedLiteral& from) { |
4814 | | // @@protoc_insertion_point(class_specific_copy_from_start:solidity.yul.test.yul_fuzzer.TypedLiteral) |
4815 | 0 | if (&from == this) return; |
4816 | 0 | Clear(); |
4817 | 0 | MergeFrom(from); |
4818 | 0 | } |
4819 | | |
4820 | 0 | bool TypedLiteral::IsInitialized() const { |
4821 | 0 | if (_Internal::MissingRequiredFields(_impl_._has_bits_)) return false; |
4822 | 0 | return true; |
4823 | 0 | } |
4824 | | |
4825 | 0 | void TypedLiteral::InternalSwap(TypedLiteral* other) { |
4826 | 0 | using std::swap; |
4827 | 0 | _internal_metadata_.InternalSwap(&other->_internal_metadata_); |
4828 | 0 | swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); |
4829 | 0 | swap(_impl_.val_, other->_impl_.val_); |
4830 | 0 | swap(_impl_.type_, other->_impl_.type_); |
4831 | 0 | } |
4832 | | |
4833 | 0 | ::PROTOBUF_NAMESPACE_ID::Metadata TypedLiteral::GetMetadata() const { |
4834 | 0 | return ::_pbi::AssignDescriptors( |
4835 | 0 | &descriptor_table_yulProto_2eproto_getter, &descriptor_table_yulProto_2eproto_once, |
4836 | 0 | file_level_metadata_yulProto_2eproto[8]); |
4837 | 0 | } |
4838 | | |
4839 | | // =================================================================== |
4840 | | |
4841 | | class BinaryOp::_Internal { |
4842 | | public: |
4843 | | using HasBits = decltype(std::declval<BinaryOp>()._impl_._has_bits_); |
4844 | 0 | static void set_has_op(HasBits* has_bits) { |
4845 | 0 | (*has_bits)[0] |= 4u; |
4846 | 0 | } |
4847 | | static const ::solidity::yul::test::yul_fuzzer::Expression& left(const BinaryOp* msg); |
4848 | 0 | static void set_has_left(HasBits* has_bits) { |
4849 | 0 | (*has_bits)[0] |= 1u; |
4850 | 0 | } |
4851 | | static const ::solidity::yul::test::yul_fuzzer::Expression& right(const BinaryOp* msg); |
4852 | 0 | static void set_has_right(HasBits* has_bits) { |
4853 | 0 | (*has_bits)[0] |= 2u; |
4854 | 0 | } |
4855 | 0 | static bool MissingRequiredFields(const HasBits& has_bits) { |
4856 | 0 | return ((has_bits[0] & 0x00000007) ^ 0x00000007) != 0; |
4857 | 0 | } |
4858 | | }; |
4859 | | |
4860 | | const ::solidity::yul::test::yul_fuzzer::Expression& |
4861 | 0 | BinaryOp::_Internal::left(const BinaryOp* msg) { |
4862 | 0 | return *msg->_impl_.left_; |
4863 | 0 | } |
4864 | | const ::solidity::yul::test::yul_fuzzer::Expression& |
4865 | 0 | BinaryOp::_Internal::right(const BinaryOp* msg) { |
4866 | 0 | return *msg->_impl_.right_; |
4867 | 0 | } |
4868 | | BinaryOp::BinaryOp(::PROTOBUF_NAMESPACE_ID::Arena* arena, |
4869 | | bool is_message_owned) |
4870 | 213k | : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { |
4871 | 213k | SharedCtor(arena, is_message_owned); |
4872 | | // @@protoc_insertion_point(arena_constructor:solidity.yul.test.yul_fuzzer.BinaryOp) |
4873 | 213k | } |
4874 | | BinaryOp::BinaryOp(const BinaryOp& from) |
4875 | 0 | : ::PROTOBUF_NAMESPACE_ID::Message() { |
4876 | 0 | BinaryOp* const _this = this; (void)_this; |
4877 | 0 | new (&_impl_) Impl_{ |
4878 | 0 | decltype(_impl_._has_bits_){from._impl_._has_bits_} |
4879 | 0 | , /*decltype(_impl_._cached_size_)*/{} |
4880 | 0 | , decltype(_impl_.left_){nullptr} |
4881 | 0 | , decltype(_impl_.right_){nullptr} |
4882 | 0 | , decltype(_impl_.op_){}}; |
4883 | |
|
4884 | 0 | _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); |
4885 | 0 | if (from._internal_has_left()) { |
4886 | 0 | _this->_impl_.left_ = new ::solidity::yul::test::yul_fuzzer::Expression(*from._impl_.left_); |
4887 | 0 | } |
4888 | 0 | if (from._internal_has_right()) { |
4889 | 0 | _this->_impl_.right_ = new ::solidity::yul::test::yul_fuzzer::Expression(*from._impl_.right_); |
4890 | 0 | } |
4891 | 0 | _this->_impl_.op_ = from._impl_.op_; |
4892 | | // @@protoc_insertion_point(copy_constructor:solidity.yul.test.yul_fuzzer.BinaryOp) |
4893 | 0 | } |
4894 | | |
4895 | | inline void BinaryOp::SharedCtor( |
4896 | 213k | ::_pb::Arena* arena, bool is_message_owned) { |
4897 | 213k | (void)arena; |
4898 | 213k | (void)is_message_owned; |
4899 | 213k | new (&_impl_) Impl_{ |
4900 | 213k | decltype(_impl_._has_bits_){} |
4901 | 213k | , /*decltype(_impl_._cached_size_)*/{} |
4902 | 213k | , decltype(_impl_.left_){nullptr} |
4903 | 213k | , decltype(_impl_.right_){nullptr} |
4904 | 213k | , decltype(_impl_.op_){0} |
4905 | 213k | }; |
4906 | 213k | } |
4907 | | |
4908 | 213k | BinaryOp::~BinaryOp() { |
4909 | | // @@protoc_insertion_point(destructor:solidity.yul.test.yul_fuzzer.BinaryOp) |
4910 | 213k | if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { |
4911 | 0 | (void)arena; |
4912 | 0 | return; |
4913 | 0 | } |
4914 | 213k | SharedDtor(); |
4915 | 213k | } |
4916 | | |
4917 | 213k | inline void BinaryOp::SharedDtor() { |
4918 | 213k | GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); |
4919 | 213k | if (this != internal_default_instance()) delete _impl_.left_; |
4920 | 213k | if (this != internal_default_instance()) delete _impl_.right_; |
4921 | 213k | } |
4922 | | |
4923 | 0 | void BinaryOp::SetCachedSize(int size) const { |
4924 | 0 | _impl_._cached_size_.Set(size); |
4925 | 0 | } |
4926 | | |
4927 | 0 | void BinaryOp::Clear() { |
4928 | | // @@protoc_insertion_point(message_clear_start:solidity.yul.test.yul_fuzzer.BinaryOp) |
4929 | 0 | uint32_t cached_has_bits = 0; |
4930 | | // Prevent compiler warnings about cached_has_bits being unused |
4931 | 0 | (void) cached_has_bits; |
4932 | |
|
4933 | 0 | cached_has_bits = _impl_._has_bits_[0]; |
4934 | 0 | if (cached_has_bits & 0x00000003u) { |
4935 | 0 | if (cached_has_bits & 0x00000001u) { |
4936 | 0 | GOOGLE_DCHECK(_impl_.left_ != nullptr); |
4937 | 0 | _impl_.left_->Clear(); |
4938 | 0 | } |
4939 | 0 | if (cached_has_bits & 0x00000002u) { |
4940 | 0 | GOOGLE_DCHECK(_impl_.right_ != nullptr); |
4941 | 0 | _impl_.right_->Clear(); |
4942 | 0 | } |
4943 | 0 | } |
4944 | 0 | _impl_.op_ = 0; |
4945 | 0 | _impl_._has_bits_.Clear(); |
4946 | 0 | _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); |
4947 | 0 | } |
4948 | | |
4949 | 0 | const char* BinaryOp::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { |
4950 | 0 | #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure |
4951 | 0 | _Internal::HasBits has_bits{}; |
4952 | 0 | while (!ctx->Done(&ptr)) { |
4953 | 0 | uint32_t tag; |
4954 | 0 | ptr = ::_pbi::ReadTag(ptr, &tag); |
4955 | 0 | switch (tag >> 3) { |
4956 | | // required .solidity.yul.test.yul_fuzzer.BinaryOp.BOp op = 1; |
4957 | 0 | case 1: |
4958 | 0 | if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 8)) { |
4959 | 0 | uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); |
4960 | 0 | CHK_(ptr); |
4961 | 0 | if (PROTOBUF_PREDICT_TRUE(::solidity::yul::test::yul_fuzzer::BinaryOp_BOp_IsValid(val))) { |
4962 | 0 | _internal_set_op(static_cast<::solidity::yul::test::yul_fuzzer::BinaryOp_BOp>(val)); |
4963 | 0 | } else { |
4964 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::WriteVarint(1, val, mutable_unknown_fields()); |
4965 | 0 | } |
4966 | 0 | } else |
4967 | 0 | goto handle_unusual; |
4968 | 0 | continue; |
4969 | | // required .solidity.yul.test.yul_fuzzer.Expression left = 2; |
4970 | 0 | case 2: |
4971 | 0 | if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 18)) { |
4972 | 0 | ptr = ctx->ParseMessage(_internal_mutable_left(), ptr); |
4973 | 0 | CHK_(ptr); |
4974 | 0 | } else |
4975 | 0 | goto handle_unusual; |
4976 | 0 | continue; |
4977 | | // required .solidity.yul.test.yul_fuzzer.Expression right = 3; |
4978 | 0 | case 3: |
4979 | 0 | if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 26)) { |
4980 | 0 | ptr = ctx->ParseMessage(_internal_mutable_right(), ptr); |
4981 | 0 | CHK_(ptr); |
4982 | 0 | } else |
4983 | 0 | goto handle_unusual; |
4984 | 0 | continue; |
4985 | 0 | default: |
4986 | 0 | goto handle_unusual; |
4987 | 0 | } // switch |
4988 | 0 | handle_unusual: |
4989 | 0 | if ((tag == 0) || ((tag & 7) == 4)) { |
4990 | 0 | CHK_(ptr); |
4991 | 0 | ctx->SetLastTag(tag); |
4992 | 0 | goto message_done; |
4993 | 0 | } |
4994 | 0 | ptr = UnknownFieldParse( |
4995 | 0 | tag, |
4996 | 0 | _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), |
4997 | 0 | ptr, ctx); |
4998 | 0 | CHK_(ptr != nullptr); |
4999 | 0 | } // while |
5000 | 0 | message_done: |
5001 | 0 | _impl_._has_bits_.Or(has_bits); |
5002 | 0 | return ptr; |
5003 | 0 | failure: |
5004 | 0 | ptr = nullptr; |
5005 | 0 | goto message_done; |
5006 | 0 | #undef CHK_ |
5007 | 0 | } |
5008 | | |
5009 | | uint8_t* BinaryOp::_InternalSerialize( |
5010 | 0 | uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { |
5011 | | // @@protoc_insertion_point(serialize_to_array_start:solidity.yul.test.yul_fuzzer.BinaryOp) |
5012 | 0 | uint32_t cached_has_bits = 0; |
5013 | 0 | (void) cached_has_bits; |
5014 | |
|
5015 | 0 | cached_has_bits = _impl_._has_bits_[0]; |
5016 | | // required .solidity.yul.test.yul_fuzzer.BinaryOp.BOp op = 1; |
5017 | 0 | if (cached_has_bits & 0x00000004u) { |
5018 | 0 | target = stream->EnsureSpace(target); |
5019 | 0 | target = ::_pbi::WireFormatLite::WriteEnumToArray( |
5020 | 0 | 1, this->_internal_op(), target); |
5021 | 0 | } |
5022 | | |
5023 | | // required .solidity.yul.test.yul_fuzzer.Expression left = 2; |
5024 | 0 | if (cached_has_bits & 0x00000001u) { |
5025 | 0 | target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: |
5026 | 0 | InternalWriteMessage(2, _Internal::left(this), |
5027 | 0 | _Internal::left(this).GetCachedSize(), target, stream); |
5028 | 0 | } |
5029 | | |
5030 | | // required .solidity.yul.test.yul_fuzzer.Expression right = 3; |
5031 | 0 | if (cached_has_bits & 0x00000002u) { |
5032 | 0 | target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: |
5033 | 0 | InternalWriteMessage(3, _Internal::right(this), |
5034 | 0 | _Internal::right(this).GetCachedSize(), target, stream); |
5035 | 0 | } |
5036 | |
|
5037 | 0 | if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { |
5038 | 0 | target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( |
5039 | 0 | _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); |
5040 | 0 | } |
5041 | | // @@protoc_insertion_point(serialize_to_array_end:solidity.yul.test.yul_fuzzer.BinaryOp) |
5042 | 0 | return target; |
5043 | 0 | } |
5044 | | |
5045 | 0 | size_t BinaryOp::RequiredFieldsByteSizeFallback() const { |
5046 | | // @@protoc_insertion_point(required_fields_byte_size_fallback_start:solidity.yul.test.yul_fuzzer.BinaryOp) |
5047 | 0 | size_t total_size = 0; |
5048 | |
|
5049 | 0 | if (_internal_has_left()) { |
5050 | | // required .solidity.yul.test.yul_fuzzer.Expression left = 2; |
5051 | 0 | total_size += 1 + |
5052 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
5053 | 0 | *_impl_.left_); |
5054 | 0 | } |
5055 | |
|
5056 | 0 | if (_internal_has_right()) { |
5057 | | // required .solidity.yul.test.yul_fuzzer.Expression right = 3; |
5058 | 0 | total_size += 1 + |
5059 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
5060 | 0 | *_impl_.right_); |
5061 | 0 | } |
5062 | |
|
5063 | 0 | if (_internal_has_op()) { |
5064 | | // required .solidity.yul.test.yul_fuzzer.BinaryOp.BOp op = 1; |
5065 | 0 | total_size += 1 + |
5066 | 0 | ::_pbi::WireFormatLite::EnumSize(this->_internal_op()); |
5067 | 0 | } |
5068 | |
|
5069 | 0 | return total_size; |
5070 | 0 | } |
5071 | 203k | size_t BinaryOp::ByteSizeLong() const { |
5072 | | // @@protoc_insertion_point(message_byte_size_start:solidity.yul.test.yul_fuzzer.BinaryOp) |
5073 | 203k | size_t total_size = 0; |
5074 | | |
5075 | 203k | if (((_impl_._has_bits_[0] & 0x00000007) ^ 0x00000007) == 0) { // All required fields are present. |
5076 | | // required .solidity.yul.test.yul_fuzzer.Expression left = 2; |
5077 | 203k | total_size += 1 + |
5078 | 203k | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
5079 | 203k | *_impl_.left_); |
5080 | | |
5081 | | // required .solidity.yul.test.yul_fuzzer.Expression right = 3; |
5082 | 203k | total_size += 1 + |
5083 | 203k | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
5084 | 203k | *_impl_.right_); |
5085 | | |
5086 | | // required .solidity.yul.test.yul_fuzzer.BinaryOp.BOp op = 1; |
5087 | 203k | total_size += 1 + |
5088 | 203k | ::_pbi::WireFormatLite::EnumSize(this->_internal_op()); |
5089 | | |
5090 | 203k | } else { |
5091 | 0 | total_size += RequiredFieldsByteSizeFallback(); |
5092 | 0 | } |
5093 | 203k | uint32_t cached_has_bits = 0; |
5094 | | // Prevent compiler warnings about cached_has_bits being unused |
5095 | 203k | (void) cached_has_bits; |
5096 | | |
5097 | 203k | return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); |
5098 | 203k | } |
5099 | | |
5100 | | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData BinaryOp::_class_data_ = { |
5101 | | ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, |
5102 | | BinaryOp::MergeImpl |
5103 | | }; |
5104 | 0 | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*BinaryOp::GetClassData() const { return &_class_data_; } |
5105 | | |
5106 | | |
5107 | 0 | void BinaryOp::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { |
5108 | 0 | auto* const _this = static_cast<BinaryOp*>(&to_msg); |
5109 | 0 | auto& from = static_cast<const BinaryOp&>(from_msg); |
5110 | | // @@protoc_insertion_point(class_specific_merge_from_start:solidity.yul.test.yul_fuzzer.BinaryOp) |
5111 | 0 | GOOGLE_DCHECK_NE(&from, _this); |
5112 | 0 | uint32_t cached_has_bits = 0; |
5113 | 0 | (void) cached_has_bits; |
5114 | |
|
5115 | 0 | cached_has_bits = from._impl_._has_bits_[0]; |
5116 | 0 | if (cached_has_bits & 0x00000007u) { |
5117 | 0 | if (cached_has_bits & 0x00000001u) { |
5118 | 0 | _this->_internal_mutable_left()->::solidity::yul::test::yul_fuzzer::Expression::MergeFrom( |
5119 | 0 | from._internal_left()); |
5120 | 0 | } |
5121 | 0 | if (cached_has_bits & 0x00000002u) { |
5122 | 0 | _this->_internal_mutable_right()->::solidity::yul::test::yul_fuzzer::Expression::MergeFrom( |
5123 | 0 | from._internal_right()); |
5124 | 0 | } |
5125 | 0 | if (cached_has_bits & 0x00000004u) { |
5126 | 0 | _this->_impl_.op_ = from._impl_.op_; |
5127 | 0 | } |
5128 | 0 | _this->_impl_._has_bits_[0] |= cached_has_bits; |
5129 | 0 | } |
5130 | 0 | _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); |
5131 | 0 | } |
5132 | | |
5133 | 0 | void BinaryOp::CopyFrom(const BinaryOp& from) { |
5134 | | // @@protoc_insertion_point(class_specific_copy_from_start:solidity.yul.test.yul_fuzzer.BinaryOp) |
5135 | 0 | if (&from == this) return; |
5136 | 0 | Clear(); |
5137 | 0 | MergeFrom(from); |
5138 | 0 | } |
5139 | | |
5140 | 0 | bool BinaryOp::IsInitialized() const { |
5141 | 0 | if (_Internal::MissingRequiredFields(_impl_._has_bits_)) return false; |
5142 | 0 | if (_internal_has_left()) { |
5143 | 0 | if (!_impl_.left_->IsInitialized()) return false; |
5144 | 0 | } |
5145 | 0 | if (_internal_has_right()) { |
5146 | 0 | if (!_impl_.right_->IsInitialized()) return false; |
5147 | 0 | } |
5148 | 0 | return true; |
5149 | 0 | } |
5150 | | |
5151 | 0 | void BinaryOp::InternalSwap(BinaryOp* other) { |
5152 | 0 | using std::swap; |
5153 | 0 | _internal_metadata_.InternalSwap(&other->_internal_metadata_); |
5154 | 0 | swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); |
5155 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::memswap< |
5156 | 0 | PROTOBUF_FIELD_OFFSET(BinaryOp, _impl_.op_) |
5157 | 0 | + sizeof(BinaryOp::_impl_.op_) |
5158 | 0 | - PROTOBUF_FIELD_OFFSET(BinaryOp, _impl_.left_)>( |
5159 | 0 | reinterpret_cast<char*>(&_impl_.left_), |
5160 | 0 | reinterpret_cast<char*>(&other->_impl_.left_)); |
5161 | 0 | } |
5162 | | |
5163 | 3.71M | ::PROTOBUF_NAMESPACE_ID::Metadata BinaryOp::GetMetadata() const { |
5164 | 3.71M | return ::_pbi::AssignDescriptors( |
5165 | 3.71M | &descriptor_table_yulProto_2eproto_getter, &descriptor_table_yulProto_2eproto_once, |
5166 | 3.71M | file_level_metadata_yulProto_2eproto[9]); |
5167 | 3.71M | } |
5168 | | |
5169 | | // =================================================================== |
5170 | | |
5171 | | class UnaryOp::_Internal { |
5172 | | public: |
5173 | | using HasBits = decltype(std::declval<UnaryOp>()._impl_._has_bits_); |
5174 | 0 | static void set_has_op(HasBits* has_bits) { |
5175 | 0 | (*has_bits)[0] |= 2u; |
5176 | 0 | } |
5177 | | static const ::solidity::yul::test::yul_fuzzer::Expression& operand(const UnaryOp* msg); |
5178 | 0 | static void set_has_operand(HasBits* has_bits) { |
5179 | 0 | (*has_bits)[0] |= 1u; |
5180 | 0 | } |
5181 | 0 | static bool MissingRequiredFields(const HasBits& has_bits) { |
5182 | 0 | return ((has_bits[0] & 0x00000003) ^ 0x00000003) != 0; |
5183 | 0 | } |
5184 | | }; |
5185 | | |
5186 | | const ::solidity::yul::test::yul_fuzzer::Expression& |
5187 | 0 | UnaryOp::_Internal::operand(const UnaryOp* msg) { |
5188 | 0 | return *msg->_impl_.operand_; |
5189 | 0 | } |
5190 | | UnaryOp::UnaryOp(::PROTOBUF_NAMESPACE_ID::Arena* arena, |
5191 | | bool is_message_owned) |
5192 | 103k | : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { |
5193 | 103k | SharedCtor(arena, is_message_owned); |
5194 | | // @@protoc_insertion_point(arena_constructor:solidity.yul.test.yul_fuzzer.UnaryOp) |
5195 | 103k | } |
5196 | | UnaryOp::UnaryOp(const UnaryOp& from) |
5197 | 0 | : ::PROTOBUF_NAMESPACE_ID::Message() { |
5198 | 0 | UnaryOp* const _this = this; (void)_this; |
5199 | 0 | new (&_impl_) Impl_{ |
5200 | 0 | decltype(_impl_._has_bits_){from._impl_._has_bits_} |
5201 | 0 | , /*decltype(_impl_._cached_size_)*/{} |
5202 | 0 | , decltype(_impl_.operand_){nullptr} |
5203 | 0 | , decltype(_impl_.op_){}}; |
5204 | |
|
5205 | 0 | _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); |
5206 | 0 | if (from._internal_has_operand()) { |
5207 | 0 | _this->_impl_.operand_ = new ::solidity::yul::test::yul_fuzzer::Expression(*from._impl_.operand_); |
5208 | 0 | } |
5209 | 0 | _this->_impl_.op_ = from._impl_.op_; |
5210 | | // @@protoc_insertion_point(copy_constructor:solidity.yul.test.yul_fuzzer.UnaryOp) |
5211 | 0 | } |
5212 | | |
5213 | | inline void UnaryOp::SharedCtor( |
5214 | 103k | ::_pb::Arena* arena, bool is_message_owned) { |
5215 | 103k | (void)arena; |
5216 | 103k | (void)is_message_owned; |
5217 | 103k | new (&_impl_) Impl_{ |
5218 | 103k | decltype(_impl_._has_bits_){} |
5219 | 103k | , /*decltype(_impl_._cached_size_)*/{} |
5220 | 103k | , decltype(_impl_.operand_){nullptr} |
5221 | 103k | , decltype(_impl_.op_){0} |
5222 | 103k | }; |
5223 | 103k | } |
5224 | | |
5225 | 103k | UnaryOp::~UnaryOp() { |
5226 | | // @@protoc_insertion_point(destructor:solidity.yul.test.yul_fuzzer.UnaryOp) |
5227 | 103k | if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { |
5228 | 0 | (void)arena; |
5229 | 0 | return; |
5230 | 0 | } |
5231 | 103k | SharedDtor(); |
5232 | 103k | } |
5233 | | |
5234 | 103k | inline void UnaryOp::SharedDtor() { |
5235 | 103k | GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); |
5236 | 103k | if (this != internal_default_instance()) delete _impl_.operand_; |
5237 | 103k | } |
5238 | | |
5239 | 0 | void UnaryOp::SetCachedSize(int size) const { |
5240 | 0 | _impl_._cached_size_.Set(size); |
5241 | 0 | } |
5242 | | |
5243 | 0 | void UnaryOp::Clear() { |
5244 | | // @@protoc_insertion_point(message_clear_start:solidity.yul.test.yul_fuzzer.UnaryOp) |
5245 | 0 | uint32_t cached_has_bits = 0; |
5246 | | // Prevent compiler warnings about cached_has_bits being unused |
5247 | 0 | (void) cached_has_bits; |
5248 | |
|
5249 | 0 | cached_has_bits = _impl_._has_bits_[0]; |
5250 | 0 | if (cached_has_bits & 0x00000001u) { |
5251 | 0 | GOOGLE_DCHECK(_impl_.operand_ != nullptr); |
5252 | 0 | _impl_.operand_->Clear(); |
5253 | 0 | } |
5254 | 0 | _impl_.op_ = 0; |
5255 | 0 | _impl_._has_bits_.Clear(); |
5256 | 0 | _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); |
5257 | 0 | } |
5258 | | |
5259 | 0 | const char* UnaryOp::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { |
5260 | 0 | #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure |
5261 | 0 | _Internal::HasBits has_bits{}; |
5262 | 0 | while (!ctx->Done(&ptr)) { |
5263 | 0 | uint32_t tag; |
5264 | 0 | ptr = ::_pbi::ReadTag(ptr, &tag); |
5265 | 0 | switch (tag >> 3) { |
5266 | | // required .solidity.yul.test.yul_fuzzer.UnaryOp.UOp op = 1; |
5267 | 0 | case 1: |
5268 | 0 | if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 8)) { |
5269 | 0 | uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); |
5270 | 0 | CHK_(ptr); |
5271 | 0 | if (PROTOBUF_PREDICT_TRUE(::solidity::yul::test::yul_fuzzer::UnaryOp_UOp_IsValid(val))) { |
5272 | 0 | _internal_set_op(static_cast<::solidity::yul::test::yul_fuzzer::UnaryOp_UOp>(val)); |
5273 | 0 | } else { |
5274 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::WriteVarint(1, val, mutable_unknown_fields()); |
5275 | 0 | } |
5276 | 0 | } else |
5277 | 0 | goto handle_unusual; |
5278 | 0 | continue; |
5279 | | // required .solidity.yul.test.yul_fuzzer.Expression operand = 2; |
5280 | 0 | case 2: |
5281 | 0 | if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 18)) { |
5282 | 0 | ptr = ctx->ParseMessage(_internal_mutable_operand(), ptr); |
5283 | 0 | CHK_(ptr); |
5284 | 0 | } else |
5285 | 0 | goto handle_unusual; |
5286 | 0 | continue; |
5287 | 0 | default: |
5288 | 0 | goto handle_unusual; |
5289 | 0 | } // switch |
5290 | 0 | handle_unusual: |
5291 | 0 | if ((tag == 0) || ((tag & 7) == 4)) { |
5292 | 0 | CHK_(ptr); |
5293 | 0 | ctx->SetLastTag(tag); |
5294 | 0 | goto message_done; |
5295 | 0 | } |
5296 | 0 | ptr = UnknownFieldParse( |
5297 | 0 | tag, |
5298 | 0 | _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), |
5299 | 0 | ptr, ctx); |
5300 | 0 | CHK_(ptr != nullptr); |
5301 | 0 | } // while |
5302 | 0 | message_done: |
5303 | 0 | _impl_._has_bits_.Or(has_bits); |
5304 | 0 | return ptr; |
5305 | 0 | failure: |
5306 | 0 | ptr = nullptr; |
5307 | 0 | goto message_done; |
5308 | 0 | #undef CHK_ |
5309 | 0 | } |
5310 | | |
5311 | | uint8_t* UnaryOp::_InternalSerialize( |
5312 | 0 | uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { |
5313 | | // @@protoc_insertion_point(serialize_to_array_start:solidity.yul.test.yul_fuzzer.UnaryOp) |
5314 | 0 | uint32_t cached_has_bits = 0; |
5315 | 0 | (void) cached_has_bits; |
5316 | |
|
5317 | 0 | cached_has_bits = _impl_._has_bits_[0]; |
5318 | | // required .solidity.yul.test.yul_fuzzer.UnaryOp.UOp op = 1; |
5319 | 0 | if (cached_has_bits & 0x00000002u) { |
5320 | 0 | target = stream->EnsureSpace(target); |
5321 | 0 | target = ::_pbi::WireFormatLite::WriteEnumToArray( |
5322 | 0 | 1, this->_internal_op(), target); |
5323 | 0 | } |
5324 | | |
5325 | | // required .solidity.yul.test.yul_fuzzer.Expression operand = 2; |
5326 | 0 | if (cached_has_bits & 0x00000001u) { |
5327 | 0 | target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: |
5328 | 0 | InternalWriteMessage(2, _Internal::operand(this), |
5329 | 0 | _Internal::operand(this).GetCachedSize(), target, stream); |
5330 | 0 | } |
5331 | |
|
5332 | 0 | if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { |
5333 | 0 | target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( |
5334 | 0 | _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); |
5335 | 0 | } |
5336 | | // @@protoc_insertion_point(serialize_to_array_end:solidity.yul.test.yul_fuzzer.UnaryOp) |
5337 | 0 | return target; |
5338 | 0 | } |
5339 | | |
5340 | 0 | size_t UnaryOp::RequiredFieldsByteSizeFallback() const { |
5341 | | // @@protoc_insertion_point(required_fields_byte_size_fallback_start:solidity.yul.test.yul_fuzzer.UnaryOp) |
5342 | 0 | size_t total_size = 0; |
5343 | |
|
5344 | 0 | if (_internal_has_operand()) { |
5345 | | // required .solidity.yul.test.yul_fuzzer.Expression operand = 2; |
5346 | 0 | total_size += 1 + |
5347 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
5348 | 0 | *_impl_.operand_); |
5349 | 0 | } |
5350 | |
|
5351 | 0 | if (_internal_has_op()) { |
5352 | | // required .solidity.yul.test.yul_fuzzer.UnaryOp.UOp op = 1; |
5353 | 0 | total_size += 1 + |
5354 | 0 | ::_pbi::WireFormatLite::EnumSize(this->_internal_op()); |
5355 | 0 | } |
5356 | |
|
5357 | 0 | return total_size; |
5358 | 0 | } |
5359 | 95.7k | size_t UnaryOp::ByteSizeLong() const { |
5360 | | // @@protoc_insertion_point(message_byte_size_start:solidity.yul.test.yul_fuzzer.UnaryOp) |
5361 | 95.7k | size_t total_size = 0; |
5362 | | |
5363 | 95.7k | if (((_impl_._has_bits_[0] & 0x00000003) ^ 0x00000003) == 0) { // All required fields are present. |
5364 | | // required .solidity.yul.test.yul_fuzzer.Expression operand = 2; |
5365 | 95.7k | total_size += 1 + |
5366 | 95.7k | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
5367 | 95.7k | *_impl_.operand_); |
5368 | | |
5369 | | // required .solidity.yul.test.yul_fuzzer.UnaryOp.UOp op = 1; |
5370 | 95.7k | total_size += 1 + |
5371 | 95.7k | ::_pbi::WireFormatLite::EnumSize(this->_internal_op()); |
5372 | | |
5373 | 95.7k | } else { |
5374 | 0 | total_size += RequiredFieldsByteSizeFallback(); |
5375 | 0 | } |
5376 | 95.7k | uint32_t cached_has_bits = 0; |
5377 | | // Prevent compiler warnings about cached_has_bits being unused |
5378 | 95.7k | (void) cached_has_bits; |
5379 | | |
5380 | 95.7k | return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); |
5381 | 95.7k | } |
5382 | | |
5383 | | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData UnaryOp::_class_data_ = { |
5384 | | ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, |
5385 | | UnaryOp::MergeImpl |
5386 | | }; |
5387 | 0 | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*UnaryOp::GetClassData() const { return &_class_data_; } |
5388 | | |
5389 | | |
5390 | 0 | void UnaryOp::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { |
5391 | 0 | auto* const _this = static_cast<UnaryOp*>(&to_msg); |
5392 | 0 | auto& from = static_cast<const UnaryOp&>(from_msg); |
5393 | | // @@protoc_insertion_point(class_specific_merge_from_start:solidity.yul.test.yul_fuzzer.UnaryOp) |
5394 | 0 | GOOGLE_DCHECK_NE(&from, _this); |
5395 | 0 | uint32_t cached_has_bits = 0; |
5396 | 0 | (void) cached_has_bits; |
5397 | |
|
5398 | 0 | cached_has_bits = from._impl_._has_bits_[0]; |
5399 | 0 | if (cached_has_bits & 0x00000003u) { |
5400 | 0 | if (cached_has_bits & 0x00000001u) { |
5401 | 0 | _this->_internal_mutable_operand()->::solidity::yul::test::yul_fuzzer::Expression::MergeFrom( |
5402 | 0 | from._internal_operand()); |
5403 | 0 | } |
5404 | 0 | if (cached_has_bits & 0x00000002u) { |
5405 | 0 | _this->_impl_.op_ = from._impl_.op_; |
5406 | 0 | } |
5407 | 0 | _this->_impl_._has_bits_[0] |= cached_has_bits; |
5408 | 0 | } |
5409 | 0 | _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); |
5410 | 0 | } |
5411 | | |
5412 | 0 | void UnaryOp::CopyFrom(const UnaryOp& from) { |
5413 | | // @@protoc_insertion_point(class_specific_copy_from_start:solidity.yul.test.yul_fuzzer.UnaryOp) |
5414 | 0 | if (&from == this) return; |
5415 | 0 | Clear(); |
5416 | 0 | MergeFrom(from); |
5417 | 0 | } |
5418 | | |
5419 | 0 | bool UnaryOp::IsInitialized() const { |
5420 | 0 | if (_Internal::MissingRequiredFields(_impl_._has_bits_)) return false; |
5421 | 0 | if (_internal_has_operand()) { |
5422 | 0 | if (!_impl_.operand_->IsInitialized()) return false; |
5423 | 0 | } |
5424 | 0 | return true; |
5425 | 0 | } |
5426 | | |
5427 | 0 | void UnaryOp::InternalSwap(UnaryOp* other) { |
5428 | 0 | using std::swap; |
5429 | 0 | _internal_metadata_.InternalSwap(&other->_internal_metadata_); |
5430 | 0 | swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); |
5431 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::memswap< |
5432 | 0 | PROTOBUF_FIELD_OFFSET(UnaryOp, _impl_.op_) |
5433 | 0 | + sizeof(UnaryOp::_impl_.op_) |
5434 | 0 | - PROTOBUF_FIELD_OFFSET(UnaryOp, _impl_.operand_)>( |
5435 | 0 | reinterpret_cast<char*>(&_impl_.operand_), |
5436 | 0 | reinterpret_cast<char*>(&other->_impl_.operand_)); |
5437 | 0 | } |
5438 | | |
5439 | 1.56M | ::PROTOBUF_NAMESPACE_ID::Metadata UnaryOp::GetMetadata() const { |
5440 | 1.56M | return ::_pbi::AssignDescriptors( |
5441 | 1.56M | &descriptor_table_yulProto_2eproto_getter, &descriptor_table_yulProto_2eproto_once, |
5442 | 1.56M | file_level_metadata_yulProto_2eproto[10]); |
5443 | 1.56M | } |
5444 | | |
5445 | | // =================================================================== |
5446 | | |
5447 | | class UnaryOpData::_Internal { |
5448 | | public: |
5449 | | using HasBits = decltype(std::declval<UnaryOpData>()._impl_._has_bits_); |
5450 | 0 | static void set_has_op(HasBits* has_bits) { |
5451 | 0 | (*has_bits)[0] |= 2u; |
5452 | 0 | } |
5453 | 0 | static void set_has_identifier(HasBits* has_bits) { |
5454 | 0 | (*has_bits)[0] |= 1u; |
5455 | 0 | } |
5456 | 0 | static bool MissingRequiredFields(const HasBits& has_bits) { |
5457 | 0 | return ((has_bits[0] & 0x00000003) ^ 0x00000003) != 0; |
5458 | 0 | } |
5459 | | }; |
5460 | | |
5461 | | UnaryOpData::UnaryOpData(::PROTOBUF_NAMESPACE_ID::Arena* arena, |
5462 | | bool is_message_owned) |
5463 | 53.3k | : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { |
5464 | 53.3k | SharedCtor(arena, is_message_owned); |
5465 | | // @@protoc_insertion_point(arena_constructor:solidity.yul.test.yul_fuzzer.UnaryOpData) |
5466 | 53.3k | } |
5467 | | UnaryOpData::UnaryOpData(const UnaryOpData& from) |
5468 | 0 | : ::PROTOBUF_NAMESPACE_ID::Message() { |
5469 | 0 | UnaryOpData* const _this = this; (void)_this; |
5470 | 0 | new (&_impl_) Impl_{ |
5471 | 0 | decltype(_impl_._has_bits_){from._impl_._has_bits_} |
5472 | 0 | , /*decltype(_impl_._cached_size_)*/{} |
5473 | 0 | , decltype(_impl_.identifier_){} |
5474 | 0 | , decltype(_impl_.op_){}}; |
5475 | |
|
5476 | 0 | _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); |
5477 | 0 | ::memcpy(&_impl_.identifier_, &from._impl_.identifier_, |
5478 | 0 | static_cast<size_t>(reinterpret_cast<char*>(&_impl_.op_) - |
5479 | 0 | reinterpret_cast<char*>(&_impl_.identifier_)) + sizeof(_impl_.op_)); |
5480 | | // @@protoc_insertion_point(copy_constructor:solidity.yul.test.yul_fuzzer.UnaryOpData) |
5481 | 0 | } |
5482 | | |
5483 | | inline void UnaryOpData::SharedCtor( |
5484 | 53.3k | ::_pb::Arena* arena, bool is_message_owned) { |
5485 | 53.3k | (void)arena; |
5486 | 53.3k | (void)is_message_owned; |
5487 | 53.3k | new (&_impl_) Impl_{ |
5488 | 53.3k | decltype(_impl_._has_bits_){} |
5489 | 53.3k | , /*decltype(_impl_._cached_size_)*/{} |
5490 | 53.3k | , decltype(_impl_.identifier_){uint64_t{0u}} |
5491 | 53.3k | , decltype(_impl_.op_){1} |
5492 | 53.3k | }; |
5493 | 53.3k | } |
5494 | | |
5495 | 53.3k | UnaryOpData::~UnaryOpData() { |
5496 | | // @@protoc_insertion_point(destructor:solidity.yul.test.yul_fuzzer.UnaryOpData) |
5497 | 53.3k | if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { |
5498 | 0 | (void)arena; |
5499 | 0 | return; |
5500 | 0 | } |
5501 | 53.3k | SharedDtor(); |
5502 | 53.3k | } |
5503 | | |
5504 | 53.3k | inline void UnaryOpData::SharedDtor() { |
5505 | 53.3k | GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); |
5506 | 53.3k | } |
5507 | | |
5508 | 0 | void UnaryOpData::SetCachedSize(int size) const { |
5509 | 0 | _impl_._cached_size_.Set(size); |
5510 | 0 | } |
5511 | | |
5512 | 0 | void UnaryOpData::Clear() { |
5513 | | // @@protoc_insertion_point(message_clear_start:solidity.yul.test.yul_fuzzer.UnaryOpData) |
5514 | 0 | uint32_t cached_has_bits = 0; |
5515 | | // Prevent compiler warnings about cached_has_bits being unused |
5516 | 0 | (void) cached_has_bits; |
5517 | |
|
5518 | 0 | cached_has_bits = _impl_._has_bits_[0]; |
5519 | 0 | if (cached_has_bits & 0x00000003u) { |
5520 | 0 | _impl_.identifier_ = uint64_t{0u}; |
5521 | 0 | _impl_.op_ = 1; |
5522 | 0 | } |
5523 | 0 | _impl_._has_bits_.Clear(); |
5524 | 0 | _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); |
5525 | 0 | } |
5526 | | |
5527 | 0 | const char* UnaryOpData::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { |
5528 | 0 | #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure |
5529 | 0 | _Internal::HasBits has_bits{}; |
5530 | 0 | while (!ctx->Done(&ptr)) { |
5531 | 0 | uint32_t tag; |
5532 | 0 | ptr = ::_pbi::ReadTag(ptr, &tag); |
5533 | 0 | switch (tag >> 3) { |
5534 | | // required .solidity.yul.test.yul_fuzzer.UnaryOpData.UOpData op = 1; |
5535 | 0 | case 1: |
5536 | 0 | if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 8)) { |
5537 | 0 | uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); |
5538 | 0 | CHK_(ptr); |
5539 | 0 | if (PROTOBUF_PREDICT_TRUE(::solidity::yul::test::yul_fuzzer::UnaryOpData_UOpData_IsValid(val))) { |
5540 | 0 | _internal_set_op(static_cast<::solidity::yul::test::yul_fuzzer::UnaryOpData_UOpData>(val)); |
5541 | 0 | } else { |
5542 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::WriteVarint(1, val, mutable_unknown_fields()); |
5543 | 0 | } |
5544 | 0 | } else |
5545 | 0 | goto handle_unusual; |
5546 | 0 | continue; |
5547 | | // required uint64 identifier = 2; |
5548 | 0 | case 2: |
5549 | 0 | if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 16)) { |
5550 | 0 | _Internal::set_has_identifier(&has_bits); |
5551 | 0 | _impl_.identifier_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); |
5552 | 0 | CHK_(ptr); |
5553 | 0 | } else |
5554 | 0 | goto handle_unusual; |
5555 | 0 | continue; |
5556 | 0 | default: |
5557 | 0 | goto handle_unusual; |
5558 | 0 | } // switch |
5559 | 0 | handle_unusual: |
5560 | 0 | if ((tag == 0) || ((tag & 7) == 4)) { |
5561 | 0 | CHK_(ptr); |
5562 | 0 | ctx->SetLastTag(tag); |
5563 | 0 | goto message_done; |
5564 | 0 | } |
5565 | 0 | ptr = UnknownFieldParse( |
5566 | 0 | tag, |
5567 | 0 | _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), |
5568 | 0 | ptr, ctx); |
5569 | 0 | CHK_(ptr != nullptr); |
5570 | 0 | } // while |
5571 | 0 | message_done: |
5572 | 0 | _impl_._has_bits_.Or(has_bits); |
5573 | 0 | return ptr; |
5574 | 0 | failure: |
5575 | 0 | ptr = nullptr; |
5576 | 0 | goto message_done; |
5577 | 0 | #undef CHK_ |
5578 | 0 | } |
5579 | | |
5580 | | uint8_t* UnaryOpData::_InternalSerialize( |
5581 | 0 | uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { |
5582 | | // @@protoc_insertion_point(serialize_to_array_start:solidity.yul.test.yul_fuzzer.UnaryOpData) |
5583 | 0 | uint32_t cached_has_bits = 0; |
5584 | 0 | (void) cached_has_bits; |
5585 | |
|
5586 | 0 | cached_has_bits = _impl_._has_bits_[0]; |
5587 | | // required .solidity.yul.test.yul_fuzzer.UnaryOpData.UOpData op = 1; |
5588 | 0 | if (cached_has_bits & 0x00000002u) { |
5589 | 0 | target = stream->EnsureSpace(target); |
5590 | 0 | target = ::_pbi::WireFormatLite::WriteEnumToArray( |
5591 | 0 | 1, this->_internal_op(), target); |
5592 | 0 | } |
5593 | | |
5594 | | // required uint64 identifier = 2; |
5595 | 0 | if (cached_has_bits & 0x00000001u) { |
5596 | 0 | target = stream->EnsureSpace(target); |
5597 | 0 | target = ::_pbi::WireFormatLite::WriteUInt64ToArray(2, this->_internal_identifier(), target); |
5598 | 0 | } |
5599 | |
|
5600 | 0 | if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { |
5601 | 0 | target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( |
5602 | 0 | _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); |
5603 | 0 | } |
5604 | | // @@protoc_insertion_point(serialize_to_array_end:solidity.yul.test.yul_fuzzer.UnaryOpData) |
5605 | 0 | return target; |
5606 | 0 | } |
5607 | | |
5608 | 0 | size_t UnaryOpData::RequiredFieldsByteSizeFallback() const { |
5609 | | // @@protoc_insertion_point(required_fields_byte_size_fallback_start:solidity.yul.test.yul_fuzzer.UnaryOpData) |
5610 | 0 | size_t total_size = 0; |
5611 | |
|
5612 | 0 | if (_internal_has_identifier()) { |
5613 | | // required uint64 identifier = 2; |
5614 | 0 | total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_identifier()); |
5615 | 0 | } |
5616 | |
|
5617 | 0 | if (_internal_has_op()) { |
5618 | | // required .solidity.yul.test.yul_fuzzer.UnaryOpData.UOpData op = 1; |
5619 | 0 | total_size += 1 + |
5620 | 0 | ::_pbi::WireFormatLite::EnumSize(this->_internal_op()); |
5621 | 0 | } |
5622 | |
|
5623 | 0 | return total_size; |
5624 | 0 | } |
5625 | 51.9k | size_t UnaryOpData::ByteSizeLong() const { |
5626 | | // @@protoc_insertion_point(message_byte_size_start:solidity.yul.test.yul_fuzzer.UnaryOpData) |
5627 | 51.9k | size_t total_size = 0; |
5628 | | |
5629 | 51.9k | if (((_impl_._has_bits_[0] & 0x00000003) ^ 0x00000003) == 0) { // All required fields are present. |
5630 | | // required uint64 identifier = 2; |
5631 | 51.9k | total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_identifier()); |
5632 | | |
5633 | | // required .solidity.yul.test.yul_fuzzer.UnaryOpData.UOpData op = 1; |
5634 | 51.9k | total_size += 1 + |
5635 | 51.9k | ::_pbi::WireFormatLite::EnumSize(this->_internal_op()); |
5636 | | |
5637 | 51.9k | } else { |
5638 | 0 | total_size += RequiredFieldsByteSizeFallback(); |
5639 | 0 | } |
5640 | 51.9k | uint32_t cached_has_bits = 0; |
5641 | | // Prevent compiler warnings about cached_has_bits being unused |
5642 | 51.9k | (void) cached_has_bits; |
5643 | | |
5644 | 51.9k | return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); |
5645 | 51.9k | } |
5646 | | |
5647 | | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData UnaryOpData::_class_data_ = { |
5648 | | ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, |
5649 | | UnaryOpData::MergeImpl |
5650 | | }; |
5651 | 0 | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*UnaryOpData::GetClassData() const { return &_class_data_; } |
5652 | | |
5653 | | |
5654 | 0 | void UnaryOpData::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { |
5655 | 0 | auto* const _this = static_cast<UnaryOpData*>(&to_msg); |
5656 | 0 | auto& from = static_cast<const UnaryOpData&>(from_msg); |
5657 | | // @@protoc_insertion_point(class_specific_merge_from_start:solidity.yul.test.yul_fuzzer.UnaryOpData) |
5658 | 0 | GOOGLE_DCHECK_NE(&from, _this); |
5659 | 0 | uint32_t cached_has_bits = 0; |
5660 | 0 | (void) cached_has_bits; |
5661 | |
|
5662 | 0 | cached_has_bits = from._impl_._has_bits_[0]; |
5663 | 0 | if (cached_has_bits & 0x00000003u) { |
5664 | 0 | if (cached_has_bits & 0x00000001u) { |
5665 | 0 | _this->_impl_.identifier_ = from._impl_.identifier_; |
5666 | 0 | } |
5667 | 0 | if (cached_has_bits & 0x00000002u) { |
5668 | 0 | _this->_impl_.op_ = from._impl_.op_; |
5669 | 0 | } |
5670 | 0 | _this->_impl_._has_bits_[0] |= cached_has_bits; |
5671 | 0 | } |
5672 | 0 | _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); |
5673 | 0 | } |
5674 | | |
5675 | 0 | void UnaryOpData::CopyFrom(const UnaryOpData& from) { |
5676 | | // @@protoc_insertion_point(class_specific_copy_from_start:solidity.yul.test.yul_fuzzer.UnaryOpData) |
5677 | 0 | if (&from == this) return; |
5678 | 0 | Clear(); |
5679 | 0 | MergeFrom(from); |
5680 | 0 | } |
5681 | | |
5682 | 0 | bool UnaryOpData::IsInitialized() const { |
5683 | 0 | if (_Internal::MissingRequiredFields(_impl_._has_bits_)) return false; |
5684 | 0 | return true; |
5685 | 0 | } |
5686 | | |
5687 | 0 | void UnaryOpData::InternalSwap(UnaryOpData* other) { |
5688 | 0 | using std::swap; |
5689 | 0 | _internal_metadata_.InternalSwap(&other->_internal_metadata_); |
5690 | 0 | swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); |
5691 | 0 | swap(_impl_.identifier_, other->_impl_.identifier_); |
5692 | 0 | swap(_impl_.op_, other->_impl_.op_); |
5693 | 0 | } |
5694 | | |
5695 | 732k | ::PROTOBUF_NAMESPACE_ID::Metadata UnaryOpData::GetMetadata() const { |
5696 | 732k | return ::_pbi::AssignDescriptors( |
5697 | 732k | &descriptor_table_yulProto_2eproto_getter, &descriptor_table_yulProto_2eproto_once, |
5698 | 732k | file_level_metadata_yulProto_2eproto[11]); |
5699 | 732k | } |
5700 | | |
5701 | | // =================================================================== |
5702 | | |
5703 | | class TernaryOp::_Internal { |
5704 | | public: |
5705 | | using HasBits = decltype(std::declval<TernaryOp>()._impl_._has_bits_); |
5706 | 0 | static void set_has_op(HasBits* has_bits) { |
5707 | 0 | (*has_bits)[0] |= 8u; |
5708 | 0 | } |
5709 | | static const ::solidity::yul::test::yul_fuzzer::Expression& arg1(const TernaryOp* msg); |
5710 | 0 | static void set_has_arg1(HasBits* has_bits) { |
5711 | 0 | (*has_bits)[0] |= 1u; |
5712 | 0 | } |
5713 | | static const ::solidity::yul::test::yul_fuzzer::Expression& arg2(const TernaryOp* msg); |
5714 | 0 | static void set_has_arg2(HasBits* has_bits) { |
5715 | 0 | (*has_bits)[0] |= 2u; |
5716 | 0 | } |
5717 | | static const ::solidity::yul::test::yul_fuzzer::Expression& arg3(const TernaryOp* msg); |
5718 | 0 | static void set_has_arg3(HasBits* has_bits) { |
5719 | 0 | (*has_bits)[0] |= 4u; |
5720 | 0 | } |
5721 | 0 | static bool MissingRequiredFields(const HasBits& has_bits) { |
5722 | 0 | return ((has_bits[0] & 0x0000000f) ^ 0x0000000f) != 0; |
5723 | 0 | } |
5724 | | }; |
5725 | | |
5726 | | const ::solidity::yul::test::yul_fuzzer::Expression& |
5727 | 0 | TernaryOp::_Internal::arg1(const TernaryOp* msg) { |
5728 | 0 | return *msg->_impl_.arg1_; |
5729 | 0 | } |
5730 | | const ::solidity::yul::test::yul_fuzzer::Expression& |
5731 | 0 | TernaryOp::_Internal::arg2(const TernaryOp* msg) { |
5732 | 0 | return *msg->_impl_.arg2_; |
5733 | 0 | } |
5734 | | const ::solidity::yul::test::yul_fuzzer::Expression& |
5735 | 0 | TernaryOp::_Internal::arg3(const TernaryOp* msg) { |
5736 | 0 | return *msg->_impl_.arg3_; |
5737 | 0 | } |
5738 | | TernaryOp::TernaryOp(::PROTOBUF_NAMESPACE_ID::Arena* arena, |
5739 | | bool is_message_owned) |
5740 | 46.2k | : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { |
5741 | 46.2k | SharedCtor(arena, is_message_owned); |
5742 | | // @@protoc_insertion_point(arena_constructor:solidity.yul.test.yul_fuzzer.TernaryOp) |
5743 | 46.2k | } |
5744 | | TernaryOp::TernaryOp(const TernaryOp& from) |
5745 | 0 | : ::PROTOBUF_NAMESPACE_ID::Message() { |
5746 | 0 | TernaryOp* const _this = this; (void)_this; |
5747 | 0 | new (&_impl_) Impl_{ |
5748 | 0 | decltype(_impl_._has_bits_){from._impl_._has_bits_} |
5749 | 0 | , /*decltype(_impl_._cached_size_)*/{} |
5750 | 0 | , decltype(_impl_.arg1_){nullptr} |
5751 | 0 | , decltype(_impl_.arg2_){nullptr} |
5752 | 0 | , decltype(_impl_.arg3_){nullptr} |
5753 | 0 | , decltype(_impl_.op_){}}; |
5754 | |
|
5755 | 0 | _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); |
5756 | 0 | if (from._internal_has_arg1()) { |
5757 | 0 | _this->_impl_.arg1_ = new ::solidity::yul::test::yul_fuzzer::Expression(*from._impl_.arg1_); |
5758 | 0 | } |
5759 | 0 | if (from._internal_has_arg2()) { |
5760 | 0 | _this->_impl_.arg2_ = new ::solidity::yul::test::yul_fuzzer::Expression(*from._impl_.arg2_); |
5761 | 0 | } |
5762 | 0 | if (from._internal_has_arg3()) { |
5763 | 0 | _this->_impl_.arg3_ = new ::solidity::yul::test::yul_fuzzer::Expression(*from._impl_.arg3_); |
5764 | 0 | } |
5765 | 0 | _this->_impl_.op_ = from._impl_.op_; |
5766 | | // @@protoc_insertion_point(copy_constructor:solidity.yul.test.yul_fuzzer.TernaryOp) |
5767 | 0 | } |
5768 | | |
5769 | | inline void TernaryOp::SharedCtor( |
5770 | 46.2k | ::_pb::Arena* arena, bool is_message_owned) { |
5771 | 46.2k | (void)arena; |
5772 | 46.2k | (void)is_message_owned; |
5773 | 46.2k | new (&_impl_) Impl_{ |
5774 | 46.2k | decltype(_impl_._has_bits_){} |
5775 | 46.2k | , /*decltype(_impl_._cached_size_)*/{} |
5776 | 46.2k | , decltype(_impl_.arg1_){nullptr} |
5777 | 46.2k | , decltype(_impl_.arg2_){nullptr} |
5778 | 46.2k | , decltype(_impl_.arg3_){nullptr} |
5779 | 46.2k | , decltype(_impl_.op_){0} |
5780 | 46.2k | }; |
5781 | 46.2k | } |
5782 | | |
5783 | 46.2k | TernaryOp::~TernaryOp() { |
5784 | | // @@protoc_insertion_point(destructor:solidity.yul.test.yul_fuzzer.TernaryOp) |
5785 | 46.2k | if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { |
5786 | 0 | (void)arena; |
5787 | 0 | return; |
5788 | 0 | } |
5789 | 46.2k | SharedDtor(); |
5790 | 46.2k | } |
5791 | | |
5792 | 46.2k | inline void TernaryOp::SharedDtor() { |
5793 | 46.2k | GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); |
5794 | 46.2k | if (this != internal_default_instance()) delete _impl_.arg1_; |
5795 | 46.2k | if (this != internal_default_instance()) delete _impl_.arg2_; |
5796 | 46.2k | if (this != internal_default_instance()) delete _impl_.arg3_; |
5797 | 46.2k | } |
5798 | | |
5799 | 0 | void TernaryOp::SetCachedSize(int size) const { |
5800 | 0 | _impl_._cached_size_.Set(size); |
5801 | 0 | } |
5802 | | |
5803 | 0 | void TernaryOp::Clear() { |
5804 | | // @@protoc_insertion_point(message_clear_start:solidity.yul.test.yul_fuzzer.TernaryOp) |
5805 | 0 | uint32_t cached_has_bits = 0; |
5806 | | // Prevent compiler warnings about cached_has_bits being unused |
5807 | 0 | (void) cached_has_bits; |
5808 | |
|
5809 | 0 | cached_has_bits = _impl_._has_bits_[0]; |
5810 | 0 | if (cached_has_bits & 0x00000007u) { |
5811 | 0 | if (cached_has_bits & 0x00000001u) { |
5812 | 0 | GOOGLE_DCHECK(_impl_.arg1_ != nullptr); |
5813 | 0 | _impl_.arg1_->Clear(); |
5814 | 0 | } |
5815 | 0 | if (cached_has_bits & 0x00000002u) { |
5816 | 0 | GOOGLE_DCHECK(_impl_.arg2_ != nullptr); |
5817 | 0 | _impl_.arg2_->Clear(); |
5818 | 0 | } |
5819 | 0 | if (cached_has_bits & 0x00000004u) { |
5820 | 0 | GOOGLE_DCHECK(_impl_.arg3_ != nullptr); |
5821 | 0 | _impl_.arg3_->Clear(); |
5822 | 0 | } |
5823 | 0 | } |
5824 | 0 | _impl_.op_ = 0; |
5825 | 0 | _impl_._has_bits_.Clear(); |
5826 | 0 | _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); |
5827 | 0 | } |
5828 | | |
5829 | 0 | const char* TernaryOp::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { |
5830 | 0 | #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure |
5831 | 0 | _Internal::HasBits has_bits{}; |
5832 | 0 | while (!ctx->Done(&ptr)) { |
5833 | 0 | uint32_t tag; |
5834 | 0 | ptr = ::_pbi::ReadTag(ptr, &tag); |
5835 | 0 | switch (tag >> 3) { |
5836 | | // required .solidity.yul.test.yul_fuzzer.TernaryOp.TOp op = 1; |
5837 | 0 | case 1: |
5838 | 0 | if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 8)) { |
5839 | 0 | uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); |
5840 | 0 | CHK_(ptr); |
5841 | 0 | if (PROTOBUF_PREDICT_TRUE(::solidity::yul::test::yul_fuzzer::TernaryOp_TOp_IsValid(val))) { |
5842 | 0 | _internal_set_op(static_cast<::solidity::yul::test::yul_fuzzer::TernaryOp_TOp>(val)); |
5843 | 0 | } else { |
5844 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::WriteVarint(1, val, mutable_unknown_fields()); |
5845 | 0 | } |
5846 | 0 | } else |
5847 | 0 | goto handle_unusual; |
5848 | 0 | continue; |
5849 | | // required .solidity.yul.test.yul_fuzzer.Expression arg1 = 2; |
5850 | 0 | case 2: |
5851 | 0 | if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 18)) { |
5852 | 0 | ptr = ctx->ParseMessage(_internal_mutable_arg1(), ptr); |
5853 | 0 | CHK_(ptr); |
5854 | 0 | } else |
5855 | 0 | goto handle_unusual; |
5856 | 0 | continue; |
5857 | | // required .solidity.yul.test.yul_fuzzer.Expression arg2 = 3; |
5858 | 0 | case 3: |
5859 | 0 | if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 26)) { |
5860 | 0 | ptr = ctx->ParseMessage(_internal_mutable_arg2(), ptr); |
5861 | 0 | CHK_(ptr); |
5862 | 0 | } else |
5863 | 0 | goto handle_unusual; |
5864 | 0 | continue; |
5865 | | // required .solidity.yul.test.yul_fuzzer.Expression arg3 = 4; |
5866 | 0 | case 4: |
5867 | 0 | if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 34)) { |
5868 | 0 | ptr = ctx->ParseMessage(_internal_mutable_arg3(), ptr); |
5869 | 0 | CHK_(ptr); |
5870 | 0 | } else |
5871 | 0 | goto handle_unusual; |
5872 | 0 | continue; |
5873 | 0 | default: |
5874 | 0 | goto handle_unusual; |
5875 | 0 | } // switch |
5876 | 0 | handle_unusual: |
5877 | 0 | if ((tag == 0) || ((tag & 7) == 4)) { |
5878 | 0 | CHK_(ptr); |
5879 | 0 | ctx->SetLastTag(tag); |
5880 | 0 | goto message_done; |
5881 | 0 | } |
5882 | 0 | ptr = UnknownFieldParse( |
5883 | 0 | tag, |
5884 | 0 | _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), |
5885 | 0 | ptr, ctx); |
5886 | 0 | CHK_(ptr != nullptr); |
5887 | 0 | } // while |
5888 | 0 | message_done: |
5889 | 0 | _impl_._has_bits_.Or(has_bits); |
5890 | 0 | return ptr; |
5891 | 0 | failure: |
5892 | 0 | ptr = nullptr; |
5893 | 0 | goto message_done; |
5894 | 0 | #undef CHK_ |
5895 | 0 | } |
5896 | | |
5897 | | uint8_t* TernaryOp::_InternalSerialize( |
5898 | 0 | uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { |
5899 | | // @@protoc_insertion_point(serialize_to_array_start:solidity.yul.test.yul_fuzzer.TernaryOp) |
5900 | 0 | uint32_t cached_has_bits = 0; |
5901 | 0 | (void) cached_has_bits; |
5902 | |
|
5903 | 0 | cached_has_bits = _impl_._has_bits_[0]; |
5904 | | // required .solidity.yul.test.yul_fuzzer.TernaryOp.TOp op = 1; |
5905 | 0 | if (cached_has_bits & 0x00000008u) { |
5906 | 0 | target = stream->EnsureSpace(target); |
5907 | 0 | target = ::_pbi::WireFormatLite::WriteEnumToArray( |
5908 | 0 | 1, this->_internal_op(), target); |
5909 | 0 | } |
5910 | | |
5911 | | // required .solidity.yul.test.yul_fuzzer.Expression arg1 = 2; |
5912 | 0 | if (cached_has_bits & 0x00000001u) { |
5913 | 0 | target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: |
5914 | 0 | InternalWriteMessage(2, _Internal::arg1(this), |
5915 | 0 | _Internal::arg1(this).GetCachedSize(), target, stream); |
5916 | 0 | } |
5917 | | |
5918 | | // required .solidity.yul.test.yul_fuzzer.Expression arg2 = 3; |
5919 | 0 | if (cached_has_bits & 0x00000002u) { |
5920 | 0 | target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: |
5921 | 0 | InternalWriteMessage(3, _Internal::arg2(this), |
5922 | 0 | _Internal::arg2(this).GetCachedSize(), target, stream); |
5923 | 0 | } |
5924 | | |
5925 | | // required .solidity.yul.test.yul_fuzzer.Expression arg3 = 4; |
5926 | 0 | if (cached_has_bits & 0x00000004u) { |
5927 | 0 | target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: |
5928 | 0 | InternalWriteMessage(4, _Internal::arg3(this), |
5929 | 0 | _Internal::arg3(this).GetCachedSize(), target, stream); |
5930 | 0 | } |
5931 | |
|
5932 | 0 | if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { |
5933 | 0 | target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( |
5934 | 0 | _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); |
5935 | 0 | } |
5936 | | // @@protoc_insertion_point(serialize_to_array_end:solidity.yul.test.yul_fuzzer.TernaryOp) |
5937 | 0 | return target; |
5938 | 0 | } |
5939 | | |
5940 | 0 | size_t TernaryOp::RequiredFieldsByteSizeFallback() const { |
5941 | | // @@protoc_insertion_point(required_fields_byte_size_fallback_start:solidity.yul.test.yul_fuzzer.TernaryOp) |
5942 | 0 | size_t total_size = 0; |
5943 | |
|
5944 | 0 | if (_internal_has_arg1()) { |
5945 | | // required .solidity.yul.test.yul_fuzzer.Expression arg1 = 2; |
5946 | 0 | total_size += 1 + |
5947 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
5948 | 0 | *_impl_.arg1_); |
5949 | 0 | } |
5950 | |
|
5951 | 0 | if (_internal_has_arg2()) { |
5952 | | // required .solidity.yul.test.yul_fuzzer.Expression arg2 = 3; |
5953 | 0 | total_size += 1 + |
5954 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
5955 | 0 | *_impl_.arg2_); |
5956 | 0 | } |
5957 | |
|
5958 | 0 | if (_internal_has_arg3()) { |
5959 | | // required .solidity.yul.test.yul_fuzzer.Expression arg3 = 4; |
5960 | 0 | total_size += 1 + |
5961 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
5962 | 0 | *_impl_.arg3_); |
5963 | 0 | } |
5964 | |
|
5965 | 0 | if (_internal_has_op()) { |
5966 | | // required .solidity.yul.test.yul_fuzzer.TernaryOp.TOp op = 1; |
5967 | 0 | total_size += 1 + |
5968 | 0 | ::_pbi::WireFormatLite::EnumSize(this->_internal_op()); |
5969 | 0 | } |
5970 | |
|
5971 | 0 | return total_size; |
5972 | 0 | } |
5973 | 42.8k | size_t TernaryOp::ByteSizeLong() const { |
5974 | | // @@protoc_insertion_point(message_byte_size_start:solidity.yul.test.yul_fuzzer.TernaryOp) |
5975 | 42.8k | size_t total_size = 0; |
5976 | | |
5977 | 42.8k | if (((_impl_._has_bits_[0] & 0x0000000f) ^ 0x0000000f) == 0) { // All required fields are present. |
5978 | | // required .solidity.yul.test.yul_fuzzer.Expression arg1 = 2; |
5979 | 42.8k | total_size += 1 + |
5980 | 42.8k | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
5981 | 42.8k | *_impl_.arg1_); |
5982 | | |
5983 | | // required .solidity.yul.test.yul_fuzzer.Expression arg2 = 3; |
5984 | 42.8k | total_size += 1 + |
5985 | 42.8k | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
5986 | 42.8k | *_impl_.arg2_); |
5987 | | |
5988 | | // required .solidity.yul.test.yul_fuzzer.Expression arg3 = 4; |
5989 | 42.8k | total_size += 1 + |
5990 | 42.8k | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
5991 | 42.8k | *_impl_.arg3_); |
5992 | | |
5993 | | // required .solidity.yul.test.yul_fuzzer.TernaryOp.TOp op = 1; |
5994 | 42.8k | total_size += 1 + |
5995 | 42.8k | ::_pbi::WireFormatLite::EnumSize(this->_internal_op()); |
5996 | | |
5997 | 42.8k | } else { |
5998 | 0 | total_size += RequiredFieldsByteSizeFallback(); |
5999 | 0 | } |
6000 | 42.8k | uint32_t cached_has_bits = 0; |
6001 | | // Prevent compiler warnings about cached_has_bits being unused |
6002 | 42.8k | (void) cached_has_bits; |
6003 | | |
6004 | 42.8k | return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); |
6005 | 42.8k | } |
6006 | | |
6007 | | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData TernaryOp::_class_data_ = { |
6008 | | ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, |
6009 | | TernaryOp::MergeImpl |
6010 | | }; |
6011 | 0 | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*TernaryOp::GetClassData() const { return &_class_data_; } |
6012 | | |
6013 | | |
6014 | 0 | void TernaryOp::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { |
6015 | 0 | auto* const _this = static_cast<TernaryOp*>(&to_msg); |
6016 | 0 | auto& from = static_cast<const TernaryOp&>(from_msg); |
6017 | | // @@protoc_insertion_point(class_specific_merge_from_start:solidity.yul.test.yul_fuzzer.TernaryOp) |
6018 | 0 | GOOGLE_DCHECK_NE(&from, _this); |
6019 | 0 | uint32_t cached_has_bits = 0; |
6020 | 0 | (void) cached_has_bits; |
6021 | |
|
6022 | 0 | cached_has_bits = from._impl_._has_bits_[0]; |
6023 | 0 | if (cached_has_bits & 0x0000000fu) { |
6024 | 0 | if (cached_has_bits & 0x00000001u) { |
6025 | 0 | _this->_internal_mutable_arg1()->::solidity::yul::test::yul_fuzzer::Expression::MergeFrom( |
6026 | 0 | from._internal_arg1()); |
6027 | 0 | } |
6028 | 0 | if (cached_has_bits & 0x00000002u) { |
6029 | 0 | _this->_internal_mutable_arg2()->::solidity::yul::test::yul_fuzzer::Expression::MergeFrom( |
6030 | 0 | from._internal_arg2()); |
6031 | 0 | } |
6032 | 0 | if (cached_has_bits & 0x00000004u) { |
6033 | 0 | _this->_internal_mutable_arg3()->::solidity::yul::test::yul_fuzzer::Expression::MergeFrom( |
6034 | 0 | from._internal_arg3()); |
6035 | 0 | } |
6036 | 0 | if (cached_has_bits & 0x00000008u) { |
6037 | 0 | _this->_impl_.op_ = from._impl_.op_; |
6038 | 0 | } |
6039 | 0 | _this->_impl_._has_bits_[0] |= cached_has_bits; |
6040 | 0 | } |
6041 | 0 | _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); |
6042 | 0 | } |
6043 | | |
6044 | 0 | void TernaryOp::CopyFrom(const TernaryOp& from) { |
6045 | | // @@protoc_insertion_point(class_specific_copy_from_start:solidity.yul.test.yul_fuzzer.TernaryOp) |
6046 | 0 | if (&from == this) return; |
6047 | 0 | Clear(); |
6048 | 0 | MergeFrom(from); |
6049 | 0 | } |
6050 | | |
6051 | 0 | bool TernaryOp::IsInitialized() const { |
6052 | 0 | if (_Internal::MissingRequiredFields(_impl_._has_bits_)) return false; |
6053 | 0 | if (_internal_has_arg1()) { |
6054 | 0 | if (!_impl_.arg1_->IsInitialized()) return false; |
6055 | 0 | } |
6056 | 0 | if (_internal_has_arg2()) { |
6057 | 0 | if (!_impl_.arg2_->IsInitialized()) return false; |
6058 | 0 | } |
6059 | 0 | if (_internal_has_arg3()) { |
6060 | 0 | if (!_impl_.arg3_->IsInitialized()) return false; |
6061 | 0 | } |
6062 | 0 | return true; |
6063 | 0 | } |
6064 | | |
6065 | 0 | void TernaryOp::InternalSwap(TernaryOp* other) { |
6066 | 0 | using std::swap; |
6067 | 0 | _internal_metadata_.InternalSwap(&other->_internal_metadata_); |
6068 | 0 | swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); |
6069 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::memswap< |
6070 | 0 | PROTOBUF_FIELD_OFFSET(TernaryOp, _impl_.op_) |
6071 | 0 | + sizeof(TernaryOp::_impl_.op_) |
6072 | 0 | - PROTOBUF_FIELD_OFFSET(TernaryOp, _impl_.arg1_)>( |
6073 | 0 | reinterpret_cast<char*>(&_impl_.arg1_), |
6074 | 0 | reinterpret_cast<char*>(&other->_impl_.arg1_)); |
6075 | 0 | } |
6076 | | |
6077 | 927k | ::PROTOBUF_NAMESPACE_ID::Metadata TernaryOp::GetMetadata() const { |
6078 | 927k | return ::_pbi::AssignDescriptors( |
6079 | 927k | &descriptor_table_yulProto_2eproto_getter, &descriptor_table_yulProto_2eproto_once, |
6080 | 927k | file_level_metadata_yulProto_2eproto[12]); |
6081 | 927k | } |
6082 | | |
6083 | | // =================================================================== |
6084 | | |
6085 | | class CopyFunc::_Internal { |
6086 | | public: |
6087 | | using HasBits = decltype(std::declval<CopyFunc>()._impl_._has_bits_); |
6088 | 0 | static void set_has_ct(HasBits* has_bits) { |
6089 | 0 | (*has_bits)[0] |= 8u; |
6090 | 0 | } |
6091 | | static const ::solidity::yul::test::yul_fuzzer::Expression& target(const CopyFunc* msg); |
6092 | 0 | static void set_has_target(HasBits* has_bits) { |
6093 | 0 | (*has_bits)[0] |= 1u; |
6094 | 0 | } |
6095 | | static const ::solidity::yul::test::yul_fuzzer::Expression& source(const CopyFunc* msg); |
6096 | 0 | static void set_has_source(HasBits* has_bits) { |
6097 | 0 | (*has_bits)[0] |= 2u; |
6098 | 0 | } |
6099 | | static const ::solidity::yul::test::yul_fuzzer::Expression& size(const CopyFunc* msg); |
6100 | 0 | static void set_has_size(HasBits* has_bits) { |
6101 | 0 | (*has_bits)[0] |= 4u; |
6102 | 0 | } |
6103 | 0 | static bool MissingRequiredFields(const HasBits& has_bits) { |
6104 | 0 | return ((has_bits[0] & 0x0000000f) ^ 0x0000000f) != 0; |
6105 | 0 | } |
6106 | | }; |
6107 | | |
6108 | | const ::solidity::yul::test::yul_fuzzer::Expression& |
6109 | 0 | CopyFunc::_Internal::target(const CopyFunc* msg) { |
6110 | 0 | return *msg->_impl_.target_; |
6111 | 0 | } |
6112 | | const ::solidity::yul::test::yul_fuzzer::Expression& |
6113 | 0 | CopyFunc::_Internal::source(const CopyFunc* msg) { |
6114 | 0 | return *msg->_impl_.source_; |
6115 | 0 | } |
6116 | | const ::solidity::yul::test::yul_fuzzer::Expression& |
6117 | 0 | CopyFunc::_Internal::size(const CopyFunc* msg) { |
6118 | 0 | return *msg->_impl_.size_; |
6119 | 0 | } |
6120 | | CopyFunc::CopyFunc(::PROTOBUF_NAMESPACE_ID::Arena* arena, |
6121 | | bool is_message_owned) |
6122 | 22.5k | : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { |
6123 | 22.5k | SharedCtor(arena, is_message_owned); |
6124 | | // @@protoc_insertion_point(arena_constructor:solidity.yul.test.yul_fuzzer.CopyFunc) |
6125 | 22.5k | } |
6126 | | CopyFunc::CopyFunc(const CopyFunc& from) |
6127 | 0 | : ::PROTOBUF_NAMESPACE_ID::Message() { |
6128 | 0 | CopyFunc* const _this = this; (void)_this; |
6129 | 0 | new (&_impl_) Impl_{ |
6130 | 0 | decltype(_impl_._has_bits_){from._impl_._has_bits_} |
6131 | 0 | , /*decltype(_impl_._cached_size_)*/{} |
6132 | 0 | , decltype(_impl_.target_){nullptr} |
6133 | 0 | , decltype(_impl_.source_){nullptr} |
6134 | 0 | , decltype(_impl_.size_){nullptr} |
6135 | 0 | , decltype(_impl_.ct_){}}; |
6136 | |
|
6137 | 0 | _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); |
6138 | 0 | if (from._internal_has_target()) { |
6139 | 0 | _this->_impl_.target_ = new ::solidity::yul::test::yul_fuzzer::Expression(*from._impl_.target_); |
6140 | 0 | } |
6141 | 0 | if (from._internal_has_source()) { |
6142 | 0 | _this->_impl_.source_ = new ::solidity::yul::test::yul_fuzzer::Expression(*from._impl_.source_); |
6143 | 0 | } |
6144 | 0 | if (from._internal_has_size()) { |
6145 | 0 | _this->_impl_.size_ = new ::solidity::yul::test::yul_fuzzer::Expression(*from._impl_.size_); |
6146 | 0 | } |
6147 | 0 | _this->_impl_.ct_ = from._impl_.ct_; |
6148 | | // @@protoc_insertion_point(copy_constructor:solidity.yul.test.yul_fuzzer.CopyFunc) |
6149 | 0 | } |
6150 | | |
6151 | | inline void CopyFunc::SharedCtor( |
6152 | 22.5k | ::_pb::Arena* arena, bool is_message_owned) { |
6153 | 22.5k | (void)arena; |
6154 | 22.5k | (void)is_message_owned; |
6155 | 22.5k | new (&_impl_) Impl_{ |
6156 | 22.5k | decltype(_impl_._has_bits_){} |
6157 | 22.5k | , /*decltype(_impl_._cached_size_)*/{} |
6158 | 22.5k | , decltype(_impl_.target_){nullptr} |
6159 | 22.5k | , decltype(_impl_.source_){nullptr} |
6160 | 22.5k | , decltype(_impl_.size_){nullptr} |
6161 | 22.5k | , decltype(_impl_.ct_){0} |
6162 | 22.5k | }; |
6163 | 22.5k | } |
6164 | | |
6165 | 22.5k | CopyFunc::~CopyFunc() { |
6166 | | // @@protoc_insertion_point(destructor:solidity.yul.test.yul_fuzzer.CopyFunc) |
6167 | 22.5k | if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { |
6168 | 0 | (void)arena; |
6169 | 0 | return; |
6170 | 0 | } |
6171 | 22.5k | SharedDtor(); |
6172 | 22.5k | } |
6173 | | |
6174 | 22.5k | inline void CopyFunc::SharedDtor() { |
6175 | 22.5k | GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); |
6176 | 22.5k | if (this != internal_default_instance()) delete _impl_.target_; |
6177 | 22.5k | if (this != internal_default_instance()) delete _impl_.source_; |
6178 | 22.5k | if (this != internal_default_instance()) delete _impl_.size_; |
6179 | 22.5k | } |
6180 | | |
6181 | 0 | void CopyFunc::SetCachedSize(int size) const { |
6182 | 0 | _impl_._cached_size_.Set(size); |
6183 | 0 | } |
6184 | | |
6185 | 0 | void CopyFunc::Clear() { |
6186 | | // @@protoc_insertion_point(message_clear_start:solidity.yul.test.yul_fuzzer.CopyFunc) |
6187 | 0 | uint32_t cached_has_bits = 0; |
6188 | | // Prevent compiler warnings about cached_has_bits being unused |
6189 | 0 | (void) cached_has_bits; |
6190 | |
|
6191 | 0 | cached_has_bits = _impl_._has_bits_[0]; |
6192 | 0 | if (cached_has_bits & 0x00000007u) { |
6193 | 0 | if (cached_has_bits & 0x00000001u) { |
6194 | 0 | GOOGLE_DCHECK(_impl_.target_ != nullptr); |
6195 | 0 | _impl_.target_->Clear(); |
6196 | 0 | } |
6197 | 0 | if (cached_has_bits & 0x00000002u) { |
6198 | 0 | GOOGLE_DCHECK(_impl_.source_ != nullptr); |
6199 | 0 | _impl_.source_->Clear(); |
6200 | 0 | } |
6201 | 0 | if (cached_has_bits & 0x00000004u) { |
6202 | 0 | GOOGLE_DCHECK(_impl_.size_ != nullptr); |
6203 | 0 | _impl_.size_->Clear(); |
6204 | 0 | } |
6205 | 0 | } |
6206 | 0 | _impl_.ct_ = 0; |
6207 | 0 | _impl_._has_bits_.Clear(); |
6208 | 0 | _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); |
6209 | 0 | } |
6210 | | |
6211 | 0 | const char* CopyFunc::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { |
6212 | 0 | #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure |
6213 | 0 | _Internal::HasBits has_bits{}; |
6214 | 0 | while (!ctx->Done(&ptr)) { |
6215 | 0 | uint32_t tag; |
6216 | 0 | ptr = ::_pbi::ReadTag(ptr, &tag); |
6217 | 0 | switch (tag >> 3) { |
6218 | | // required .solidity.yul.test.yul_fuzzer.CopyFunc.CopyType ct = 1; |
6219 | 0 | case 1: |
6220 | 0 | if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 8)) { |
6221 | 0 | uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); |
6222 | 0 | CHK_(ptr); |
6223 | 0 | if (PROTOBUF_PREDICT_TRUE(::solidity::yul::test::yul_fuzzer::CopyFunc_CopyType_IsValid(val))) { |
6224 | 0 | _internal_set_ct(static_cast<::solidity::yul::test::yul_fuzzer::CopyFunc_CopyType>(val)); |
6225 | 0 | } else { |
6226 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::WriteVarint(1, val, mutable_unknown_fields()); |
6227 | 0 | } |
6228 | 0 | } else |
6229 | 0 | goto handle_unusual; |
6230 | 0 | continue; |
6231 | | // required .solidity.yul.test.yul_fuzzer.Expression target = 2; |
6232 | 0 | case 2: |
6233 | 0 | if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 18)) { |
6234 | 0 | ptr = ctx->ParseMessage(_internal_mutable_target(), ptr); |
6235 | 0 | CHK_(ptr); |
6236 | 0 | } else |
6237 | 0 | goto handle_unusual; |
6238 | 0 | continue; |
6239 | | // required .solidity.yul.test.yul_fuzzer.Expression source = 3; |
6240 | 0 | case 3: |
6241 | 0 | if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 26)) { |
6242 | 0 | ptr = ctx->ParseMessage(_internal_mutable_source(), ptr); |
6243 | 0 | CHK_(ptr); |
6244 | 0 | } else |
6245 | 0 | goto handle_unusual; |
6246 | 0 | continue; |
6247 | | // required .solidity.yul.test.yul_fuzzer.Expression size = 4; |
6248 | 0 | case 4: |
6249 | 0 | if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 34)) { |
6250 | 0 | ptr = ctx->ParseMessage(_internal_mutable_size(), ptr); |
6251 | 0 | CHK_(ptr); |
6252 | 0 | } else |
6253 | 0 | goto handle_unusual; |
6254 | 0 | continue; |
6255 | 0 | default: |
6256 | 0 | goto handle_unusual; |
6257 | 0 | } // switch |
6258 | 0 | handle_unusual: |
6259 | 0 | if ((tag == 0) || ((tag & 7) == 4)) { |
6260 | 0 | CHK_(ptr); |
6261 | 0 | ctx->SetLastTag(tag); |
6262 | 0 | goto message_done; |
6263 | 0 | } |
6264 | 0 | ptr = UnknownFieldParse( |
6265 | 0 | tag, |
6266 | 0 | _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), |
6267 | 0 | ptr, ctx); |
6268 | 0 | CHK_(ptr != nullptr); |
6269 | 0 | } // while |
6270 | 0 | message_done: |
6271 | 0 | _impl_._has_bits_.Or(has_bits); |
6272 | 0 | return ptr; |
6273 | 0 | failure: |
6274 | 0 | ptr = nullptr; |
6275 | 0 | goto message_done; |
6276 | 0 | #undef CHK_ |
6277 | 0 | } |
6278 | | |
6279 | | uint8_t* CopyFunc::_InternalSerialize( |
6280 | 0 | uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { |
6281 | | // @@protoc_insertion_point(serialize_to_array_start:solidity.yul.test.yul_fuzzer.CopyFunc) |
6282 | 0 | uint32_t cached_has_bits = 0; |
6283 | 0 | (void) cached_has_bits; |
6284 | |
|
6285 | 0 | cached_has_bits = _impl_._has_bits_[0]; |
6286 | | // required .solidity.yul.test.yul_fuzzer.CopyFunc.CopyType ct = 1; |
6287 | 0 | if (cached_has_bits & 0x00000008u) { |
6288 | 0 | target = stream->EnsureSpace(target); |
6289 | 0 | target = ::_pbi::WireFormatLite::WriteEnumToArray( |
6290 | 0 | 1, this->_internal_ct(), target); |
6291 | 0 | } |
6292 | | |
6293 | | // required .solidity.yul.test.yul_fuzzer.Expression target = 2; |
6294 | 0 | if (cached_has_bits & 0x00000001u) { |
6295 | 0 | target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: |
6296 | 0 | InternalWriteMessage(2, _Internal::target(this), |
6297 | 0 | _Internal::target(this).GetCachedSize(), target, stream); |
6298 | 0 | } |
6299 | | |
6300 | | // required .solidity.yul.test.yul_fuzzer.Expression source = 3; |
6301 | 0 | if (cached_has_bits & 0x00000002u) { |
6302 | 0 | target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: |
6303 | 0 | InternalWriteMessage(3, _Internal::source(this), |
6304 | 0 | _Internal::source(this).GetCachedSize(), target, stream); |
6305 | 0 | } |
6306 | | |
6307 | | // required .solidity.yul.test.yul_fuzzer.Expression size = 4; |
6308 | 0 | if (cached_has_bits & 0x00000004u) { |
6309 | 0 | target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: |
6310 | 0 | InternalWriteMessage(4, _Internal::size(this), |
6311 | 0 | _Internal::size(this).GetCachedSize(), target, stream); |
6312 | 0 | } |
6313 | |
|
6314 | 0 | if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { |
6315 | 0 | target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( |
6316 | 0 | _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); |
6317 | 0 | } |
6318 | | // @@protoc_insertion_point(serialize_to_array_end:solidity.yul.test.yul_fuzzer.CopyFunc) |
6319 | 0 | return target; |
6320 | 0 | } |
6321 | | |
6322 | 0 | size_t CopyFunc::RequiredFieldsByteSizeFallback() const { |
6323 | | // @@protoc_insertion_point(required_fields_byte_size_fallback_start:solidity.yul.test.yul_fuzzer.CopyFunc) |
6324 | 0 | size_t total_size = 0; |
6325 | |
|
6326 | 0 | if (_internal_has_target()) { |
6327 | | // required .solidity.yul.test.yul_fuzzer.Expression target = 2; |
6328 | 0 | total_size += 1 + |
6329 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
6330 | 0 | *_impl_.target_); |
6331 | 0 | } |
6332 | |
|
6333 | 0 | if (_internal_has_source()) { |
6334 | | // required .solidity.yul.test.yul_fuzzer.Expression source = 3; |
6335 | 0 | total_size += 1 + |
6336 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
6337 | 0 | *_impl_.source_); |
6338 | 0 | } |
6339 | |
|
6340 | 0 | if (_internal_has_size()) { |
6341 | | // required .solidity.yul.test.yul_fuzzer.Expression size = 4; |
6342 | 0 | total_size += 1 + |
6343 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
6344 | 0 | *_impl_.size_); |
6345 | 0 | } |
6346 | |
|
6347 | 0 | if (_internal_has_ct()) { |
6348 | | // required .solidity.yul.test.yul_fuzzer.CopyFunc.CopyType ct = 1; |
6349 | 0 | total_size += 1 + |
6350 | 0 | ::_pbi::WireFormatLite::EnumSize(this->_internal_ct()); |
6351 | 0 | } |
6352 | |
|
6353 | 0 | return total_size; |
6354 | 0 | } |
6355 | 15.4k | size_t CopyFunc::ByteSizeLong() const { |
6356 | | // @@protoc_insertion_point(message_byte_size_start:solidity.yul.test.yul_fuzzer.CopyFunc) |
6357 | 15.4k | size_t total_size = 0; |
6358 | | |
6359 | 15.4k | if (((_impl_._has_bits_[0] & 0x0000000f) ^ 0x0000000f) == 0) { // All required fields are present. |
6360 | | // required .solidity.yul.test.yul_fuzzer.Expression target = 2; |
6361 | 15.4k | total_size += 1 + |
6362 | 15.4k | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
6363 | 15.4k | *_impl_.target_); |
6364 | | |
6365 | | // required .solidity.yul.test.yul_fuzzer.Expression source = 3; |
6366 | 15.4k | total_size += 1 + |
6367 | 15.4k | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
6368 | 15.4k | *_impl_.source_); |
6369 | | |
6370 | | // required .solidity.yul.test.yul_fuzzer.Expression size = 4; |
6371 | 15.4k | total_size += 1 + |
6372 | 15.4k | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
6373 | 15.4k | *_impl_.size_); |
6374 | | |
6375 | | // required .solidity.yul.test.yul_fuzzer.CopyFunc.CopyType ct = 1; |
6376 | 15.4k | total_size += 1 + |
6377 | 15.4k | ::_pbi::WireFormatLite::EnumSize(this->_internal_ct()); |
6378 | | |
6379 | 15.4k | } else { |
6380 | 0 | total_size += RequiredFieldsByteSizeFallback(); |
6381 | 0 | } |
6382 | 15.4k | uint32_t cached_has_bits = 0; |
6383 | | // Prevent compiler warnings about cached_has_bits being unused |
6384 | 15.4k | (void) cached_has_bits; |
6385 | | |
6386 | 15.4k | return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); |
6387 | 15.4k | } |
6388 | | |
6389 | | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CopyFunc::_class_data_ = { |
6390 | | ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, |
6391 | | CopyFunc::MergeImpl |
6392 | | }; |
6393 | 0 | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CopyFunc::GetClassData() const { return &_class_data_; } |
6394 | | |
6395 | | |
6396 | 0 | void CopyFunc::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { |
6397 | 0 | auto* const _this = static_cast<CopyFunc*>(&to_msg); |
6398 | 0 | auto& from = static_cast<const CopyFunc&>(from_msg); |
6399 | | // @@protoc_insertion_point(class_specific_merge_from_start:solidity.yul.test.yul_fuzzer.CopyFunc) |
6400 | 0 | GOOGLE_DCHECK_NE(&from, _this); |
6401 | 0 | uint32_t cached_has_bits = 0; |
6402 | 0 | (void) cached_has_bits; |
6403 | |
|
6404 | 0 | cached_has_bits = from._impl_._has_bits_[0]; |
6405 | 0 | if (cached_has_bits & 0x0000000fu) { |
6406 | 0 | if (cached_has_bits & 0x00000001u) { |
6407 | 0 | _this->_internal_mutable_target()->::solidity::yul::test::yul_fuzzer::Expression::MergeFrom( |
6408 | 0 | from._internal_target()); |
6409 | 0 | } |
6410 | 0 | if (cached_has_bits & 0x00000002u) { |
6411 | 0 | _this->_internal_mutable_source()->::solidity::yul::test::yul_fuzzer::Expression::MergeFrom( |
6412 | 0 | from._internal_source()); |
6413 | 0 | } |
6414 | 0 | if (cached_has_bits & 0x00000004u) { |
6415 | 0 | _this->_internal_mutable_size()->::solidity::yul::test::yul_fuzzer::Expression::MergeFrom( |
6416 | 0 | from._internal_size()); |
6417 | 0 | } |
6418 | 0 | if (cached_has_bits & 0x00000008u) { |
6419 | 0 | _this->_impl_.ct_ = from._impl_.ct_; |
6420 | 0 | } |
6421 | 0 | _this->_impl_._has_bits_[0] |= cached_has_bits; |
6422 | 0 | } |
6423 | 0 | _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); |
6424 | 0 | } |
6425 | | |
6426 | 0 | void CopyFunc::CopyFrom(const CopyFunc& from) { |
6427 | | // @@protoc_insertion_point(class_specific_copy_from_start:solidity.yul.test.yul_fuzzer.CopyFunc) |
6428 | 0 | if (&from == this) return; |
6429 | 0 | Clear(); |
6430 | 0 | MergeFrom(from); |
6431 | 0 | } |
6432 | | |
6433 | 0 | bool CopyFunc::IsInitialized() const { |
6434 | 0 | if (_Internal::MissingRequiredFields(_impl_._has_bits_)) return false; |
6435 | 0 | if (_internal_has_target()) { |
6436 | 0 | if (!_impl_.target_->IsInitialized()) return false; |
6437 | 0 | } |
6438 | 0 | if (_internal_has_source()) { |
6439 | 0 | if (!_impl_.source_->IsInitialized()) return false; |
6440 | 0 | } |
6441 | 0 | if (_internal_has_size()) { |
6442 | 0 | if (!_impl_.size_->IsInitialized()) return false; |
6443 | 0 | } |
6444 | 0 | return true; |
6445 | 0 | } |
6446 | | |
6447 | 0 | void CopyFunc::InternalSwap(CopyFunc* other) { |
6448 | 0 | using std::swap; |
6449 | 0 | _internal_metadata_.InternalSwap(&other->_internal_metadata_); |
6450 | 0 | swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); |
6451 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::memswap< |
6452 | 0 | PROTOBUF_FIELD_OFFSET(CopyFunc, _impl_.ct_) |
6453 | 0 | + sizeof(CopyFunc::_impl_.ct_) |
6454 | 0 | - PROTOBUF_FIELD_OFFSET(CopyFunc, _impl_.target_)>( |
6455 | 0 | reinterpret_cast<char*>(&_impl_.target_), |
6456 | 0 | reinterpret_cast<char*>(&other->_impl_.target_)); |
6457 | 0 | } |
6458 | | |
6459 | 400k | ::PROTOBUF_NAMESPACE_ID::Metadata CopyFunc::GetMetadata() const { |
6460 | 400k | return ::_pbi::AssignDescriptors( |
6461 | 400k | &descriptor_table_yulProto_2eproto_getter, &descriptor_table_yulProto_2eproto_once, |
6462 | 400k | file_level_metadata_yulProto_2eproto[13]); |
6463 | 400k | } |
6464 | | |
6465 | | // =================================================================== |
6466 | | |
6467 | | class ExtCodeCopy::_Internal { |
6468 | | public: |
6469 | | using HasBits = decltype(std::declval<ExtCodeCopy>()._impl_._has_bits_); |
6470 | | static const ::solidity::yul::test::yul_fuzzer::Expression& addr(const ExtCodeCopy* msg); |
6471 | 0 | static void set_has_addr(HasBits* has_bits) { |
6472 | 0 | (*has_bits)[0] |= 1u; |
6473 | 0 | } |
6474 | | static const ::solidity::yul::test::yul_fuzzer::Expression& target(const ExtCodeCopy* msg); |
6475 | 0 | static void set_has_target(HasBits* has_bits) { |
6476 | 0 | (*has_bits)[0] |= 2u; |
6477 | 0 | } |
6478 | | static const ::solidity::yul::test::yul_fuzzer::Expression& source(const ExtCodeCopy* msg); |
6479 | 0 | static void set_has_source(HasBits* has_bits) { |
6480 | 0 | (*has_bits)[0] |= 4u; |
6481 | 0 | } |
6482 | | static const ::solidity::yul::test::yul_fuzzer::Expression& size(const ExtCodeCopy* msg); |
6483 | 0 | static void set_has_size(HasBits* has_bits) { |
6484 | 0 | (*has_bits)[0] |= 8u; |
6485 | 0 | } |
6486 | 0 | static bool MissingRequiredFields(const HasBits& has_bits) { |
6487 | 0 | return ((has_bits[0] & 0x0000000f) ^ 0x0000000f) != 0; |
6488 | 0 | } |
6489 | | }; |
6490 | | |
6491 | | const ::solidity::yul::test::yul_fuzzer::Expression& |
6492 | 0 | ExtCodeCopy::_Internal::addr(const ExtCodeCopy* msg) { |
6493 | 0 | return *msg->_impl_.addr_; |
6494 | 0 | } |
6495 | | const ::solidity::yul::test::yul_fuzzer::Expression& |
6496 | 0 | ExtCodeCopy::_Internal::target(const ExtCodeCopy* msg) { |
6497 | 0 | return *msg->_impl_.target_; |
6498 | 0 | } |
6499 | | const ::solidity::yul::test::yul_fuzzer::Expression& |
6500 | 0 | ExtCodeCopy::_Internal::source(const ExtCodeCopy* msg) { |
6501 | 0 | return *msg->_impl_.source_; |
6502 | 0 | } |
6503 | | const ::solidity::yul::test::yul_fuzzer::Expression& |
6504 | 0 | ExtCodeCopy::_Internal::size(const ExtCodeCopy* msg) { |
6505 | 0 | return *msg->_impl_.size_; |
6506 | 0 | } |
6507 | | ExtCodeCopy::ExtCodeCopy(::PROTOBUF_NAMESPACE_ID::Arena* arena, |
6508 | | bool is_message_owned) |
6509 | 28.6k | : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { |
6510 | 28.6k | SharedCtor(arena, is_message_owned); |
6511 | | // @@protoc_insertion_point(arena_constructor:solidity.yul.test.yul_fuzzer.ExtCodeCopy) |
6512 | 28.6k | } |
6513 | | ExtCodeCopy::ExtCodeCopy(const ExtCodeCopy& from) |
6514 | 0 | : ::PROTOBUF_NAMESPACE_ID::Message() { |
6515 | 0 | ExtCodeCopy* const _this = this; (void)_this; |
6516 | 0 | new (&_impl_) Impl_{ |
6517 | 0 | decltype(_impl_._has_bits_){from._impl_._has_bits_} |
6518 | 0 | , /*decltype(_impl_._cached_size_)*/{} |
6519 | 0 | , decltype(_impl_.addr_){nullptr} |
6520 | 0 | , decltype(_impl_.target_){nullptr} |
6521 | 0 | , decltype(_impl_.source_){nullptr} |
6522 | 0 | , decltype(_impl_.size_){nullptr}}; |
6523 | |
|
6524 | 0 | _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); |
6525 | 0 | if (from._internal_has_addr()) { |
6526 | 0 | _this->_impl_.addr_ = new ::solidity::yul::test::yul_fuzzer::Expression(*from._impl_.addr_); |
6527 | 0 | } |
6528 | 0 | if (from._internal_has_target()) { |
6529 | 0 | _this->_impl_.target_ = new ::solidity::yul::test::yul_fuzzer::Expression(*from._impl_.target_); |
6530 | 0 | } |
6531 | 0 | if (from._internal_has_source()) { |
6532 | 0 | _this->_impl_.source_ = new ::solidity::yul::test::yul_fuzzer::Expression(*from._impl_.source_); |
6533 | 0 | } |
6534 | 0 | if (from._internal_has_size()) { |
6535 | 0 | _this->_impl_.size_ = new ::solidity::yul::test::yul_fuzzer::Expression(*from._impl_.size_); |
6536 | 0 | } |
6537 | | // @@protoc_insertion_point(copy_constructor:solidity.yul.test.yul_fuzzer.ExtCodeCopy) |
6538 | 0 | } |
6539 | | |
6540 | | inline void ExtCodeCopy::SharedCtor( |
6541 | 28.6k | ::_pb::Arena* arena, bool is_message_owned) { |
6542 | 28.6k | (void)arena; |
6543 | 28.6k | (void)is_message_owned; |
6544 | 28.6k | new (&_impl_) Impl_{ |
6545 | 28.6k | decltype(_impl_._has_bits_){} |
6546 | 28.6k | , /*decltype(_impl_._cached_size_)*/{} |
6547 | 28.6k | , decltype(_impl_.addr_){nullptr} |
6548 | 28.6k | , decltype(_impl_.target_){nullptr} |
6549 | 28.6k | , decltype(_impl_.source_){nullptr} |
6550 | 28.6k | , decltype(_impl_.size_){nullptr} |
6551 | 28.6k | }; |
6552 | 28.6k | } |
6553 | | |
6554 | 28.6k | ExtCodeCopy::~ExtCodeCopy() { |
6555 | | // @@protoc_insertion_point(destructor:solidity.yul.test.yul_fuzzer.ExtCodeCopy) |
6556 | 28.6k | if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { |
6557 | 0 | (void)arena; |
6558 | 0 | return; |
6559 | 0 | } |
6560 | 28.6k | SharedDtor(); |
6561 | 28.6k | } |
6562 | | |
6563 | 28.6k | inline void ExtCodeCopy::SharedDtor() { |
6564 | 28.6k | GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); |
6565 | 28.6k | if (this != internal_default_instance()) delete _impl_.addr_; |
6566 | 28.6k | if (this != internal_default_instance()) delete _impl_.target_; |
6567 | 28.6k | if (this != internal_default_instance()) delete _impl_.source_; |
6568 | 28.6k | if (this != internal_default_instance()) delete _impl_.size_; |
6569 | 28.6k | } |
6570 | | |
6571 | 0 | void ExtCodeCopy::SetCachedSize(int size) const { |
6572 | 0 | _impl_._cached_size_.Set(size); |
6573 | 0 | } |
6574 | | |
6575 | 0 | void ExtCodeCopy::Clear() { |
6576 | | // @@protoc_insertion_point(message_clear_start:solidity.yul.test.yul_fuzzer.ExtCodeCopy) |
6577 | 0 | uint32_t cached_has_bits = 0; |
6578 | | // Prevent compiler warnings about cached_has_bits being unused |
6579 | 0 | (void) cached_has_bits; |
6580 | |
|
6581 | 0 | cached_has_bits = _impl_._has_bits_[0]; |
6582 | 0 | if (cached_has_bits & 0x0000000fu) { |
6583 | 0 | if (cached_has_bits & 0x00000001u) { |
6584 | 0 | GOOGLE_DCHECK(_impl_.addr_ != nullptr); |
6585 | 0 | _impl_.addr_->Clear(); |
6586 | 0 | } |
6587 | 0 | if (cached_has_bits & 0x00000002u) { |
6588 | 0 | GOOGLE_DCHECK(_impl_.target_ != nullptr); |
6589 | 0 | _impl_.target_->Clear(); |
6590 | 0 | } |
6591 | 0 | if (cached_has_bits & 0x00000004u) { |
6592 | 0 | GOOGLE_DCHECK(_impl_.source_ != nullptr); |
6593 | 0 | _impl_.source_->Clear(); |
6594 | 0 | } |
6595 | 0 | if (cached_has_bits & 0x00000008u) { |
6596 | 0 | GOOGLE_DCHECK(_impl_.size_ != nullptr); |
6597 | 0 | _impl_.size_->Clear(); |
6598 | 0 | } |
6599 | 0 | } |
6600 | 0 | _impl_._has_bits_.Clear(); |
6601 | 0 | _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); |
6602 | 0 | } |
6603 | | |
6604 | 0 | const char* ExtCodeCopy::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { |
6605 | 0 | #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure |
6606 | 0 | _Internal::HasBits has_bits{}; |
6607 | 0 | while (!ctx->Done(&ptr)) { |
6608 | 0 | uint32_t tag; |
6609 | 0 | ptr = ::_pbi::ReadTag(ptr, &tag); |
6610 | 0 | switch (tag >> 3) { |
6611 | | // required .solidity.yul.test.yul_fuzzer.Expression addr = 1; |
6612 | 0 | case 1: |
6613 | 0 | if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 10)) { |
6614 | 0 | ptr = ctx->ParseMessage(_internal_mutable_addr(), ptr); |
6615 | 0 | CHK_(ptr); |
6616 | 0 | } else |
6617 | 0 | goto handle_unusual; |
6618 | 0 | continue; |
6619 | | // required .solidity.yul.test.yul_fuzzer.Expression target = 2; |
6620 | 0 | case 2: |
6621 | 0 | if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 18)) { |
6622 | 0 | ptr = ctx->ParseMessage(_internal_mutable_target(), ptr); |
6623 | 0 | CHK_(ptr); |
6624 | 0 | } else |
6625 | 0 | goto handle_unusual; |
6626 | 0 | continue; |
6627 | | // required .solidity.yul.test.yul_fuzzer.Expression source = 3; |
6628 | 0 | case 3: |
6629 | 0 | if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 26)) { |
6630 | 0 | ptr = ctx->ParseMessage(_internal_mutable_source(), ptr); |
6631 | 0 | CHK_(ptr); |
6632 | 0 | } else |
6633 | 0 | goto handle_unusual; |
6634 | 0 | continue; |
6635 | | // required .solidity.yul.test.yul_fuzzer.Expression size = 4; |
6636 | 0 | case 4: |
6637 | 0 | if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 34)) { |
6638 | 0 | ptr = ctx->ParseMessage(_internal_mutable_size(), ptr); |
6639 | 0 | CHK_(ptr); |
6640 | 0 | } else |
6641 | 0 | goto handle_unusual; |
6642 | 0 | continue; |
6643 | 0 | default: |
6644 | 0 | goto handle_unusual; |
6645 | 0 | } // switch |
6646 | 0 | handle_unusual: |
6647 | 0 | if ((tag == 0) || ((tag & 7) == 4)) { |
6648 | 0 | CHK_(ptr); |
6649 | 0 | ctx->SetLastTag(tag); |
6650 | 0 | goto message_done; |
6651 | 0 | } |
6652 | 0 | ptr = UnknownFieldParse( |
6653 | 0 | tag, |
6654 | 0 | _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), |
6655 | 0 | ptr, ctx); |
6656 | 0 | CHK_(ptr != nullptr); |
6657 | 0 | } // while |
6658 | 0 | message_done: |
6659 | 0 | _impl_._has_bits_.Or(has_bits); |
6660 | 0 | return ptr; |
6661 | 0 | failure: |
6662 | 0 | ptr = nullptr; |
6663 | 0 | goto message_done; |
6664 | 0 | #undef CHK_ |
6665 | 0 | } |
6666 | | |
6667 | | uint8_t* ExtCodeCopy::_InternalSerialize( |
6668 | 0 | uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { |
6669 | | // @@protoc_insertion_point(serialize_to_array_start:solidity.yul.test.yul_fuzzer.ExtCodeCopy) |
6670 | 0 | uint32_t cached_has_bits = 0; |
6671 | 0 | (void) cached_has_bits; |
6672 | |
|
6673 | 0 | cached_has_bits = _impl_._has_bits_[0]; |
6674 | | // required .solidity.yul.test.yul_fuzzer.Expression addr = 1; |
6675 | 0 | if (cached_has_bits & 0x00000001u) { |
6676 | 0 | target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: |
6677 | 0 | InternalWriteMessage(1, _Internal::addr(this), |
6678 | 0 | _Internal::addr(this).GetCachedSize(), target, stream); |
6679 | 0 | } |
6680 | | |
6681 | | // required .solidity.yul.test.yul_fuzzer.Expression target = 2; |
6682 | 0 | if (cached_has_bits & 0x00000002u) { |
6683 | 0 | target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: |
6684 | 0 | InternalWriteMessage(2, _Internal::target(this), |
6685 | 0 | _Internal::target(this).GetCachedSize(), target, stream); |
6686 | 0 | } |
6687 | | |
6688 | | // required .solidity.yul.test.yul_fuzzer.Expression source = 3; |
6689 | 0 | if (cached_has_bits & 0x00000004u) { |
6690 | 0 | target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: |
6691 | 0 | InternalWriteMessage(3, _Internal::source(this), |
6692 | 0 | _Internal::source(this).GetCachedSize(), target, stream); |
6693 | 0 | } |
6694 | | |
6695 | | // required .solidity.yul.test.yul_fuzzer.Expression size = 4; |
6696 | 0 | if (cached_has_bits & 0x00000008u) { |
6697 | 0 | target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: |
6698 | 0 | InternalWriteMessage(4, _Internal::size(this), |
6699 | 0 | _Internal::size(this).GetCachedSize(), target, stream); |
6700 | 0 | } |
6701 | |
|
6702 | 0 | if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { |
6703 | 0 | target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( |
6704 | 0 | _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); |
6705 | 0 | } |
6706 | | // @@protoc_insertion_point(serialize_to_array_end:solidity.yul.test.yul_fuzzer.ExtCodeCopy) |
6707 | 0 | return target; |
6708 | 0 | } |
6709 | | |
6710 | 0 | size_t ExtCodeCopy::RequiredFieldsByteSizeFallback() const { |
6711 | | // @@protoc_insertion_point(required_fields_byte_size_fallback_start:solidity.yul.test.yul_fuzzer.ExtCodeCopy) |
6712 | 0 | size_t total_size = 0; |
6713 | |
|
6714 | 0 | if (_internal_has_addr()) { |
6715 | | // required .solidity.yul.test.yul_fuzzer.Expression addr = 1; |
6716 | 0 | total_size += 1 + |
6717 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
6718 | 0 | *_impl_.addr_); |
6719 | 0 | } |
6720 | |
|
6721 | 0 | if (_internal_has_target()) { |
6722 | | // required .solidity.yul.test.yul_fuzzer.Expression target = 2; |
6723 | 0 | total_size += 1 + |
6724 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
6725 | 0 | *_impl_.target_); |
6726 | 0 | } |
6727 | |
|
6728 | 0 | if (_internal_has_source()) { |
6729 | | // required .solidity.yul.test.yul_fuzzer.Expression source = 3; |
6730 | 0 | total_size += 1 + |
6731 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
6732 | 0 | *_impl_.source_); |
6733 | 0 | } |
6734 | |
|
6735 | 0 | if (_internal_has_size()) { |
6736 | | // required .solidity.yul.test.yul_fuzzer.Expression size = 4; |
6737 | 0 | total_size += 1 + |
6738 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
6739 | 0 | *_impl_.size_); |
6740 | 0 | } |
6741 | |
|
6742 | 0 | return total_size; |
6743 | 0 | } |
6744 | 21.2k | size_t ExtCodeCopy::ByteSizeLong() const { |
6745 | | // @@protoc_insertion_point(message_byte_size_start:solidity.yul.test.yul_fuzzer.ExtCodeCopy) |
6746 | 21.2k | size_t total_size = 0; |
6747 | | |
6748 | 21.2k | if (((_impl_._has_bits_[0] & 0x0000000f) ^ 0x0000000f) == 0) { // All required fields are present. |
6749 | | // required .solidity.yul.test.yul_fuzzer.Expression addr = 1; |
6750 | 21.2k | total_size += 1 + |
6751 | 21.2k | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
6752 | 21.2k | *_impl_.addr_); |
6753 | | |
6754 | | // required .solidity.yul.test.yul_fuzzer.Expression target = 2; |
6755 | 21.2k | total_size += 1 + |
6756 | 21.2k | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
6757 | 21.2k | *_impl_.target_); |
6758 | | |
6759 | | // required .solidity.yul.test.yul_fuzzer.Expression source = 3; |
6760 | 21.2k | total_size += 1 + |
6761 | 21.2k | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
6762 | 21.2k | *_impl_.source_); |
6763 | | |
6764 | | // required .solidity.yul.test.yul_fuzzer.Expression size = 4; |
6765 | 21.2k | total_size += 1 + |
6766 | 21.2k | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
6767 | 21.2k | *_impl_.size_); |
6768 | | |
6769 | 21.2k | } else { |
6770 | 0 | total_size += RequiredFieldsByteSizeFallback(); |
6771 | 0 | } |
6772 | 21.2k | uint32_t cached_has_bits = 0; |
6773 | | // Prevent compiler warnings about cached_has_bits being unused |
6774 | 21.2k | (void) cached_has_bits; |
6775 | | |
6776 | 21.2k | return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); |
6777 | 21.2k | } |
6778 | | |
6779 | | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData ExtCodeCopy::_class_data_ = { |
6780 | | ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, |
6781 | | ExtCodeCopy::MergeImpl |
6782 | | }; |
6783 | 0 | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*ExtCodeCopy::GetClassData() const { return &_class_data_; } |
6784 | | |
6785 | | |
6786 | 0 | void ExtCodeCopy::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { |
6787 | 0 | auto* const _this = static_cast<ExtCodeCopy*>(&to_msg); |
6788 | 0 | auto& from = static_cast<const ExtCodeCopy&>(from_msg); |
6789 | | // @@protoc_insertion_point(class_specific_merge_from_start:solidity.yul.test.yul_fuzzer.ExtCodeCopy) |
6790 | 0 | GOOGLE_DCHECK_NE(&from, _this); |
6791 | 0 | uint32_t cached_has_bits = 0; |
6792 | 0 | (void) cached_has_bits; |
6793 | |
|
6794 | 0 | cached_has_bits = from._impl_._has_bits_[0]; |
6795 | 0 | if (cached_has_bits & 0x0000000fu) { |
6796 | 0 | if (cached_has_bits & 0x00000001u) { |
6797 | 0 | _this->_internal_mutable_addr()->::solidity::yul::test::yul_fuzzer::Expression::MergeFrom( |
6798 | 0 | from._internal_addr()); |
6799 | 0 | } |
6800 | 0 | if (cached_has_bits & 0x00000002u) { |
6801 | 0 | _this->_internal_mutable_target()->::solidity::yul::test::yul_fuzzer::Expression::MergeFrom( |
6802 | 0 | from._internal_target()); |
6803 | 0 | } |
6804 | 0 | if (cached_has_bits & 0x00000004u) { |
6805 | 0 | _this->_internal_mutable_source()->::solidity::yul::test::yul_fuzzer::Expression::MergeFrom( |
6806 | 0 | from._internal_source()); |
6807 | 0 | } |
6808 | 0 | if (cached_has_bits & 0x00000008u) { |
6809 | 0 | _this->_internal_mutable_size()->::solidity::yul::test::yul_fuzzer::Expression::MergeFrom( |
6810 | 0 | from._internal_size()); |
6811 | 0 | } |
6812 | 0 | } |
6813 | 0 | _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); |
6814 | 0 | } |
6815 | | |
6816 | 0 | void ExtCodeCopy::CopyFrom(const ExtCodeCopy& from) { |
6817 | | // @@protoc_insertion_point(class_specific_copy_from_start:solidity.yul.test.yul_fuzzer.ExtCodeCopy) |
6818 | 0 | if (&from == this) return; |
6819 | 0 | Clear(); |
6820 | 0 | MergeFrom(from); |
6821 | 0 | } |
6822 | | |
6823 | 0 | bool ExtCodeCopy::IsInitialized() const { |
6824 | 0 | if (_Internal::MissingRequiredFields(_impl_._has_bits_)) return false; |
6825 | 0 | if (_internal_has_addr()) { |
6826 | 0 | if (!_impl_.addr_->IsInitialized()) return false; |
6827 | 0 | } |
6828 | 0 | if (_internal_has_target()) { |
6829 | 0 | if (!_impl_.target_->IsInitialized()) return false; |
6830 | 0 | } |
6831 | 0 | if (_internal_has_source()) { |
6832 | 0 | if (!_impl_.source_->IsInitialized()) return false; |
6833 | 0 | } |
6834 | 0 | if (_internal_has_size()) { |
6835 | 0 | if (!_impl_.size_->IsInitialized()) return false; |
6836 | 0 | } |
6837 | 0 | return true; |
6838 | 0 | } |
6839 | | |
6840 | 0 | void ExtCodeCopy::InternalSwap(ExtCodeCopy* other) { |
6841 | 0 | using std::swap; |
6842 | 0 | _internal_metadata_.InternalSwap(&other->_internal_metadata_); |
6843 | 0 | swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); |
6844 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::memswap< |
6845 | 0 | PROTOBUF_FIELD_OFFSET(ExtCodeCopy, _impl_.size_) |
6846 | 0 | + sizeof(ExtCodeCopy::_impl_.size_) |
6847 | 0 | - PROTOBUF_FIELD_OFFSET(ExtCodeCopy, _impl_.addr_)>( |
6848 | 0 | reinterpret_cast<char*>(&_impl_.addr_), |
6849 | 0 | reinterpret_cast<char*>(&other->_impl_.addr_)); |
6850 | 0 | } |
6851 | | |
6852 | 610k | ::PROTOBUF_NAMESPACE_ID::Metadata ExtCodeCopy::GetMetadata() const { |
6853 | 610k | return ::_pbi::AssignDescriptors( |
6854 | 610k | &descriptor_table_yulProto_2eproto_getter, &descriptor_table_yulProto_2eproto_once, |
6855 | 610k | file_level_metadata_yulProto_2eproto[14]); |
6856 | 610k | } |
6857 | | |
6858 | | // =================================================================== |
6859 | | |
6860 | | class NullaryOp::_Internal { |
6861 | | public: |
6862 | | using HasBits = decltype(std::declval<NullaryOp>()._impl_._has_bits_); |
6863 | 0 | static void set_has_op(HasBits* has_bits) { |
6864 | 0 | (*has_bits)[0] |= 1u; |
6865 | 0 | } |
6866 | 0 | static bool MissingRequiredFields(const HasBits& has_bits) { |
6867 | 0 | return ((has_bits[0] & 0x00000001) ^ 0x00000001) != 0; |
6868 | 0 | } |
6869 | | }; |
6870 | | |
6871 | | NullaryOp::NullaryOp(::PROTOBUF_NAMESPACE_ID::Arena* arena, |
6872 | | bool is_message_owned) |
6873 | 97.1k | : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { |
6874 | 97.1k | SharedCtor(arena, is_message_owned); |
6875 | | // @@protoc_insertion_point(arena_constructor:solidity.yul.test.yul_fuzzer.NullaryOp) |
6876 | 97.1k | } |
6877 | | NullaryOp::NullaryOp(const NullaryOp& from) |
6878 | 0 | : ::PROTOBUF_NAMESPACE_ID::Message() { |
6879 | 0 | NullaryOp* const _this = this; (void)_this; |
6880 | 0 | new (&_impl_) Impl_{ |
6881 | 0 | decltype(_impl_._has_bits_){from._impl_._has_bits_} |
6882 | 0 | , /*decltype(_impl_._cached_size_)*/{} |
6883 | 0 | , decltype(_impl_.op_){}}; |
6884 | |
|
6885 | 0 | _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); |
6886 | 0 | _this->_impl_.op_ = from._impl_.op_; |
6887 | | // @@protoc_insertion_point(copy_constructor:solidity.yul.test.yul_fuzzer.NullaryOp) |
6888 | 0 | } |
6889 | | |
6890 | | inline void NullaryOp::SharedCtor( |
6891 | 97.1k | ::_pb::Arena* arena, bool is_message_owned) { |
6892 | 97.1k | (void)arena; |
6893 | 97.1k | (void)is_message_owned; |
6894 | 97.1k | new (&_impl_) Impl_{ |
6895 | 97.1k | decltype(_impl_._has_bits_){} |
6896 | 97.1k | , /*decltype(_impl_._cached_size_)*/{} |
6897 | 97.1k | , decltype(_impl_.op_){1} |
6898 | 97.1k | }; |
6899 | 97.1k | } |
6900 | | |
6901 | 97.1k | NullaryOp::~NullaryOp() { |
6902 | | // @@protoc_insertion_point(destructor:solidity.yul.test.yul_fuzzer.NullaryOp) |
6903 | 97.1k | if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { |
6904 | 0 | (void)arena; |
6905 | 0 | return; |
6906 | 0 | } |
6907 | 97.1k | SharedDtor(); |
6908 | 97.1k | } |
6909 | | |
6910 | 97.1k | inline void NullaryOp::SharedDtor() { |
6911 | 97.1k | GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); |
6912 | 97.1k | } |
6913 | | |
6914 | 0 | void NullaryOp::SetCachedSize(int size) const { |
6915 | 0 | _impl_._cached_size_.Set(size); |
6916 | 0 | } |
6917 | | |
6918 | 0 | void NullaryOp::Clear() { |
6919 | | // @@protoc_insertion_point(message_clear_start:solidity.yul.test.yul_fuzzer.NullaryOp) |
6920 | 0 | uint32_t cached_has_bits = 0; |
6921 | | // Prevent compiler warnings about cached_has_bits being unused |
6922 | 0 | (void) cached_has_bits; |
6923 | |
|
6924 | 0 | _impl_.op_ = 1; |
6925 | 0 | _impl_._has_bits_.Clear(); |
6926 | 0 | _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); |
6927 | 0 | } |
6928 | | |
6929 | 0 | const char* NullaryOp::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { |
6930 | 0 | #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure |
6931 | 0 | _Internal::HasBits has_bits{}; |
6932 | 0 | while (!ctx->Done(&ptr)) { |
6933 | 0 | uint32_t tag; |
6934 | 0 | ptr = ::_pbi::ReadTag(ptr, &tag); |
6935 | 0 | switch (tag >> 3) { |
6936 | | // required .solidity.yul.test.yul_fuzzer.NullaryOp.NOp op = 1; |
6937 | 0 | case 1: |
6938 | 0 | if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 8)) { |
6939 | 0 | uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); |
6940 | 0 | CHK_(ptr); |
6941 | 0 | if (PROTOBUF_PREDICT_TRUE(::solidity::yul::test::yul_fuzzer::NullaryOp_NOp_IsValid(val))) { |
6942 | 0 | _internal_set_op(static_cast<::solidity::yul::test::yul_fuzzer::NullaryOp_NOp>(val)); |
6943 | 0 | } else { |
6944 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::WriteVarint(1, val, mutable_unknown_fields()); |
6945 | 0 | } |
6946 | 0 | } else |
6947 | 0 | goto handle_unusual; |
6948 | 0 | continue; |
6949 | 0 | default: |
6950 | 0 | goto handle_unusual; |
6951 | 0 | } // switch |
6952 | 0 | handle_unusual: |
6953 | 0 | if ((tag == 0) || ((tag & 7) == 4)) { |
6954 | 0 | CHK_(ptr); |
6955 | 0 | ctx->SetLastTag(tag); |
6956 | 0 | goto message_done; |
6957 | 0 | } |
6958 | 0 | ptr = UnknownFieldParse( |
6959 | 0 | tag, |
6960 | 0 | _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), |
6961 | 0 | ptr, ctx); |
6962 | 0 | CHK_(ptr != nullptr); |
6963 | 0 | } // while |
6964 | 0 | message_done: |
6965 | 0 | _impl_._has_bits_.Or(has_bits); |
6966 | 0 | return ptr; |
6967 | 0 | failure: |
6968 | 0 | ptr = nullptr; |
6969 | 0 | goto message_done; |
6970 | 0 | #undef CHK_ |
6971 | 0 | } |
6972 | | |
6973 | | uint8_t* NullaryOp::_InternalSerialize( |
6974 | 0 | uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { |
6975 | | // @@protoc_insertion_point(serialize_to_array_start:solidity.yul.test.yul_fuzzer.NullaryOp) |
6976 | 0 | uint32_t cached_has_bits = 0; |
6977 | 0 | (void) cached_has_bits; |
6978 | |
|
6979 | 0 | cached_has_bits = _impl_._has_bits_[0]; |
6980 | | // required .solidity.yul.test.yul_fuzzer.NullaryOp.NOp op = 1; |
6981 | 0 | if (cached_has_bits & 0x00000001u) { |
6982 | 0 | target = stream->EnsureSpace(target); |
6983 | 0 | target = ::_pbi::WireFormatLite::WriteEnumToArray( |
6984 | 0 | 1, this->_internal_op(), target); |
6985 | 0 | } |
6986 | |
|
6987 | 0 | if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { |
6988 | 0 | target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( |
6989 | 0 | _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); |
6990 | 0 | } |
6991 | | // @@protoc_insertion_point(serialize_to_array_end:solidity.yul.test.yul_fuzzer.NullaryOp) |
6992 | 0 | return target; |
6993 | 0 | } |
6994 | | |
6995 | 88.5k | size_t NullaryOp::ByteSizeLong() const { |
6996 | | // @@protoc_insertion_point(message_byte_size_start:solidity.yul.test.yul_fuzzer.NullaryOp) |
6997 | 88.5k | size_t total_size = 0; |
6998 | | |
6999 | | // required .solidity.yul.test.yul_fuzzer.NullaryOp.NOp op = 1; |
7000 | 88.5k | if (_internal_has_op()) { |
7001 | 88.5k | total_size += 1 + |
7002 | 88.5k | ::_pbi::WireFormatLite::EnumSize(this->_internal_op()); |
7003 | 88.5k | } |
7004 | 88.5k | uint32_t cached_has_bits = 0; |
7005 | | // Prevent compiler warnings about cached_has_bits being unused |
7006 | 88.5k | (void) cached_has_bits; |
7007 | | |
7008 | 88.5k | return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); |
7009 | 88.5k | } |
7010 | | |
7011 | | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData NullaryOp::_class_data_ = { |
7012 | | ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, |
7013 | | NullaryOp::MergeImpl |
7014 | | }; |
7015 | 0 | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*NullaryOp::GetClassData() const { return &_class_data_; } |
7016 | | |
7017 | | |
7018 | 0 | void NullaryOp::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { |
7019 | 0 | auto* const _this = static_cast<NullaryOp*>(&to_msg); |
7020 | 0 | auto& from = static_cast<const NullaryOp&>(from_msg); |
7021 | | // @@protoc_insertion_point(class_specific_merge_from_start:solidity.yul.test.yul_fuzzer.NullaryOp) |
7022 | 0 | GOOGLE_DCHECK_NE(&from, _this); |
7023 | 0 | uint32_t cached_has_bits = 0; |
7024 | 0 | (void) cached_has_bits; |
7025 | |
|
7026 | 0 | if (from._internal_has_op()) { |
7027 | 0 | _this->_internal_set_op(from._internal_op()); |
7028 | 0 | } |
7029 | 0 | _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); |
7030 | 0 | } |
7031 | | |
7032 | 0 | void NullaryOp::CopyFrom(const NullaryOp& from) { |
7033 | | // @@protoc_insertion_point(class_specific_copy_from_start:solidity.yul.test.yul_fuzzer.NullaryOp) |
7034 | 0 | if (&from == this) return; |
7035 | 0 | Clear(); |
7036 | 0 | MergeFrom(from); |
7037 | 0 | } |
7038 | | |
7039 | 0 | bool NullaryOp::IsInitialized() const { |
7040 | 0 | if (_Internal::MissingRequiredFields(_impl_._has_bits_)) return false; |
7041 | 0 | return true; |
7042 | 0 | } |
7043 | | |
7044 | 0 | void NullaryOp::InternalSwap(NullaryOp* other) { |
7045 | 0 | using std::swap; |
7046 | 0 | _internal_metadata_.InternalSwap(&other->_internal_metadata_); |
7047 | 0 | swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); |
7048 | 0 | swap(_impl_.op_, other->_impl_.op_); |
7049 | 0 | } |
7050 | | |
7051 | 984k | ::PROTOBUF_NAMESPACE_ID::Metadata NullaryOp::GetMetadata() const { |
7052 | 984k | return ::_pbi::AssignDescriptors( |
7053 | 984k | &descriptor_table_yulProto_2eproto_getter, &descriptor_table_yulProto_2eproto_once, |
7054 | 984k | file_level_metadata_yulProto_2eproto[15]); |
7055 | 984k | } |
7056 | | |
7057 | | // =================================================================== |
7058 | | |
7059 | | class StoreFunc::_Internal { |
7060 | | public: |
7061 | | using HasBits = decltype(std::declval<StoreFunc>()._impl_._has_bits_); |
7062 | | static const ::solidity::yul::test::yul_fuzzer::Expression& loc(const StoreFunc* msg); |
7063 | 0 | static void set_has_loc(HasBits* has_bits) { |
7064 | 0 | (*has_bits)[0] |= 1u; |
7065 | 0 | } |
7066 | | static const ::solidity::yul::test::yul_fuzzer::Expression& val(const StoreFunc* msg); |
7067 | 0 | static void set_has_val(HasBits* has_bits) { |
7068 | 0 | (*has_bits)[0] |= 2u; |
7069 | 0 | } |
7070 | 0 | static void set_has_st(HasBits* has_bits) { |
7071 | 0 | (*has_bits)[0] |= 4u; |
7072 | 0 | } |
7073 | 0 | static bool MissingRequiredFields(const HasBits& has_bits) { |
7074 | 0 | return ((has_bits[0] & 0x00000007) ^ 0x00000007) != 0; |
7075 | 0 | } |
7076 | | }; |
7077 | | |
7078 | | const ::solidity::yul::test::yul_fuzzer::Expression& |
7079 | 0 | StoreFunc::_Internal::loc(const StoreFunc* msg) { |
7080 | 0 | return *msg->_impl_.loc_; |
7081 | 0 | } |
7082 | | const ::solidity::yul::test::yul_fuzzer::Expression& |
7083 | 0 | StoreFunc::_Internal::val(const StoreFunc* msg) { |
7084 | 0 | return *msg->_impl_.val_; |
7085 | 0 | } |
7086 | | StoreFunc::StoreFunc(::PROTOBUF_NAMESPACE_ID::Arena* arena, |
7087 | | bool is_message_owned) |
7088 | 224k | : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { |
7089 | 224k | SharedCtor(arena, is_message_owned); |
7090 | | // @@protoc_insertion_point(arena_constructor:solidity.yul.test.yul_fuzzer.StoreFunc) |
7091 | 224k | } |
7092 | | StoreFunc::StoreFunc(const StoreFunc& from) |
7093 | 0 | : ::PROTOBUF_NAMESPACE_ID::Message() { |
7094 | 0 | StoreFunc* const _this = this; (void)_this; |
7095 | 0 | new (&_impl_) Impl_{ |
7096 | 0 | decltype(_impl_._has_bits_){from._impl_._has_bits_} |
7097 | 0 | , /*decltype(_impl_._cached_size_)*/{} |
7098 | 0 | , decltype(_impl_.loc_){nullptr} |
7099 | 0 | , decltype(_impl_.val_){nullptr} |
7100 | 0 | , decltype(_impl_.st_){}}; |
7101 | |
|
7102 | 0 | _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); |
7103 | 0 | if (from._internal_has_loc()) { |
7104 | 0 | _this->_impl_.loc_ = new ::solidity::yul::test::yul_fuzzer::Expression(*from._impl_.loc_); |
7105 | 0 | } |
7106 | 0 | if (from._internal_has_val()) { |
7107 | 0 | _this->_impl_.val_ = new ::solidity::yul::test::yul_fuzzer::Expression(*from._impl_.val_); |
7108 | 0 | } |
7109 | 0 | _this->_impl_.st_ = from._impl_.st_; |
7110 | | // @@protoc_insertion_point(copy_constructor:solidity.yul.test.yul_fuzzer.StoreFunc) |
7111 | 0 | } |
7112 | | |
7113 | | inline void StoreFunc::SharedCtor( |
7114 | 224k | ::_pb::Arena* arena, bool is_message_owned) { |
7115 | 224k | (void)arena; |
7116 | 224k | (void)is_message_owned; |
7117 | 224k | new (&_impl_) Impl_{ |
7118 | 224k | decltype(_impl_._has_bits_){} |
7119 | 224k | , /*decltype(_impl_._cached_size_)*/{} |
7120 | 224k | , decltype(_impl_.loc_){nullptr} |
7121 | 224k | , decltype(_impl_.val_){nullptr} |
7122 | 224k | , decltype(_impl_.st_){0} |
7123 | 224k | }; |
7124 | 224k | } |
7125 | | |
7126 | 224k | StoreFunc::~StoreFunc() { |
7127 | | // @@protoc_insertion_point(destructor:solidity.yul.test.yul_fuzzer.StoreFunc) |
7128 | 224k | if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { |
7129 | 0 | (void)arena; |
7130 | 0 | return; |
7131 | 0 | } |
7132 | 224k | SharedDtor(); |
7133 | 224k | } |
7134 | | |
7135 | 224k | inline void StoreFunc::SharedDtor() { |
7136 | 224k | GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); |
7137 | 224k | if (this != internal_default_instance()) delete _impl_.loc_; |
7138 | 224k | if (this != internal_default_instance()) delete _impl_.val_; |
7139 | 224k | } |
7140 | | |
7141 | 0 | void StoreFunc::SetCachedSize(int size) const { |
7142 | 0 | _impl_._cached_size_.Set(size); |
7143 | 0 | } |
7144 | | |
7145 | 0 | void StoreFunc::Clear() { |
7146 | | // @@protoc_insertion_point(message_clear_start:solidity.yul.test.yul_fuzzer.StoreFunc) |
7147 | 0 | uint32_t cached_has_bits = 0; |
7148 | | // Prevent compiler warnings about cached_has_bits being unused |
7149 | 0 | (void) cached_has_bits; |
7150 | |
|
7151 | 0 | cached_has_bits = _impl_._has_bits_[0]; |
7152 | 0 | if (cached_has_bits & 0x00000003u) { |
7153 | 0 | if (cached_has_bits & 0x00000001u) { |
7154 | 0 | GOOGLE_DCHECK(_impl_.loc_ != nullptr); |
7155 | 0 | _impl_.loc_->Clear(); |
7156 | 0 | } |
7157 | 0 | if (cached_has_bits & 0x00000002u) { |
7158 | 0 | GOOGLE_DCHECK(_impl_.val_ != nullptr); |
7159 | 0 | _impl_.val_->Clear(); |
7160 | 0 | } |
7161 | 0 | } |
7162 | 0 | _impl_.st_ = 0; |
7163 | 0 | _impl_._has_bits_.Clear(); |
7164 | 0 | _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); |
7165 | 0 | } |
7166 | | |
7167 | 0 | const char* StoreFunc::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { |
7168 | 0 | #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure |
7169 | 0 | _Internal::HasBits has_bits{}; |
7170 | 0 | while (!ctx->Done(&ptr)) { |
7171 | 0 | uint32_t tag; |
7172 | 0 | ptr = ::_pbi::ReadTag(ptr, &tag); |
7173 | 0 | switch (tag >> 3) { |
7174 | | // required .solidity.yul.test.yul_fuzzer.Expression loc = 1; |
7175 | 0 | case 1: |
7176 | 0 | if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 10)) { |
7177 | 0 | ptr = ctx->ParseMessage(_internal_mutable_loc(), ptr); |
7178 | 0 | CHK_(ptr); |
7179 | 0 | } else |
7180 | 0 | goto handle_unusual; |
7181 | 0 | continue; |
7182 | | // required .solidity.yul.test.yul_fuzzer.Expression val = 2; |
7183 | 0 | case 2: |
7184 | 0 | if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 18)) { |
7185 | 0 | ptr = ctx->ParseMessage(_internal_mutable_val(), ptr); |
7186 | 0 | CHK_(ptr); |
7187 | 0 | } else |
7188 | 0 | goto handle_unusual; |
7189 | 0 | continue; |
7190 | | // required .solidity.yul.test.yul_fuzzer.StoreFunc.Storage st = 3; |
7191 | 0 | case 3: |
7192 | 0 | if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 24)) { |
7193 | 0 | uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); |
7194 | 0 | CHK_(ptr); |
7195 | 0 | if (PROTOBUF_PREDICT_TRUE(::solidity::yul::test::yul_fuzzer::StoreFunc_Storage_IsValid(val))) { |
7196 | 0 | _internal_set_st(static_cast<::solidity::yul::test::yul_fuzzer::StoreFunc_Storage>(val)); |
7197 | 0 | } else { |
7198 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::WriteVarint(3, val, mutable_unknown_fields()); |
7199 | 0 | } |
7200 | 0 | } else |
7201 | 0 | goto handle_unusual; |
7202 | 0 | continue; |
7203 | 0 | default: |
7204 | 0 | goto handle_unusual; |
7205 | 0 | } // switch |
7206 | 0 | handle_unusual: |
7207 | 0 | if ((tag == 0) || ((tag & 7) == 4)) { |
7208 | 0 | CHK_(ptr); |
7209 | 0 | ctx->SetLastTag(tag); |
7210 | 0 | goto message_done; |
7211 | 0 | } |
7212 | 0 | ptr = UnknownFieldParse( |
7213 | 0 | tag, |
7214 | 0 | _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), |
7215 | 0 | ptr, ctx); |
7216 | 0 | CHK_(ptr != nullptr); |
7217 | 0 | } // while |
7218 | 0 | message_done: |
7219 | 0 | _impl_._has_bits_.Or(has_bits); |
7220 | 0 | return ptr; |
7221 | 0 | failure: |
7222 | 0 | ptr = nullptr; |
7223 | 0 | goto message_done; |
7224 | 0 | #undef CHK_ |
7225 | 0 | } |
7226 | | |
7227 | | uint8_t* StoreFunc::_InternalSerialize( |
7228 | 0 | uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { |
7229 | | // @@protoc_insertion_point(serialize_to_array_start:solidity.yul.test.yul_fuzzer.StoreFunc) |
7230 | 0 | uint32_t cached_has_bits = 0; |
7231 | 0 | (void) cached_has_bits; |
7232 | |
|
7233 | 0 | cached_has_bits = _impl_._has_bits_[0]; |
7234 | | // required .solidity.yul.test.yul_fuzzer.Expression loc = 1; |
7235 | 0 | if (cached_has_bits & 0x00000001u) { |
7236 | 0 | target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: |
7237 | 0 | InternalWriteMessage(1, _Internal::loc(this), |
7238 | 0 | _Internal::loc(this).GetCachedSize(), target, stream); |
7239 | 0 | } |
7240 | | |
7241 | | // required .solidity.yul.test.yul_fuzzer.Expression val = 2; |
7242 | 0 | if (cached_has_bits & 0x00000002u) { |
7243 | 0 | target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: |
7244 | 0 | InternalWriteMessage(2, _Internal::val(this), |
7245 | 0 | _Internal::val(this).GetCachedSize(), target, stream); |
7246 | 0 | } |
7247 | | |
7248 | | // required .solidity.yul.test.yul_fuzzer.StoreFunc.Storage st = 3; |
7249 | 0 | if (cached_has_bits & 0x00000004u) { |
7250 | 0 | target = stream->EnsureSpace(target); |
7251 | 0 | target = ::_pbi::WireFormatLite::WriteEnumToArray( |
7252 | 0 | 3, this->_internal_st(), target); |
7253 | 0 | } |
7254 | |
|
7255 | 0 | if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { |
7256 | 0 | target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( |
7257 | 0 | _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); |
7258 | 0 | } |
7259 | | // @@protoc_insertion_point(serialize_to_array_end:solidity.yul.test.yul_fuzzer.StoreFunc) |
7260 | 0 | return target; |
7261 | 0 | } |
7262 | | |
7263 | 0 | size_t StoreFunc::RequiredFieldsByteSizeFallback() const { |
7264 | | // @@protoc_insertion_point(required_fields_byte_size_fallback_start:solidity.yul.test.yul_fuzzer.StoreFunc) |
7265 | 0 | size_t total_size = 0; |
7266 | |
|
7267 | 0 | if (_internal_has_loc()) { |
7268 | | // required .solidity.yul.test.yul_fuzzer.Expression loc = 1; |
7269 | 0 | total_size += 1 + |
7270 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
7271 | 0 | *_impl_.loc_); |
7272 | 0 | } |
7273 | |
|
7274 | 0 | if (_internal_has_val()) { |
7275 | | // required .solidity.yul.test.yul_fuzzer.Expression val = 2; |
7276 | 0 | total_size += 1 + |
7277 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
7278 | 0 | *_impl_.val_); |
7279 | 0 | } |
7280 | |
|
7281 | 0 | if (_internal_has_st()) { |
7282 | | // required .solidity.yul.test.yul_fuzzer.StoreFunc.Storage st = 3; |
7283 | 0 | total_size += 1 + |
7284 | 0 | ::_pbi::WireFormatLite::EnumSize(this->_internal_st()); |
7285 | 0 | } |
7286 | |
|
7287 | 0 | return total_size; |
7288 | 0 | } |
7289 | 219k | size_t StoreFunc::ByteSizeLong() const { |
7290 | | // @@protoc_insertion_point(message_byte_size_start:solidity.yul.test.yul_fuzzer.StoreFunc) |
7291 | 219k | size_t total_size = 0; |
7292 | | |
7293 | 219k | if (((_impl_._has_bits_[0] & 0x00000007) ^ 0x00000007) == 0) { // All required fields are present. |
7294 | | // required .solidity.yul.test.yul_fuzzer.Expression loc = 1; |
7295 | 219k | total_size += 1 + |
7296 | 219k | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
7297 | 219k | *_impl_.loc_); |
7298 | | |
7299 | | // required .solidity.yul.test.yul_fuzzer.Expression val = 2; |
7300 | 219k | total_size += 1 + |
7301 | 219k | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
7302 | 219k | *_impl_.val_); |
7303 | | |
7304 | | // required .solidity.yul.test.yul_fuzzer.StoreFunc.Storage st = 3; |
7305 | 219k | total_size += 1 + |
7306 | 219k | ::_pbi::WireFormatLite::EnumSize(this->_internal_st()); |
7307 | | |
7308 | 219k | } else { |
7309 | 0 | total_size += RequiredFieldsByteSizeFallback(); |
7310 | 0 | } |
7311 | 219k | uint32_t cached_has_bits = 0; |
7312 | | // Prevent compiler warnings about cached_has_bits being unused |
7313 | 219k | (void) cached_has_bits; |
7314 | | |
7315 | 219k | return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); |
7316 | 219k | } |
7317 | | |
7318 | | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData StoreFunc::_class_data_ = { |
7319 | | ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, |
7320 | | StoreFunc::MergeImpl |
7321 | | }; |
7322 | 0 | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*StoreFunc::GetClassData() const { return &_class_data_; } |
7323 | | |
7324 | | |
7325 | 0 | void StoreFunc::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { |
7326 | 0 | auto* const _this = static_cast<StoreFunc*>(&to_msg); |
7327 | 0 | auto& from = static_cast<const StoreFunc&>(from_msg); |
7328 | | // @@protoc_insertion_point(class_specific_merge_from_start:solidity.yul.test.yul_fuzzer.StoreFunc) |
7329 | 0 | GOOGLE_DCHECK_NE(&from, _this); |
7330 | 0 | uint32_t cached_has_bits = 0; |
7331 | 0 | (void) cached_has_bits; |
7332 | |
|
7333 | 0 | cached_has_bits = from._impl_._has_bits_[0]; |
7334 | 0 | if (cached_has_bits & 0x00000007u) { |
7335 | 0 | if (cached_has_bits & 0x00000001u) { |
7336 | 0 | _this->_internal_mutable_loc()->::solidity::yul::test::yul_fuzzer::Expression::MergeFrom( |
7337 | 0 | from._internal_loc()); |
7338 | 0 | } |
7339 | 0 | if (cached_has_bits & 0x00000002u) { |
7340 | 0 | _this->_internal_mutable_val()->::solidity::yul::test::yul_fuzzer::Expression::MergeFrom( |
7341 | 0 | from._internal_val()); |
7342 | 0 | } |
7343 | 0 | if (cached_has_bits & 0x00000004u) { |
7344 | 0 | _this->_impl_.st_ = from._impl_.st_; |
7345 | 0 | } |
7346 | 0 | _this->_impl_._has_bits_[0] |= cached_has_bits; |
7347 | 0 | } |
7348 | 0 | _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); |
7349 | 0 | } |
7350 | | |
7351 | 0 | void StoreFunc::CopyFrom(const StoreFunc& from) { |
7352 | | // @@protoc_insertion_point(class_specific_copy_from_start:solidity.yul.test.yul_fuzzer.StoreFunc) |
7353 | 0 | if (&from == this) return; |
7354 | 0 | Clear(); |
7355 | 0 | MergeFrom(from); |
7356 | 0 | } |
7357 | | |
7358 | 0 | bool StoreFunc::IsInitialized() const { |
7359 | 0 | if (_Internal::MissingRequiredFields(_impl_._has_bits_)) return false; |
7360 | 0 | if (_internal_has_loc()) { |
7361 | 0 | if (!_impl_.loc_->IsInitialized()) return false; |
7362 | 0 | } |
7363 | 0 | if (_internal_has_val()) { |
7364 | 0 | if (!_impl_.val_->IsInitialized()) return false; |
7365 | 0 | } |
7366 | 0 | return true; |
7367 | 0 | } |
7368 | | |
7369 | 0 | void StoreFunc::InternalSwap(StoreFunc* other) { |
7370 | 0 | using std::swap; |
7371 | 0 | _internal_metadata_.InternalSwap(&other->_internal_metadata_); |
7372 | 0 | swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); |
7373 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::memswap< |
7374 | 0 | PROTOBUF_FIELD_OFFSET(StoreFunc, _impl_.st_) |
7375 | 0 | + sizeof(StoreFunc::_impl_.st_) |
7376 | 0 | - PROTOBUF_FIELD_OFFSET(StoreFunc, _impl_.loc_)>( |
7377 | 0 | reinterpret_cast<char*>(&_impl_.loc_), |
7378 | 0 | reinterpret_cast<char*>(&other->_impl_.loc_)); |
7379 | 0 | } |
7380 | | |
7381 | 7.48M | ::PROTOBUF_NAMESPACE_ID::Metadata StoreFunc::GetMetadata() const { |
7382 | 7.48M | return ::_pbi::AssignDescriptors( |
7383 | 7.48M | &descriptor_table_yulProto_2eproto_getter, &descriptor_table_yulProto_2eproto_once, |
7384 | 7.48M | file_level_metadata_yulProto_2eproto[16]); |
7385 | 7.48M | } |
7386 | | |
7387 | | // =================================================================== |
7388 | | |
7389 | | class LogFunc::_Internal { |
7390 | | public: |
7391 | | using HasBits = decltype(std::declval<LogFunc>()._impl_._has_bits_); |
7392 | | static const ::solidity::yul::test::yul_fuzzer::Expression& pos(const LogFunc* msg); |
7393 | 0 | static void set_has_pos(HasBits* has_bits) { |
7394 | 0 | (*has_bits)[0] |= 1u; |
7395 | 0 | } |
7396 | | static const ::solidity::yul::test::yul_fuzzer::Expression& size(const LogFunc* msg); |
7397 | 0 | static void set_has_size(HasBits* has_bits) { |
7398 | 0 | (*has_bits)[0] |= 2u; |
7399 | 0 | } |
7400 | 0 | static void set_has_num_topics(HasBits* has_bits) { |
7401 | 0 | (*has_bits)[0] |= 64u; |
7402 | 0 | } |
7403 | | static const ::solidity::yul::test::yul_fuzzer::Expression& t1(const LogFunc* msg); |
7404 | 0 | static void set_has_t1(HasBits* has_bits) { |
7405 | 0 | (*has_bits)[0] |= 4u; |
7406 | 0 | } |
7407 | | static const ::solidity::yul::test::yul_fuzzer::Expression& t2(const LogFunc* msg); |
7408 | 0 | static void set_has_t2(HasBits* has_bits) { |
7409 | 0 | (*has_bits)[0] |= 8u; |
7410 | 0 | } |
7411 | | static const ::solidity::yul::test::yul_fuzzer::Expression& t3(const LogFunc* msg); |
7412 | 0 | static void set_has_t3(HasBits* has_bits) { |
7413 | 0 | (*has_bits)[0] |= 16u; |
7414 | 0 | } |
7415 | | static const ::solidity::yul::test::yul_fuzzer::Expression& t4(const LogFunc* msg); |
7416 | 0 | static void set_has_t4(HasBits* has_bits) { |
7417 | 0 | (*has_bits)[0] |= 32u; |
7418 | 0 | } |
7419 | 0 | static bool MissingRequiredFields(const HasBits& has_bits) { |
7420 | 0 | return ((has_bits[0] & 0x0000007f) ^ 0x0000007f) != 0; |
7421 | 0 | } |
7422 | | }; |
7423 | | |
7424 | | const ::solidity::yul::test::yul_fuzzer::Expression& |
7425 | 0 | LogFunc::_Internal::pos(const LogFunc* msg) { |
7426 | 0 | return *msg->_impl_.pos_; |
7427 | 0 | } |
7428 | | const ::solidity::yul::test::yul_fuzzer::Expression& |
7429 | 0 | LogFunc::_Internal::size(const LogFunc* msg) { |
7430 | 0 | return *msg->_impl_.size_; |
7431 | 0 | } |
7432 | | const ::solidity::yul::test::yul_fuzzer::Expression& |
7433 | 0 | LogFunc::_Internal::t1(const LogFunc* msg) { |
7434 | 0 | return *msg->_impl_.t1_; |
7435 | 0 | } |
7436 | | const ::solidity::yul::test::yul_fuzzer::Expression& |
7437 | 0 | LogFunc::_Internal::t2(const LogFunc* msg) { |
7438 | 0 | return *msg->_impl_.t2_; |
7439 | 0 | } |
7440 | | const ::solidity::yul::test::yul_fuzzer::Expression& |
7441 | 0 | LogFunc::_Internal::t3(const LogFunc* msg) { |
7442 | 0 | return *msg->_impl_.t3_; |
7443 | 0 | } |
7444 | | const ::solidity::yul::test::yul_fuzzer::Expression& |
7445 | 0 | LogFunc::_Internal::t4(const LogFunc* msg) { |
7446 | 0 | return *msg->_impl_.t4_; |
7447 | 0 | } |
7448 | | LogFunc::LogFunc(::PROTOBUF_NAMESPACE_ID::Arena* arena, |
7449 | | bool is_message_owned) |
7450 | 18.5k | : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { |
7451 | 18.5k | SharedCtor(arena, is_message_owned); |
7452 | | // @@protoc_insertion_point(arena_constructor:solidity.yul.test.yul_fuzzer.LogFunc) |
7453 | 18.5k | } |
7454 | | LogFunc::LogFunc(const LogFunc& from) |
7455 | 0 | : ::PROTOBUF_NAMESPACE_ID::Message() { |
7456 | 0 | LogFunc* const _this = this; (void)_this; |
7457 | 0 | new (&_impl_) Impl_{ |
7458 | 0 | decltype(_impl_._has_bits_){from._impl_._has_bits_} |
7459 | 0 | , /*decltype(_impl_._cached_size_)*/{} |
7460 | 0 | , decltype(_impl_.pos_){nullptr} |
7461 | 0 | , decltype(_impl_.size_){nullptr} |
7462 | 0 | , decltype(_impl_.t1_){nullptr} |
7463 | 0 | , decltype(_impl_.t2_){nullptr} |
7464 | 0 | , decltype(_impl_.t3_){nullptr} |
7465 | 0 | , decltype(_impl_.t4_){nullptr} |
7466 | 0 | , decltype(_impl_.num_topics_){}}; |
7467 | |
|
7468 | 0 | _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); |
7469 | 0 | if (from._internal_has_pos()) { |
7470 | 0 | _this->_impl_.pos_ = new ::solidity::yul::test::yul_fuzzer::Expression(*from._impl_.pos_); |
7471 | 0 | } |
7472 | 0 | if (from._internal_has_size()) { |
7473 | 0 | _this->_impl_.size_ = new ::solidity::yul::test::yul_fuzzer::Expression(*from._impl_.size_); |
7474 | 0 | } |
7475 | 0 | if (from._internal_has_t1()) { |
7476 | 0 | _this->_impl_.t1_ = new ::solidity::yul::test::yul_fuzzer::Expression(*from._impl_.t1_); |
7477 | 0 | } |
7478 | 0 | if (from._internal_has_t2()) { |
7479 | 0 | _this->_impl_.t2_ = new ::solidity::yul::test::yul_fuzzer::Expression(*from._impl_.t2_); |
7480 | 0 | } |
7481 | 0 | if (from._internal_has_t3()) { |
7482 | 0 | _this->_impl_.t3_ = new ::solidity::yul::test::yul_fuzzer::Expression(*from._impl_.t3_); |
7483 | 0 | } |
7484 | 0 | if (from._internal_has_t4()) { |
7485 | 0 | _this->_impl_.t4_ = new ::solidity::yul::test::yul_fuzzer::Expression(*from._impl_.t4_); |
7486 | 0 | } |
7487 | 0 | _this->_impl_.num_topics_ = from._impl_.num_topics_; |
7488 | | // @@protoc_insertion_point(copy_constructor:solidity.yul.test.yul_fuzzer.LogFunc) |
7489 | 0 | } |
7490 | | |
7491 | | inline void LogFunc::SharedCtor( |
7492 | 18.5k | ::_pb::Arena* arena, bool is_message_owned) { |
7493 | 18.5k | (void)arena; |
7494 | 18.5k | (void)is_message_owned; |
7495 | 18.5k | new (&_impl_) Impl_{ |
7496 | 18.5k | decltype(_impl_._has_bits_){} |
7497 | 18.5k | , /*decltype(_impl_._cached_size_)*/{} |
7498 | 18.5k | , decltype(_impl_.pos_){nullptr} |
7499 | 18.5k | , decltype(_impl_.size_){nullptr} |
7500 | 18.5k | , decltype(_impl_.t1_){nullptr} |
7501 | 18.5k | , decltype(_impl_.t2_){nullptr} |
7502 | 18.5k | , decltype(_impl_.t3_){nullptr} |
7503 | 18.5k | , decltype(_impl_.t4_){nullptr} |
7504 | 18.5k | , decltype(_impl_.num_topics_){0} |
7505 | 18.5k | }; |
7506 | 18.5k | } |
7507 | | |
7508 | 18.5k | LogFunc::~LogFunc() { |
7509 | | // @@protoc_insertion_point(destructor:solidity.yul.test.yul_fuzzer.LogFunc) |
7510 | 18.5k | if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { |
7511 | 0 | (void)arena; |
7512 | 0 | return; |
7513 | 0 | } |
7514 | 18.5k | SharedDtor(); |
7515 | 18.5k | } |
7516 | | |
7517 | 18.5k | inline void LogFunc::SharedDtor() { |
7518 | 18.5k | GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); |
7519 | 18.5k | if (this != internal_default_instance()) delete _impl_.pos_; |
7520 | 18.5k | if (this != internal_default_instance()) delete _impl_.size_; |
7521 | 18.5k | if (this != internal_default_instance()) delete _impl_.t1_; |
7522 | 18.5k | if (this != internal_default_instance()) delete _impl_.t2_; |
7523 | 18.5k | if (this != internal_default_instance()) delete _impl_.t3_; |
7524 | 18.5k | if (this != internal_default_instance()) delete _impl_.t4_; |
7525 | 18.5k | } |
7526 | | |
7527 | 0 | void LogFunc::SetCachedSize(int size) const { |
7528 | 0 | _impl_._cached_size_.Set(size); |
7529 | 0 | } |
7530 | | |
7531 | 0 | void LogFunc::Clear() { |
7532 | | // @@protoc_insertion_point(message_clear_start:solidity.yul.test.yul_fuzzer.LogFunc) |
7533 | 0 | uint32_t cached_has_bits = 0; |
7534 | | // Prevent compiler warnings about cached_has_bits being unused |
7535 | 0 | (void) cached_has_bits; |
7536 | |
|
7537 | 0 | cached_has_bits = _impl_._has_bits_[0]; |
7538 | 0 | if (cached_has_bits & 0x0000003fu) { |
7539 | 0 | if (cached_has_bits & 0x00000001u) { |
7540 | 0 | GOOGLE_DCHECK(_impl_.pos_ != nullptr); |
7541 | 0 | _impl_.pos_->Clear(); |
7542 | 0 | } |
7543 | 0 | if (cached_has_bits & 0x00000002u) { |
7544 | 0 | GOOGLE_DCHECK(_impl_.size_ != nullptr); |
7545 | 0 | _impl_.size_->Clear(); |
7546 | 0 | } |
7547 | 0 | if (cached_has_bits & 0x00000004u) { |
7548 | 0 | GOOGLE_DCHECK(_impl_.t1_ != nullptr); |
7549 | 0 | _impl_.t1_->Clear(); |
7550 | 0 | } |
7551 | 0 | if (cached_has_bits & 0x00000008u) { |
7552 | 0 | GOOGLE_DCHECK(_impl_.t2_ != nullptr); |
7553 | 0 | _impl_.t2_->Clear(); |
7554 | 0 | } |
7555 | 0 | if (cached_has_bits & 0x00000010u) { |
7556 | 0 | GOOGLE_DCHECK(_impl_.t3_ != nullptr); |
7557 | 0 | _impl_.t3_->Clear(); |
7558 | 0 | } |
7559 | 0 | if (cached_has_bits & 0x00000020u) { |
7560 | 0 | GOOGLE_DCHECK(_impl_.t4_ != nullptr); |
7561 | 0 | _impl_.t4_->Clear(); |
7562 | 0 | } |
7563 | 0 | } |
7564 | 0 | _impl_.num_topics_ = 0; |
7565 | 0 | _impl_._has_bits_.Clear(); |
7566 | 0 | _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); |
7567 | 0 | } |
7568 | | |
7569 | 0 | const char* LogFunc::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { |
7570 | 0 | #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure |
7571 | 0 | _Internal::HasBits has_bits{}; |
7572 | 0 | while (!ctx->Done(&ptr)) { |
7573 | 0 | uint32_t tag; |
7574 | 0 | ptr = ::_pbi::ReadTag(ptr, &tag); |
7575 | 0 | switch (tag >> 3) { |
7576 | | // required .solidity.yul.test.yul_fuzzer.Expression pos = 1; |
7577 | 0 | case 1: |
7578 | 0 | if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 10)) { |
7579 | 0 | ptr = ctx->ParseMessage(_internal_mutable_pos(), ptr); |
7580 | 0 | CHK_(ptr); |
7581 | 0 | } else |
7582 | 0 | goto handle_unusual; |
7583 | 0 | continue; |
7584 | | // required .solidity.yul.test.yul_fuzzer.Expression size = 2; |
7585 | 0 | case 2: |
7586 | 0 | if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 18)) { |
7587 | 0 | ptr = ctx->ParseMessage(_internal_mutable_size(), ptr); |
7588 | 0 | CHK_(ptr); |
7589 | 0 | } else |
7590 | 0 | goto handle_unusual; |
7591 | 0 | continue; |
7592 | | // required .solidity.yul.test.yul_fuzzer.LogFunc.NumTopics num_topics = 3; |
7593 | 0 | case 3: |
7594 | 0 | if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 24)) { |
7595 | 0 | uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); |
7596 | 0 | CHK_(ptr); |
7597 | 0 | if (PROTOBUF_PREDICT_TRUE(::solidity::yul::test::yul_fuzzer::LogFunc_NumTopics_IsValid(val))) { |
7598 | 0 | _internal_set_num_topics(static_cast<::solidity::yul::test::yul_fuzzer::LogFunc_NumTopics>(val)); |
7599 | 0 | } else { |
7600 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::WriteVarint(3, val, mutable_unknown_fields()); |
7601 | 0 | } |
7602 | 0 | } else |
7603 | 0 | goto handle_unusual; |
7604 | 0 | continue; |
7605 | | // required .solidity.yul.test.yul_fuzzer.Expression t1 = 4; |
7606 | 0 | case 4: |
7607 | 0 | if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 34)) { |
7608 | 0 | ptr = ctx->ParseMessage(_internal_mutable_t1(), ptr); |
7609 | 0 | CHK_(ptr); |
7610 | 0 | } else |
7611 | 0 | goto handle_unusual; |
7612 | 0 | continue; |
7613 | | // required .solidity.yul.test.yul_fuzzer.Expression t2 = 5; |
7614 | 0 | case 5: |
7615 | 0 | if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 42)) { |
7616 | 0 | ptr = ctx->ParseMessage(_internal_mutable_t2(), ptr); |
7617 | 0 | CHK_(ptr); |
7618 | 0 | } else |
7619 | 0 | goto handle_unusual; |
7620 | 0 | continue; |
7621 | | // required .solidity.yul.test.yul_fuzzer.Expression t3 = 6; |
7622 | 0 | case 6: |
7623 | 0 | if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 50)) { |
7624 | 0 | ptr = ctx->ParseMessage(_internal_mutable_t3(), ptr); |
7625 | 0 | CHK_(ptr); |
7626 | 0 | } else |
7627 | 0 | goto handle_unusual; |
7628 | 0 | continue; |
7629 | | // required .solidity.yul.test.yul_fuzzer.Expression t4 = 7; |
7630 | 0 | case 7: |
7631 | 0 | if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 58)) { |
7632 | 0 | ptr = ctx->ParseMessage(_internal_mutable_t4(), ptr); |
7633 | 0 | CHK_(ptr); |
7634 | 0 | } else |
7635 | 0 | goto handle_unusual; |
7636 | 0 | continue; |
7637 | 0 | default: |
7638 | 0 | goto handle_unusual; |
7639 | 0 | } // switch |
7640 | 0 | handle_unusual: |
7641 | 0 | if ((tag == 0) || ((tag & 7) == 4)) { |
7642 | 0 | CHK_(ptr); |
7643 | 0 | ctx->SetLastTag(tag); |
7644 | 0 | goto message_done; |
7645 | 0 | } |
7646 | 0 | ptr = UnknownFieldParse( |
7647 | 0 | tag, |
7648 | 0 | _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), |
7649 | 0 | ptr, ctx); |
7650 | 0 | CHK_(ptr != nullptr); |
7651 | 0 | } // while |
7652 | 0 | message_done: |
7653 | 0 | _impl_._has_bits_.Or(has_bits); |
7654 | 0 | return ptr; |
7655 | 0 | failure: |
7656 | 0 | ptr = nullptr; |
7657 | 0 | goto message_done; |
7658 | 0 | #undef CHK_ |
7659 | 0 | } |
7660 | | |
7661 | | uint8_t* LogFunc::_InternalSerialize( |
7662 | 0 | uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { |
7663 | | // @@protoc_insertion_point(serialize_to_array_start:solidity.yul.test.yul_fuzzer.LogFunc) |
7664 | 0 | uint32_t cached_has_bits = 0; |
7665 | 0 | (void) cached_has_bits; |
7666 | |
|
7667 | 0 | cached_has_bits = _impl_._has_bits_[0]; |
7668 | | // required .solidity.yul.test.yul_fuzzer.Expression pos = 1; |
7669 | 0 | if (cached_has_bits & 0x00000001u) { |
7670 | 0 | target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: |
7671 | 0 | InternalWriteMessage(1, _Internal::pos(this), |
7672 | 0 | _Internal::pos(this).GetCachedSize(), target, stream); |
7673 | 0 | } |
7674 | | |
7675 | | // required .solidity.yul.test.yul_fuzzer.Expression size = 2; |
7676 | 0 | if (cached_has_bits & 0x00000002u) { |
7677 | 0 | target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: |
7678 | 0 | InternalWriteMessage(2, _Internal::size(this), |
7679 | 0 | _Internal::size(this).GetCachedSize(), target, stream); |
7680 | 0 | } |
7681 | | |
7682 | | // required .solidity.yul.test.yul_fuzzer.LogFunc.NumTopics num_topics = 3; |
7683 | 0 | if (cached_has_bits & 0x00000040u) { |
7684 | 0 | target = stream->EnsureSpace(target); |
7685 | 0 | target = ::_pbi::WireFormatLite::WriteEnumToArray( |
7686 | 0 | 3, this->_internal_num_topics(), target); |
7687 | 0 | } |
7688 | | |
7689 | | // required .solidity.yul.test.yul_fuzzer.Expression t1 = 4; |
7690 | 0 | if (cached_has_bits & 0x00000004u) { |
7691 | 0 | target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: |
7692 | 0 | InternalWriteMessage(4, _Internal::t1(this), |
7693 | 0 | _Internal::t1(this).GetCachedSize(), target, stream); |
7694 | 0 | } |
7695 | | |
7696 | | // required .solidity.yul.test.yul_fuzzer.Expression t2 = 5; |
7697 | 0 | if (cached_has_bits & 0x00000008u) { |
7698 | 0 | target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: |
7699 | 0 | InternalWriteMessage(5, _Internal::t2(this), |
7700 | 0 | _Internal::t2(this).GetCachedSize(), target, stream); |
7701 | 0 | } |
7702 | | |
7703 | | // required .solidity.yul.test.yul_fuzzer.Expression t3 = 6; |
7704 | 0 | if (cached_has_bits & 0x00000010u) { |
7705 | 0 | target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: |
7706 | 0 | InternalWriteMessage(6, _Internal::t3(this), |
7707 | 0 | _Internal::t3(this).GetCachedSize(), target, stream); |
7708 | 0 | } |
7709 | | |
7710 | | // required .solidity.yul.test.yul_fuzzer.Expression t4 = 7; |
7711 | 0 | if (cached_has_bits & 0x00000020u) { |
7712 | 0 | target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: |
7713 | 0 | InternalWriteMessage(7, _Internal::t4(this), |
7714 | 0 | _Internal::t4(this).GetCachedSize(), target, stream); |
7715 | 0 | } |
7716 | |
|
7717 | 0 | if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { |
7718 | 0 | target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( |
7719 | 0 | _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); |
7720 | 0 | } |
7721 | | // @@protoc_insertion_point(serialize_to_array_end:solidity.yul.test.yul_fuzzer.LogFunc) |
7722 | 0 | return target; |
7723 | 0 | } |
7724 | | |
7725 | 0 | size_t LogFunc::RequiredFieldsByteSizeFallback() const { |
7726 | | // @@protoc_insertion_point(required_fields_byte_size_fallback_start:solidity.yul.test.yul_fuzzer.LogFunc) |
7727 | 0 | size_t total_size = 0; |
7728 | |
|
7729 | 0 | if (_internal_has_pos()) { |
7730 | | // required .solidity.yul.test.yul_fuzzer.Expression pos = 1; |
7731 | 0 | total_size += 1 + |
7732 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
7733 | 0 | *_impl_.pos_); |
7734 | 0 | } |
7735 | |
|
7736 | 0 | if (_internal_has_size()) { |
7737 | | // required .solidity.yul.test.yul_fuzzer.Expression size = 2; |
7738 | 0 | total_size += 1 + |
7739 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
7740 | 0 | *_impl_.size_); |
7741 | 0 | } |
7742 | |
|
7743 | 0 | if (_internal_has_t1()) { |
7744 | | // required .solidity.yul.test.yul_fuzzer.Expression t1 = 4; |
7745 | 0 | total_size += 1 + |
7746 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
7747 | 0 | *_impl_.t1_); |
7748 | 0 | } |
7749 | |
|
7750 | 0 | if (_internal_has_t2()) { |
7751 | | // required .solidity.yul.test.yul_fuzzer.Expression t2 = 5; |
7752 | 0 | total_size += 1 + |
7753 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
7754 | 0 | *_impl_.t2_); |
7755 | 0 | } |
7756 | |
|
7757 | 0 | if (_internal_has_t3()) { |
7758 | | // required .solidity.yul.test.yul_fuzzer.Expression t3 = 6; |
7759 | 0 | total_size += 1 + |
7760 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
7761 | 0 | *_impl_.t3_); |
7762 | 0 | } |
7763 | |
|
7764 | 0 | if (_internal_has_t4()) { |
7765 | | // required .solidity.yul.test.yul_fuzzer.Expression t4 = 7; |
7766 | 0 | total_size += 1 + |
7767 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
7768 | 0 | *_impl_.t4_); |
7769 | 0 | } |
7770 | |
|
7771 | 0 | if (_internal_has_num_topics()) { |
7772 | | // required .solidity.yul.test.yul_fuzzer.LogFunc.NumTopics num_topics = 3; |
7773 | 0 | total_size += 1 + |
7774 | 0 | ::_pbi::WireFormatLite::EnumSize(this->_internal_num_topics()); |
7775 | 0 | } |
7776 | |
|
7777 | 0 | return total_size; |
7778 | 0 | } |
7779 | 13.9k | size_t LogFunc::ByteSizeLong() const { |
7780 | | // @@protoc_insertion_point(message_byte_size_start:solidity.yul.test.yul_fuzzer.LogFunc) |
7781 | 13.9k | size_t total_size = 0; |
7782 | | |
7783 | 13.9k | if (((_impl_._has_bits_[0] & 0x0000007f) ^ 0x0000007f) == 0) { // All required fields are present. |
7784 | | // required .solidity.yul.test.yul_fuzzer.Expression pos = 1; |
7785 | 13.9k | total_size += 1 + |
7786 | 13.9k | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
7787 | 13.9k | *_impl_.pos_); |
7788 | | |
7789 | | // required .solidity.yul.test.yul_fuzzer.Expression size = 2; |
7790 | 13.9k | total_size += 1 + |
7791 | 13.9k | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
7792 | 13.9k | *_impl_.size_); |
7793 | | |
7794 | | // required .solidity.yul.test.yul_fuzzer.Expression t1 = 4; |
7795 | 13.9k | total_size += 1 + |
7796 | 13.9k | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
7797 | 13.9k | *_impl_.t1_); |
7798 | | |
7799 | | // required .solidity.yul.test.yul_fuzzer.Expression t2 = 5; |
7800 | 13.9k | total_size += 1 + |
7801 | 13.9k | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
7802 | 13.9k | *_impl_.t2_); |
7803 | | |
7804 | | // required .solidity.yul.test.yul_fuzzer.Expression t3 = 6; |
7805 | 13.9k | total_size += 1 + |
7806 | 13.9k | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
7807 | 13.9k | *_impl_.t3_); |
7808 | | |
7809 | | // required .solidity.yul.test.yul_fuzzer.Expression t4 = 7; |
7810 | 13.9k | total_size += 1 + |
7811 | 13.9k | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
7812 | 13.9k | *_impl_.t4_); |
7813 | | |
7814 | | // required .solidity.yul.test.yul_fuzzer.LogFunc.NumTopics num_topics = 3; |
7815 | 13.9k | total_size += 1 + |
7816 | 13.9k | ::_pbi::WireFormatLite::EnumSize(this->_internal_num_topics()); |
7817 | | |
7818 | 13.9k | } else { |
7819 | 0 | total_size += RequiredFieldsByteSizeFallback(); |
7820 | 0 | } |
7821 | 13.9k | uint32_t cached_has_bits = 0; |
7822 | | // Prevent compiler warnings about cached_has_bits being unused |
7823 | 13.9k | (void) cached_has_bits; |
7824 | | |
7825 | 13.9k | return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); |
7826 | 13.9k | } |
7827 | | |
7828 | | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData LogFunc::_class_data_ = { |
7829 | | ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, |
7830 | | LogFunc::MergeImpl |
7831 | | }; |
7832 | 0 | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*LogFunc::GetClassData() const { return &_class_data_; } |
7833 | | |
7834 | | |
7835 | 0 | void LogFunc::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { |
7836 | 0 | auto* const _this = static_cast<LogFunc*>(&to_msg); |
7837 | 0 | auto& from = static_cast<const LogFunc&>(from_msg); |
7838 | | // @@protoc_insertion_point(class_specific_merge_from_start:solidity.yul.test.yul_fuzzer.LogFunc) |
7839 | 0 | GOOGLE_DCHECK_NE(&from, _this); |
7840 | 0 | uint32_t cached_has_bits = 0; |
7841 | 0 | (void) cached_has_bits; |
7842 | |
|
7843 | 0 | cached_has_bits = from._impl_._has_bits_[0]; |
7844 | 0 | if (cached_has_bits & 0x0000007fu) { |
7845 | 0 | if (cached_has_bits & 0x00000001u) { |
7846 | 0 | _this->_internal_mutable_pos()->::solidity::yul::test::yul_fuzzer::Expression::MergeFrom( |
7847 | 0 | from._internal_pos()); |
7848 | 0 | } |
7849 | 0 | if (cached_has_bits & 0x00000002u) { |
7850 | 0 | _this->_internal_mutable_size()->::solidity::yul::test::yul_fuzzer::Expression::MergeFrom( |
7851 | 0 | from._internal_size()); |
7852 | 0 | } |
7853 | 0 | if (cached_has_bits & 0x00000004u) { |
7854 | 0 | _this->_internal_mutable_t1()->::solidity::yul::test::yul_fuzzer::Expression::MergeFrom( |
7855 | 0 | from._internal_t1()); |
7856 | 0 | } |
7857 | 0 | if (cached_has_bits & 0x00000008u) { |
7858 | 0 | _this->_internal_mutable_t2()->::solidity::yul::test::yul_fuzzer::Expression::MergeFrom( |
7859 | 0 | from._internal_t2()); |
7860 | 0 | } |
7861 | 0 | if (cached_has_bits & 0x00000010u) { |
7862 | 0 | _this->_internal_mutable_t3()->::solidity::yul::test::yul_fuzzer::Expression::MergeFrom( |
7863 | 0 | from._internal_t3()); |
7864 | 0 | } |
7865 | 0 | if (cached_has_bits & 0x00000020u) { |
7866 | 0 | _this->_internal_mutable_t4()->::solidity::yul::test::yul_fuzzer::Expression::MergeFrom( |
7867 | 0 | from._internal_t4()); |
7868 | 0 | } |
7869 | 0 | if (cached_has_bits & 0x00000040u) { |
7870 | 0 | _this->_impl_.num_topics_ = from._impl_.num_topics_; |
7871 | 0 | } |
7872 | 0 | _this->_impl_._has_bits_[0] |= cached_has_bits; |
7873 | 0 | } |
7874 | 0 | _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); |
7875 | 0 | } |
7876 | | |
7877 | 0 | void LogFunc::CopyFrom(const LogFunc& from) { |
7878 | | // @@protoc_insertion_point(class_specific_copy_from_start:solidity.yul.test.yul_fuzzer.LogFunc) |
7879 | 0 | if (&from == this) return; |
7880 | 0 | Clear(); |
7881 | 0 | MergeFrom(from); |
7882 | 0 | } |
7883 | | |
7884 | 0 | bool LogFunc::IsInitialized() const { |
7885 | 0 | if (_Internal::MissingRequiredFields(_impl_._has_bits_)) return false; |
7886 | 0 | if (_internal_has_pos()) { |
7887 | 0 | if (!_impl_.pos_->IsInitialized()) return false; |
7888 | 0 | } |
7889 | 0 | if (_internal_has_size()) { |
7890 | 0 | if (!_impl_.size_->IsInitialized()) return false; |
7891 | 0 | } |
7892 | 0 | if (_internal_has_t1()) { |
7893 | 0 | if (!_impl_.t1_->IsInitialized()) return false; |
7894 | 0 | } |
7895 | 0 | if (_internal_has_t2()) { |
7896 | 0 | if (!_impl_.t2_->IsInitialized()) return false; |
7897 | 0 | } |
7898 | 0 | if (_internal_has_t3()) { |
7899 | 0 | if (!_impl_.t3_->IsInitialized()) return false; |
7900 | 0 | } |
7901 | 0 | if (_internal_has_t4()) { |
7902 | 0 | if (!_impl_.t4_->IsInitialized()) return false; |
7903 | 0 | } |
7904 | 0 | return true; |
7905 | 0 | } |
7906 | | |
7907 | 0 | void LogFunc::InternalSwap(LogFunc* other) { |
7908 | 0 | using std::swap; |
7909 | 0 | _internal_metadata_.InternalSwap(&other->_internal_metadata_); |
7910 | 0 | swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); |
7911 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::memswap< |
7912 | 0 | PROTOBUF_FIELD_OFFSET(LogFunc, _impl_.num_topics_) |
7913 | 0 | + sizeof(LogFunc::_impl_.num_topics_) |
7914 | 0 | - PROTOBUF_FIELD_OFFSET(LogFunc, _impl_.pos_)>( |
7915 | 0 | reinterpret_cast<char*>(&_impl_.pos_), |
7916 | 0 | reinterpret_cast<char*>(&other->_impl_.pos_)); |
7917 | 0 | } |
7918 | | |
7919 | 473k | ::PROTOBUF_NAMESPACE_ID::Metadata LogFunc::GetMetadata() const { |
7920 | 473k | return ::_pbi::AssignDescriptors( |
7921 | 473k | &descriptor_table_yulProto_2eproto_getter, &descriptor_table_yulProto_2eproto_once, |
7922 | 473k | file_level_metadata_yulProto_2eproto[17]); |
7923 | 473k | } |
7924 | | |
7925 | | // =================================================================== |
7926 | | |
7927 | | class Expression::_Internal { |
7928 | | public: |
7929 | | static const ::solidity::yul::test::yul_fuzzer::VarRef& varref(const Expression* msg); |
7930 | | static const ::solidity::yul::test::yul_fuzzer::Literal& cons(const Expression* msg); |
7931 | | static const ::solidity::yul::test::yul_fuzzer::BinaryOp& binop(const Expression* msg); |
7932 | | static const ::solidity::yul::test::yul_fuzzer::UnaryOp& unop(const Expression* msg); |
7933 | | static const ::solidity::yul::test::yul_fuzzer::TernaryOp& top(const Expression* msg); |
7934 | | static const ::solidity::yul::test::yul_fuzzer::NullaryOp& nop(const Expression* msg); |
7935 | | static const ::solidity::yul::test::yul_fuzzer::FunctionCall& func_expr(const Expression* msg); |
7936 | | static const ::solidity::yul::test::yul_fuzzer::LowLevelCall& lowcall(const Expression* msg); |
7937 | | static const ::solidity::yul::test::yul_fuzzer::Create& create(const Expression* msg); |
7938 | | static const ::solidity::yul::test::yul_fuzzer::UnaryOpData& unopdata(const Expression* msg); |
7939 | | }; |
7940 | | |
7941 | | const ::solidity::yul::test::yul_fuzzer::VarRef& |
7942 | 0 | Expression::_Internal::varref(const Expression* msg) { |
7943 | 0 | return *msg->_impl_.expr_oneof_.varref_; |
7944 | 0 | } |
7945 | | const ::solidity::yul::test::yul_fuzzer::Literal& |
7946 | 0 | Expression::_Internal::cons(const Expression* msg) { |
7947 | 0 | return *msg->_impl_.expr_oneof_.cons_; |
7948 | 0 | } |
7949 | | const ::solidity::yul::test::yul_fuzzer::BinaryOp& |
7950 | 0 | Expression::_Internal::binop(const Expression* msg) { |
7951 | 0 | return *msg->_impl_.expr_oneof_.binop_; |
7952 | 0 | } |
7953 | | const ::solidity::yul::test::yul_fuzzer::UnaryOp& |
7954 | 0 | Expression::_Internal::unop(const Expression* msg) { |
7955 | 0 | return *msg->_impl_.expr_oneof_.unop_; |
7956 | 0 | } |
7957 | | const ::solidity::yul::test::yul_fuzzer::TernaryOp& |
7958 | 0 | Expression::_Internal::top(const Expression* msg) { |
7959 | 0 | return *msg->_impl_.expr_oneof_.top_; |
7960 | 0 | } |
7961 | | const ::solidity::yul::test::yul_fuzzer::NullaryOp& |
7962 | 0 | Expression::_Internal::nop(const Expression* msg) { |
7963 | 0 | return *msg->_impl_.expr_oneof_.nop_; |
7964 | 0 | } |
7965 | | const ::solidity::yul::test::yul_fuzzer::FunctionCall& |
7966 | 0 | Expression::_Internal::func_expr(const Expression* msg) { |
7967 | 0 | return *msg->_impl_.expr_oneof_.func_expr_; |
7968 | 0 | } |
7969 | | const ::solidity::yul::test::yul_fuzzer::LowLevelCall& |
7970 | 0 | Expression::_Internal::lowcall(const Expression* msg) { |
7971 | 0 | return *msg->_impl_.expr_oneof_.lowcall_; |
7972 | 0 | } |
7973 | | const ::solidity::yul::test::yul_fuzzer::Create& |
7974 | 0 | Expression::_Internal::create(const Expression* msg) { |
7975 | 0 | return *msg->_impl_.expr_oneof_.create_; |
7976 | 0 | } |
7977 | | const ::solidity::yul::test::yul_fuzzer::UnaryOpData& |
7978 | 0 | Expression::_Internal::unopdata(const Expression* msg) { |
7979 | 0 | return *msg->_impl_.expr_oneof_.unopdata_; |
7980 | 0 | } |
7981 | 50.6k | void Expression::set_allocated_varref(::solidity::yul::test::yul_fuzzer::VarRef* varref) { |
7982 | 50.6k | ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); |
7983 | 50.6k | clear_expr_oneof(); |
7984 | 50.6k | if (varref) { |
7985 | 50.6k | ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = |
7986 | 50.6k | ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(varref); |
7987 | 50.6k | if (message_arena != submessage_arena) { |
7988 | 0 | varref = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( |
7989 | 0 | message_arena, varref, submessage_arena); |
7990 | 0 | } |
7991 | 50.6k | set_has_varref(); |
7992 | 50.6k | _impl_.expr_oneof_.varref_ = varref; |
7993 | 50.6k | } |
7994 | | // @@protoc_insertion_point(field_set_allocated:solidity.yul.test.yul_fuzzer.Expression.varref) |
7995 | 50.6k | } |
7996 | 50.6k | void Expression::set_allocated_cons(::solidity::yul::test::yul_fuzzer::Literal* cons) { |
7997 | 50.6k | ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); |
7998 | 50.6k | clear_expr_oneof(); |
7999 | 50.6k | if (cons) { |
8000 | 50.6k | ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = |
8001 | 50.6k | ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(cons); |
8002 | 50.6k | if (message_arena != submessage_arena) { |
8003 | 0 | cons = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( |
8004 | 0 | message_arena, cons, submessage_arena); |
8005 | 0 | } |
8006 | 50.6k | set_has_cons(); |
8007 | 50.6k | _impl_.expr_oneof_.cons_ = cons; |
8008 | 50.6k | } |
8009 | | // @@protoc_insertion_point(field_set_allocated:solidity.yul.test.yul_fuzzer.Expression.cons) |
8010 | 50.6k | } |
8011 | 0 | void Expression::set_allocated_binop(::solidity::yul::test::yul_fuzzer::BinaryOp* binop) { |
8012 | 0 | ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); |
8013 | 0 | clear_expr_oneof(); |
8014 | 0 | if (binop) { |
8015 | 0 | ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = |
8016 | 0 | ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(binop); |
8017 | 0 | if (message_arena != submessage_arena) { |
8018 | 0 | binop = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( |
8019 | 0 | message_arena, binop, submessage_arena); |
8020 | 0 | } |
8021 | 0 | set_has_binop(); |
8022 | 0 | _impl_.expr_oneof_.binop_ = binop; |
8023 | 0 | } |
8024 | | // @@protoc_insertion_point(field_set_allocated:solidity.yul.test.yul_fuzzer.Expression.binop) |
8025 | 0 | } |
8026 | 0 | void Expression::set_allocated_unop(::solidity::yul::test::yul_fuzzer::UnaryOp* unop) { |
8027 | 0 | ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); |
8028 | 0 | clear_expr_oneof(); |
8029 | 0 | if (unop) { |
8030 | 0 | ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = |
8031 | 0 | ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(unop); |
8032 | 0 | if (message_arena != submessage_arena) { |
8033 | 0 | unop = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( |
8034 | 0 | message_arena, unop, submessage_arena); |
8035 | 0 | } |
8036 | 0 | set_has_unop(); |
8037 | 0 | _impl_.expr_oneof_.unop_ = unop; |
8038 | 0 | } |
8039 | | // @@protoc_insertion_point(field_set_allocated:solidity.yul.test.yul_fuzzer.Expression.unop) |
8040 | 0 | } |
8041 | 0 | void Expression::set_allocated_top(::solidity::yul::test::yul_fuzzer::TernaryOp* top) { |
8042 | 0 | ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); |
8043 | 0 | clear_expr_oneof(); |
8044 | 0 | if (top) { |
8045 | 0 | ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = |
8046 | 0 | ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(top); |
8047 | 0 | if (message_arena != submessage_arena) { |
8048 | 0 | top = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( |
8049 | 0 | message_arena, top, submessage_arena); |
8050 | 0 | } |
8051 | 0 | set_has_top(); |
8052 | 0 | _impl_.expr_oneof_.top_ = top; |
8053 | 0 | } |
8054 | | // @@protoc_insertion_point(field_set_allocated:solidity.yul.test.yul_fuzzer.Expression.top) |
8055 | 0 | } |
8056 | 0 | void Expression::set_allocated_nop(::solidity::yul::test::yul_fuzzer::NullaryOp* nop) { |
8057 | 0 | ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); |
8058 | 0 | clear_expr_oneof(); |
8059 | 0 | if (nop) { |
8060 | 0 | ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = |
8061 | 0 | ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(nop); |
8062 | 0 | if (message_arena != submessage_arena) { |
8063 | 0 | nop = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( |
8064 | 0 | message_arena, nop, submessage_arena); |
8065 | 0 | } |
8066 | 0 | set_has_nop(); |
8067 | 0 | _impl_.expr_oneof_.nop_ = nop; |
8068 | 0 | } |
8069 | | // @@protoc_insertion_point(field_set_allocated:solidity.yul.test.yul_fuzzer.Expression.nop) |
8070 | 0 | } |
8071 | 0 | void Expression::set_allocated_func_expr(::solidity::yul::test::yul_fuzzer::FunctionCall* func_expr) { |
8072 | 0 | ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); |
8073 | 0 | clear_expr_oneof(); |
8074 | 0 | if (func_expr) { |
8075 | 0 | ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = |
8076 | 0 | ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(func_expr); |
8077 | 0 | if (message_arena != submessage_arena) { |
8078 | 0 | func_expr = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( |
8079 | 0 | message_arena, func_expr, submessage_arena); |
8080 | 0 | } |
8081 | 0 | set_has_func_expr(); |
8082 | 0 | _impl_.expr_oneof_.func_expr_ = func_expr; |
8083 | 0 | } |
8084 | | // @@protoc_insertion_point(field_set_allocated:solidity.yul.test.yul_fuzzer.Expression.func_expr) |
8085 | 0 | } |
8086 | 0 | void Expression::set_allocated_lowcall(::solidity::yul::test::yul_fuzzer::LowLevelCall* lowcall) { |
8087 | 0 | ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); |
8088 | 0 | clear_expr_oneof(); |
8089 | 0 | if (lowcall) { |
8090 | 0 | ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = |
8091 | 0 | ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(lowcall); |
8092 | 0 | if (message_arena != submessage_arena) { |
8093 | 0 | lowcall = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( |
8094 | 0 | message_arena, lowcall, submessage_arena); |
8095 | 0 | } |
8096 | 0 | set_has_lowcall(); |
8097 | 0 | _impl_.expr_oneof_.lowcall_ = lowcall; |
8098 | 0 | } |
8099 | | // @@protoc_insertion_point(field_set_allocated:solidity.yul.test.yul_fuzzer.Expression.lowcall) |
8100 | 0 | } |
8101 | 0 | void Expression::set_allocated_create(::solidity::yul::test::yul_fuzzer::Create* create) { |
8102 | 0 | ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); |
8103 | 0 | clear_expr_oneof(); |
8104 | 0 | if (create) { |
8105 | 0 | ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = |
8106 | 0 | ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(create); |
8107 | 0 | if (message_arena != submessage_arena) { |
8108 | 0 | create = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( |
8109 | 0 | message_arena, create, submessage_arena); |
8110 | 0 | } |
8111 | 0 | set_has_create(); |
8112 | 0 | _impl_.expr_oneof_.create_ = create; |
8113 | 0 | } |
8114 | | // @@protoc_insertion_point(field_set_allocated:solidity.yul.test.yul_fuzzer.Expression.create) |
8115 | 0 | } |
8116 | 0 | void Expression::set_allocated_unopdata(::solidity::yul::test::yul_fuzzer::UnaryOpData* unopdata) { |
8117 | 0 | ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); |
8118 | 0 | clear_expr_oneof(); |
8119 | 0 | if (unopdata) { |
8120 | 0 | ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = |
8121 | 0 | ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(unopdata); |
8122 | 0 | if (message_arena != submessage_arena) { |
8123 | 0 | unopdata = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( |
8124 | 0 | message_arena, unopdata, submessage_arena); |
8125 | 0 | } |
8126 | 0 | set_has_unopdata(); |
8127 | 0 | _impl_.expr_oneof_.unopdata_ = unopdata; |
8128 | 0 | } |
8129 | | // @@protoc_insertion_point(field_set_allocated:solidity.yul.test.yul_fuzzer.Expression.unopdata) |
8130 | 0 | } |
8131 | | Expression::Expression(::PROTOBUF_NAMESPACE_ID::Arena* arena, |
8132 | | bool is_message_owned) |
8133 | 4.40M | : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { |
8134 | 4.40M | SharedCtor(arena, is_message_owned); |
8135 | | // @@protoc_insertion_point(arena_constructor:solidity.yul.test.yul_fuzzer.Expression) |
8136 | 4.40M | } |
8137 | | Expression::Expression(const Expression& from) |
8138 | 0 | : ::PROTOBUF_NAMESPACE_ID::Message() { |
8139 | 0 | Expression* const _this = this; (void)_this; |
8140 | 0 | new (&_impl_) Impl_{ |
8141 | 0 | decltype(_impl_.expr_oneof_){} |
8142 | 0 | , /*decltype(_impl_._cached_size_)*/{} |
8143 | 0 | , /*decltype(_impl_._oneof_case_)*/{}}; |
8144 | |
|
8145 | 0 | _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); |
8146 | 0 | clear_has_expr_oneof(); |
8147 | 0 | switch (from.expr_oneof_case()) { |
8148 | 0 | case kVarref: { |
8149 | 0 | _this->_internal_mutable_varref()->::solidity::yul::test::yul_fuzzer::VarRef::MergeFrom( |
8150 | 0 | from._internal_varref()); |
8151 | 0 | break; |
8152 | 0 | } |
8153 | 0 | case kCons: { |
8154 | 0 | _this->_internal_mutable_cons()->::solidity::yul::test::yul_fuzzer::Literal::MergeFrom( |
8155 | 0 | from._internal_cons()); |
8156 | 0 | break; |
8157 | 0 | } |
8158 | 0 | case kBinop: { |
8159 | 0 | _this->_internal_mutable_binop()->::solidity::yul::test::yul_fuzzer::BinaryOp::MergeFrom( |
8160 | 0 | from._internal_binop()); |
8161 | 0 | break; |
8162 | 0 | } |
8163 | 0 | case kUnop: { |
8164 | 0 | _this->_internal_mutable_unop()->::solidity::yul::test::yul_fuzzer::UnaryOp::MergeFrom( |
8165 | 0 | from._internal_unop()); |
8166 | 0 | break; |
8167 | 0 | } |
8168 | 0 | case kTop: { |
8169 | 0 | _this->_internal_mutable_top()->::solidity::yul::test::yul_fuzzer::TernaryOp::MergeFrom( |
8170 | 0 | from._internal_top()); |
8171 | 0 | break; |
8172 | 0 | } |
8173 | 0 | case kNop: { |
8174 | 0 | _this->_internal_mutable_nop()->::solidity::yul::test::yul_fuzzer::NullaryOp::MergeFrom( |
8175 | 0 | from._internal_nop()); |
8176 | 0 | break; |
8177 | 0 | } |
8178 | 0 | case kFuncExpr: { |
8179 | 0 | _this->_internal_mutable_func_expr()->::solidity::yul::test::yul_fuzzer::FunctionCall::MergeFrom( |
8180 | 0 | from._internal_func_expr()); |
8181 | 0 | break; |
8182 | 0 | } |
8183 | 0 | case kLowcall: { |
8184 | 0 | _this->_internal_mutable_lowcall()->::solidity::yul::test::yul_fuzzer::LowLevelCall::MergeFrom( |
8185 | 0 | from._internal_lowcall()); |
8186 | 0 | break; |
8187 | 0 | } |
8188 | 0 | case kCreate: { |
8189 | 0 | _this->_internal_mutable_create()->::solidity::yul::test::yul_fuzzer::Create::MergeFrom( |
8190 | 0 | from._internal_create()); |
8191 | 0 | break; |
8192 | 0 | } |
8193 | 0 | case kUnopdata: { |
8194 | 0 | _this->_internal_mutable_unopdata()->::solidity::yul::test::yul_fuzzer::UnaryOpData::MergeFrom( |
8195 | 0 | from._internal_unopdata()); |
8196 | 0 | break; |
8197 | 0 | } |
8198 | 0 | case EXPR_ONEOF_NOT_SET: { |
8199 | 0 | break; |
8200 | 0 | } |
8201 | 0 | } |
8202 | | // @@protoc_insertion_point(copy_constructor:solidity.yul.test.yul_fuzzer.Expression) |
8203 | 0 | } |
8204 | | |
8205 | | inline void Expression::SharedCtor( |
8206 | 4.40M | ::_pb::Arena* arena, bool is_message_owned) { |
8207 | 4.40M | (void)arena; |
8208 | 4.40M | (void)is_message_owned; |
8209 | 4.40M | new (&_impl_) Impl_{ |
8210 | 4.40M | decltype(_impl_.expr_oneof_){} |
8211 | 4.40M | , /*decltype(_impl_._cached_size_)*/{} |
8212 | 4.40M | , /*decltype(_impl_._oneof_case_)*/{} |
8213 | 4.40M | }; |
8214 | 4.40M | clear_has_expr_oneof(); |
8215 | 4.40M | } |
8216 | | |
8217 | 4.40M | Expression::~Expression() { |
8218 | | // @@protoc_insertion_point(destructor:solidity.yul.test.yul_fuzzer.Expression) |
8219 | 4.40M | if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { |
8220 | 0 | (void)arena; |
8221 | 0 | return; |
8222 | 0 | } |
8223 | 4.40M | SharedDtor(); |
8224 | 4.40M | } |
8225 | | |
8226 | 4.40M | inline void Expression::SharedDtor() { |
8227 | 4.40M | GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); |
8228 | 4.40M | if (has_expr_oneof()) { |
8229 | 1.19M | clear_expr_oneof(); |
8230 | 1.19M | } |
8231 | 4.40M | } |
8232 | | |
8233 | 0 | void Expression::SetCachedSize(int size) const { |
8234 | 0 | _impl_._cached_size_.Set(size); |
8235 | 0 | } |
8236 | | |
8237 | 2.24M | void Expression::clear_expr_oneof() { |
8238 | | // @@protoc_insertion_point(one_of_clear_start:solidity.yul.test.yul_fuzzer.Expression) |
8239 | 2.24M | switch (expr_oneof_case()) { |
8240 | 291k | case kVarref: { |
8241 | 291k | if (GetArenaForAllocation() == nullptr) { |
8242 | 291k | delete _impl_.expr_oneof_.varref_; |
8243 | 291k | } |
8244 | 291k | break; |
8245 | 0 | } |
8246 | 261k | case kCons: { |
8247 | 261k | if (GetArenaForAllocation() == nullptr) { |
8248 | 261k | delete _impl_.expr_oneof_.cons_; |
8249 | 261k | } |
8250 | 261k | break; |
8251 | 0 | } |
8252 | 213k | case kBinop: { |
8253 | 213k | if (GetArenaForAllocation() == nullptr) { |
8254 | 213k | delete _impl_.expr_oneof_.binop_; |
8255 | 213k | } |
8256 | 213k | break; |
8257 | 0 | } |
8258 | 103k | case kUnop: { |
8259 | 103k | if (GetArenaForAllocation() == nullptr) { |
8260 | 103k | delete _impl_.expr_oneof_.unop_; |
8261 | 103k | } |
8262 | 103k | break; |
8263 | 0 | } |
8264 | 46.2k | case kTop: { |
8265 | 46.2k | if (GetArenaForAllocation() == nullptr) { |
8266 | 46.2k | delete _impl_.expr_oneof_.top_; |
8267 | 46.2k | } |
8268 | 46.2k | break; |
8269 | 0 | } |
8270 | 97.1k | case kNop: { |
8271 | 97.1k | if (GetArenaForAllocation() == nullptr) { |
8272 | 97.1k | delete _impl_.expr_oneof_.nop_; |
8273 | 97.1k | } |
8274 | 97.1k | break; |
8275 | 0 | } |
8276 | 59.1k | case kFuncExpr: { |
8277 | 59.1k | if (GetArenaForAllocation() == nullptr) { |
8278 | 59.1k | delete _impl_.expr_oneof_.func_expr_; |
8279 | 59.1k | } |
8280 | 59.1k | break; |
8281 | 0 | } |
8282 | 47.9k | case kLowcall: { |
8283 | 47.9k | if (GetArenaForAllocation() == nullptr) { |
8284 | 47.9k | delete _impl_.expr_oneof_.lowcall_; |
8285 | 47.9k | } |
8286 | 47.9k | break; |
8287 | 0 | } |
8288 | 23.3k | case kCreate: { |
8289 | 23.3k | if (GetArenaForAllocation() == nullptr) { |
8290 | 23.3k | delete _impl_.expr_oneof_.create_; |
8291 | 23.3k | } |
8292 | 23.3k | break; |
8293 | 0 | } |
8294 | 53.3k | case kUnopdata: { |
8295 | 53.3k | if (GetArenaForAllocation() == nullptr) { |
8296 | 53.3k | delete _impl_.expr_oneof_.unopdata_; |
8297 | 53.3k | } |
8298 | 53.3k | break; |
8299 | 0 | } |
8300 | 1.04M | case EXPR_ONEOF_NOT_SET: { |
8301 | 1.04M | break; |
8302 | 0 | } |
8303 | 2.24M | } |
8304 | 2.24M | _impl_._oneof_case_[0] = EXPR_ONEOF_NOT_SET; |
8305 | 2.24M | } |
8306 | | |
8307 | | |
8308 | 943k | void Expression::Clear() { |
8309 | | // @@protoc_insertion_point(message_clear_start:solidity.yul.test.yul_fuzzer.Expression) |
8310 | 943k | uint32_t cached_has_bits = 0; |
8311 | | // Prevent compiler warnings about cached_has_bits being unused |
8312 | 943k | (void) cached_has_bits; |
8313 | | |
8314 | 943k | clear_expr_oneof(); |
8315 | 943k | _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); |
8316 | 943k | } |
8317 | | |
8318 | 0 | const char* Expression::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { |
8319 | 0 | #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure |
8320 | 0 | while (!ctx->Done(&ptr)) { |
8321 | 0 | uint32_t tag; |
8322 | 0 | ptr = ::_pbi::ReadTag(ptr, &tag); |
8323 | 0 | switch (tag >> 3) { |
8324 | | // .solidity.yul.test.yul_fuzzer.VarRef varref = 1; |
8325 | 0 | case 1: |
8326 | 0 | if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 10)) { |
8327 | 0 | ptr = ctx->ParseMessage(_internal_mutable_varref(), ptr); |
8328 | 0 | CHK_(ptr); |
8329 | 0 | } else |
8330 | 0 | goto handle_unusual; |
8331 | 0 | continue; |
8332 | | // .solidity.yul.test.yul_fuzzer.Literal cons = 2; |
8333 | 0 | case 2: |
8334 | 0 | if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 18)) { |
8335 | 0 | ptr = ctx->ParseMessage(_internal_mutable_cons(), ptr); |
8336 | 0 | CHK_(ptr); |
8337 | 0 | } else |
8338 | 0 | goto handle_unusual; |
8339 | 0 | continue; |
8340 | | // .solidity.yul.test.yul_fuzzer.BinaryOp binop = 3; |
8341 | 0 | case 3: |
8342 | 0 | if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 26)) { |
8343 | 0 | ptr = ctx->ParseMessage(_internal_mutable_binop(), ptr); |
8344 | 0 | CHK_(ptr); |
8345 | 0 | } else |
8346 | 0 | goto handle_unusual; |
8347 | 0 | continue; |
8348 | | // .solidity.yul.test.yul_fuzzer.UnaryOp unop = 4; |
8349 | 0 | case 4: |
8350 | 0 | if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 34)) { |
8351 | 0 | ptr = ctx->ParseMessage(_internal_mutable_unop(), ptr); |
8352 | 0 | CHK_(ptr); |
8353 | 0 | } else |
8354 | 0 | goto handle_unusual; |
8355 | 0 | continue; |
8356 | | // .solidity.yul.test.yul_fuzzer.TernaryOp top = 5; |
8357 | 0 | case 5: |
8358 | 0 | if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 42)) { |
8359 | 0 | ptr = ctx->ParseMessage(_internal_mutable_top(), ptr); |
8360 | 0 | CHK_(ptr); |
8361 | 0 | } else |
8362 | 0 | goto handle_unusual; |
8363 | 0 | continue; |
8364 | | // .solidity.yul.test.yul_fuzzer.NullaryOp nop = 6; |
8365 | 0 | case 6: |
8366 | 0 | if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 50)) { |
8367 | 0 | ptr = ctx->ParseMessage(_internal_mutable_nop(), ptr); |
8368 | 0 | CHK_(ptr); |
8369 | 0 | } else |
8370 | 0 | goto handle_unusual; |
8371 | 0 | continue; |
8372 | | // .solidity.yul.test.yul_fuzzer.FunctionCall func_expr = 7; |
8373 | 0 | case 7: |
8374 | 0 | if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 58)) { |
8375 | 0 | ptr = ctx->ParseMessage(_internal_mutable_func_expr(), ptr); |
8376 | 0 | CHK_(ptr); |
8377 | 0 | } else |
8378 | 0 | goto handle_unusual; |
8379 | 0 | continue; |
8380 | | // .solidity.yul.test.yul_fuzzer.LowLevelCall lowcall = 8; |
8381 | 0 | case 8: |
8382 | 0 | if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 66)) { |
8383 | 0 | ptr = ctx->ParseMessage(_internal_mutable_lowcall(), ptr); |
8384 | 0 | CHK_(ptr); |
8385 | 0 | } else |
8386 | 0 | goto handle_unusual; |
8387 | 0 | continue; |
8388 | | // .solidity.yul.test.yul_fuzzer.Create create = 9; |
8389 | 0 | case 9: |
8390 | 0 | if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 74)) { |
8391 | 0 | ptr = ctx->ParseMessage(_internal_mutable_create(), ptr); |
8392 | 0 | CHK_(ptr); |
8393 | 0 | } else |
8394 | 0 | goto handle_unusual; |
8395 | 0 | continue; |
8396 | | // .solidity.yul.test.yul_fuzzer.UnaryOpData unopdata = 10; |
8397 | 0 | case 10: |
8398 | 0 | if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 82)) { |
8399 | 0 | ptr = ctx->ParseMessage(_internal_mutable_unopdata(), ptr); |
8400 | 0 | CHK_(ptr); |
8401 | 0 | } else |
8402 | 0 | goto handle_unusual; |
8403 | 0 | continue; |
8404 | 0 | default: |
8405 | 0 | goto handle_unusual; |
8406 | 0 | } // switch |
8407 | 0 | handle_unusual: |
8408 | 0 | if ((tag == 0) || ((tag & 7) == 4)) { |
8409 | 0 | CHK_(ptr); |
8410 | 0 | ctx->SetLastTag(tag); |
8411 | 0 | goto message_done; |
8412 | 0 | } |
8413 | 0 | ptr = UnknownFieldParse( |
8414 | 0 | tag, |
8415 | 0 | _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), |
8416 | 0 | ptr, ctx); |
8417 | 0 | CHK_(ptr != nullptr); |
8418 | 0 | } // while |
8419 | 0 | message_done: |
8420 | 0 | return ptr; |
8421 | 0 | failure: |
8422 | 0 | ptr = nullptr; |
8423 | 0 | goto message_done; |
8424 | 0 | #undef CHK_ |
8425 | 0 | } |
8426 | | |
8427 | | uint8_t* Expression::_InternalSerialize( |
8428 | 0 | uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { |
8429 | | // @@protoc_insertion_point(serialize_to_array_start:solidity.yul.test.yul_fuzzer.Expression) |
8430 | 0 | uint32_t cached_has_bits = 0; |
8431 | 0 | (void) cached_has_bits; |
8432 | |
|
8433 | 0 | switch (expr_oneof_case()) { |
8434 | 0 | case kVarref: { |
8435 | 0 | target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: |
8436 | 0 | InternalWriteMessage(1, _Internal::varref(this), |
8437 | 0 | _Internal::varref(this).GetCachedSize(), target, stream); |
8438 | 0 | break; |
8439 | 0 | } |
8440 | 0 | case kCons: { |
8441 | 0 | target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: |
8442 | 0 | InternalWriteMessage(2, _Internal::cons(this), |
8443 | 0 | _Internal::cons(this).GetCachedSize(), target, stream); |
8444 | 0 | break; |
8445 | 0 | } |
8446 | 0 | case kBinop: { |
8447 | 0 | target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: |
8448 | 0 | InternalWriteMessage(3, _Internal::binop(this), |
8449 | 0 | _Internal::binop(this).GetCachedSize(), target, stream); |
8450 | 0 | break; |
8451 | 0 | } |
8452 | 0 | case kUnop: { |
8453 | 0 | target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: |
8454 | 0 | InternalWriteMessage(4, _Internal::unop(this), |
8455 | 0 | _Internal::unop(this).GetCachedSize(), target, stream); |
8456 | 0 | break; |
8457 | 0 | } |
8458 | 0 | case kTop: { |
8459 | 0 | target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: |
8460 | 0 | InternalWriteMessage(5, _Internal::top(this), |
8461 | 0 | _Internal::top(this).GetCachedSize(), target, stream); |
8462 | 0 | break; |
8463 | 0 | } |
8464 | 0 | case kNop: { |
8465 | 0 | target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: |
8466 | 0 | InternalWriteMessage(6, _Internal::nop(this), |
8467 | 0 | _Internal::nop(this).GetCachedSize(), target, stream); |
8468 | 0 | break; |
8469 | 0 | } |
8470 | 0 | case kFuncExpr: { |
8471 | 0 | target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: |
8472 | 0 | InternalWriteMessage(7, _Internal::func_expr(this), |
8473 | 0 | _Internal::func_expr(this).GetCachedSize(), target, stream); |
8474 | 0 | break; |
8475 | 0 | } |
8476 | 0 | case kLowcall: { |
8477 | 0 | target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: |
8478 | 0 | InternalWriteMessage(8, _Internal::lowcall(this), |
8479 | 0 | _Internal::lowcall(this).GetCachedSize(), target, stream); |
8480 | 0 | break; |
8481 | 0 | } |
8482 | 0 | case kCreate: { |
8483 | 0 | target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: |
8484 | 0 | InternalWriteMessage(9, _Internal::create(this), |
8485 | 0 | _Internal::create(this).GetCachedSize(), target, stream); |
8486 | 0 | break; |
8487 | 0 | } |
8488 | 0 | case kUnopdata: { |
8489 | 0 | target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: |
8490 | 0 | InternalWriteMessage(10, _Internal::unopdata(this), |
8491 | 0 | _Internal::unopdata(this).GetCachedSize(), target, stream); |
8492 | 0 | break; |
8493 | 0 | } |
8494 | 0 | default: ; |
8495 | 0 | } |
8496 | 0 | if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { |
8497 | 0 | target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( |
8498 | 0 | _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); |
8499 | 0 | } |
8500 | | // @@protoc_insertion_point(serialize_to_array_end:solidity.yul.test.yul_fuzzer.Expression) |
8501 | 0 | return target; |
8502 | 0 | } |
8503 | | |
8504 | 3.77M | size_t Expression::ByteSizeLong() const { |
8505 | | // @@protoc_insertion_point(message_byte_size_start:solidity.yul.test.yul_fuzzer.Expression) |
8506 | 3.77M | size_t total_size = 0; |
8507 | | |
8508 | 3.77M | uint32_t cached_has_bits = 0; |
8509 | | // Prevent compiler warnings about cached_has_bits being unused |
8510 | 3.77M | (void) cached_has_bits; |
8511 | | |
8512 | 3.77M | switch (expr_oneof_case()) { |
8513 | | // .solidity.yul.test.yul_fuzzer.VarRef varref = 1; |
8514 | 286k | case kVarref: { |
8515 | 286k | total_size += 1 + |
8516 | 286k | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
8517 | 286k | *_impl_.expr_oneof_.varref_); |
8518 | 286k | break; |
8519 | 0 | } |
8520 | | // .solidity.yul.test.yul_fuzzer.Literal cons = 2; |
8521 | 248k | case kCons: { |
8522 | 248k | total_size += 1 + |
8523 | 248k | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
8524 | 248k | *_impl_.expr_oneof_.cons_); |
8525 | 248k | break; |
8526 | 0 | } |
8527 | | // .solidity.yul.test.yul_fuzzer.BinaryOp binop = 3; |
8528 | 203k | case kBinop: { |
8529 | 203k | total_size += 1 + |
8530 | 203k | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
8531 | 203k | *_impl_.expr_oneof_.binop_); |
8532 | 203k | break; |
8533 | 0 | } |
8534 | | // .solidity.yul.test.yul_fuzzer.UnaryOp unop = 4; |
8535 | 95.7k | case kUnop: { |
8536 | 95.7k | total_size += 1 + |
8537 | 95.7k | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
8538 | 95.7k | *_impl_.expr_oneof_.unop_); |
8539 | 95.7k | break; |
8540 | 0 | } |
8541 | | // .solidity.yul.test.yul_fuzzer.TernaryOp top = 5; |
8542 | 42.8k | case kTop: { |
8543 | 42.8k | total_size += 1 + |
8544 | 42.8k | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
8545 | 42.8k | *_impl_.expr_oneof_.top_); |
8546 | 42.8k | break; |
8547 | 0 | } |
8548 | | // .solidity.yul.test.yul_fuzzer.NullaryOp nop = 6; |
8549 | 88.5k | case kNop: { |
8550 | 88.5k | total_size += 1 + |
8551 | 88.5k | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
8552 | 88.5k | *_impl_.expr_oneof_.nop_); |
8553 | 88.5k | break; |
8554 | 0 | } |
8555 | | // .solidity.yul.test.yul_fuzzer.FunctionCall func_expr = 7; |
8556 | 56.8k | case kFuncExpr: { |
8557 | 56.8k | total_size += 1 + |
8558 | 56.8k | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
8559 | 56.8k | *_impl_.expr_oneof_.func_expr_); |
8560 | 56.8k | break; |
8561 | 0 | } |
8562 | | // .solidity.yul.test.yul_fuzzer.LowLevelCall lowcall = 8; |
8563 | 42.8k | case kLowcall: { |
8564 | 42.8k | total_size += 1 + |
8565 | 42.8k | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
8566 | 42.8k | *_impl_.expr_oneof_.lowcall_); |
8567 | 42.8k | break; |
8568 | 0 | } |
8569 | | // .solidity.yul.test.yul_fuzzer.Create create = 9; |
8570 | 19.2k | case kCreate: { |
8571 | 19.2k | total_size += 1 + |
8572 | 19.2k | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
8573 | 19.2k | *_impl_.expr_oneof_.create_); |
8574 | 19.2k | break; |
8575 | 0 | } |
8576 | | // .solidity.yul.test.yul_fuzzer.UnaryOpData unopdata = 10; |
8577 | 51.9k | case kUnopdata: { |
8578 | 51.9k | total_size += 1 + |
8579 | 51.9k | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
8580 | 51.9k | *_impl_.expr_oneof_.unopdata_); |
8581 | 51.9k | break; |
8582 | 0 | } |
8583 | 2.63M | case EXPR_ONEOF_NOT_SET: { |
8584 | 2.63M | break; |
8585 | 0 | } |
8586 | 3.77M | } |
8587 | 3.77M | return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); |
8588 | 3.77M | } |
8589 | | |
8590 | | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData Expression::_class_data_ = { |
8591 | | ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, |
8592 | | Expression::MergeImpl |
8593 | | }; |
8594 | 1.41M | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*Expression::GetClassData() const { return &_class_data_; } |
8595 | | |
8596 | | |
8597 | 471k | void Expression::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { |
8598 | 471k | auto* const _this = static_cast<Expression*>(&to_msg); |
8599 | 471k | auto& from = static_cast<const Expression&>(from_msg); |
8600 | | // @@protoc_insertion_point(class_specific_merge_from_start:solidity.yul.test.yul_fuzzer.Expression) |
8601 | 471k | GOOGLE_DCHECK_NE(&from, _this); |
8602 | 471k | uint32_t cached_has_bits = 0; |
8603 | 471k | (void) cached_has_bits; |
8604 | | |
8605 | 471k | switch (from.expr_oneof_case()) { |
8606 | 0 | case kVarref: { |
8607 | 0 | _this->_internal_mutable_varref()->::solidity::yul::test::yul_fuzzer::VarRef::MergeFrom( |
8608 | 0 | from._internal_varref()); |
8609 | 0 | break; |
8610 | 0 | } |
8611 | 0 | case kCons: { |
8612 | 0 | _this->_internal_mutable_cons()->::solidity::yul::test::yul_fuzzer::Literal::MergeFrom( |
8613 | 0 | from._internal_cons()); |
8614 | 0 | break; |
8615 | 0 | } |
8616 | 0 | case kBinop: { |
8617 | 0 | _this->_internal_mutable_binop()->::solidity::yul::test::yul_fuzzer::BinaryOp::MergeFrom( |
8618 | 0 | from._internal_binop()); |
8619 | 0 | break; |
8620 | 0 | } |
8621 | 0 | case kUnop: { |
8622 | 0 | _this->_internal_mutable_unop()->::solidity::yul::test::yul_fuzzer::UnaryOp::MergeFrom( |
8623 | 0 | from._internal_unop()); |
8624 | 0 | break; |
8625 | 0 | } |
8626 | 0 | case kTop: { |
8627 | 0 | _this->_internal_mutable_top()->::solidity::yul::test::yul_fuzzer::TernaryOp::MergeFrom( |
8628 | 0 | from._internal_top()); |
8629 | 0 | break; |
8630 | 0 | } |
8631 | 0 | case kNop: { |
8632 | 0 | _this->_internal_mutable_nop()->::solidity::yul::test::yul_fuzzer::NullaryOp::MergeFrom( |
8633 | 0 | from._internal_nop()); |
8634 | 0 | break; |
8635 | 0 | } |
8636 | 0 | case kFuncExpr: { |
8637 | 0 | _this->_internal_mutable_func_expr()->::solidity::yul::test::yul_fuzzer::FunctionCall::MergeFrom( |
8638 | 0 | from._internal_func_expr()); |
8639 | 0 | break; |
8640 | 0 | } |
8641 | 0 | case kLowcall: { |
8642 | 0 | _this->_internal_mutable_lowcall()->::solidity::yul::test::yul_fuzzer::LowLevelCall::MergeFrom( |
8643 | 0 | from._internal_lowcall()); |
8644 | 0 | break; |
8645 | 0 | } |
8646 | 0 | case kCreate: { |
8647 | 0 | _this->_internal_mutable_create()->::solidity::yul::test::yul_fuzzer::Create::MergeFrom( |
8648 | 0 | from._internal_create()); |
8649 | 0 | break; |
8650 | 0 | } |
8651 | 0 | case kUnopdata: { |
8652 | 0 | _this->_internal_mutable_unopdata()->::solidity::yul::test::yul_fuzzer::UnaryOpData::MergeFrom( |
8653 | 0 | from._internal_unopdata()); |
8654 | 0 | break; |
8655 | 0 | } |
8656 | 471k | case EXPR_ONEOF_NOT_SET: { |
8657 | 471k | break; |
8658 | 0 | } |
8659 | 471k | } |
8660 | 471k | _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); |
8661 | 471k | } |
8662 | | |
8663 | 0 | void Expression::CopyFrom(const Expression& from) { |
8664 | | // @@protoc_insertion_point(class_specific_copy_from_start:solidity.yul.test.yul_fuzzer.Expression) |
8665 | 0 | if (&from == this) return; |
8666 | 0 | Clear(); |
8667 | 0 | MergeFrom(from); |
8668 | 0 | } |
8669 | | |
8670 | 0 | bool Expression::IsInitialized() const { |
8671 | 0 | switch (expr_oneof_case()) { |
8672 | 0 | case kVarref: { |
8673 | 0 | if (_internal_has_varref()) { |
8674 | 0 | if (!_impl_.expr_oneof_.varref_->IsInitialized()) return false; |
8675 | 0 | } |
8676 | 0 | break; |
8677 | 0 | } |
8678 | 0 | case kCons: { |
8679 | 0 | break; |
8680 | 0 | } |
8681 | 0 | case kBinop: { |
8682 | 0 | if (_internal_has_binop()) { |
8683 | 0 | if (!_impl_.expr_oneof_.binop_->IsInitialized()) return false; |
8684 | 0 | } |
8685 | 0 | break; |
8686 | 0 | } |
8687 | 0 | case kUnop: { |
8688 | 0 | if (_internal_has_unop()) { |
8689 | 0 | if (!_impl_.expr_oneof_.unop_->IsInitialized()) return false; |
8690 | 0 | } |
8691 | 0 | break; |
8692 | 0 | } |
8693 | 0 | case kTop: { |
8694 | 0 | if (_internal_has_top()) { |
8695 | 0 | if (!_impl_.expr_oneof_.top_->IsInitialized()) return false; |
8696 | 0 | } |
8697 | 0 | break; |
8698 | 0 | } |
8699 | 0 | case kNop: { |
8700 | 0 | if (_internal_has_nop()) { |
8701 | 0 | if (!_impl_.expr_oneof_.nop_->IsInitialized()) return false; |
8702 | 0 | } |
8703 | 0 | break; |
8704 | 0 | } |
8705 | 0 | case kFuncExpr: { |
8706 | 0 | if (_internal_has_func_expr()) { |
8707 | 0 | if (!_impl_.expr_oneof_.func_expr_->IsInitialized()) return false; |
8708 | 0 | } |
8709 | 0 | break; |
8710 | 0 | } |
8711 | 0 | case kLowcall: { |
8712 | 0 | if (_internal_has_lowcall()) { |
8713 | 0 | if (!_impl_.expr_oneof_.lowcall_->IsInitialized()) return false; |
8714 | 0 | } |
8715 | 0 | break; |
8716 | 0 | } |
8717 | 0 | case kCreate: { |
8718 | 0 | if (_internal_has_create()) { |
8719 | 0 | if (!_impl_.expr_oneof_.create_->IsInitialized()) return false; |
8720 | 0 | } |
8721 | 0 | break; |
8722 | 0 | } |
8723 | 0 | case kUnopdata: { |
8724 | 0 | if (_internal_has_unopdata()) { |
8725 | 0 | if (!_impl_.expr_oneof_.unopdata_->IsInitialized()) return false; |
8726 | 0 | } |
8727 | 0 | break; |
8728 | 0 | } |
8729 | 0 | case EXPR_ONEOF_NOT_SET: { |
8730 | 0 | break; |
8731 | 0 | } |
8732 | 0 | } |
8733 | 0 | return true; |
8734 | 0 | } |
8735 | | |
8736 | 0 | void Expression::InternalSwap(Expression* other) { |
8737 | 0 | using std::swap; |
8738 | 0 | _internal_metadata_.InternalSwap(&other->_internal_metadata_); |
8739 | 0 | swap(_impl_.expr_oneof_, other->_impl_.expr_oneof_); |
8740 | 0 | swap(_impl_._oneof_case_[0], other->_impl_._oneof_case_[0]); |
8741 | 0 | } |
8742 | | |
8743 | 81.2M | ::PROTOBUF_NAMESPACE_ID::Metadata Expression::GetMetadata() const { |
8744 | 81.2M | return ::_pbi::AssignDescriptors( |
8745 | 81.2M | &descriptor_table_yulProto_2eproto_getter, &descriptor_table_yulProto_2eproto_once, |
8746 | 81.2M | file_level_metadata_yulProto_2eproto[18]); |
8747 | 81.2M | } |
8748 | | |
8749 | | // =================================================================== |
8750 | | |
8751 | | class AssignmentStatement::_Internal { |
8752 | | public: |
8753 | | using HasBits = decltype(std::declval<AssignmentStatement>()._impl_._has_bits_); |
8754 | | static const ::solidity::yul::test::yul_fuzzer::VarRef& ref_id(const AssignmentStatement* msg); |
8755 | 0 | static void set_has_ref_id(HasBits* has_bits) { |
8756 | 0 | (*has_bits)[0] |= 1u; |
8757 | 0 | } |
8758 | | static const ::solidity::yul::test::yul_fuzzer::Expression& expr(const AssignmentStatement* msg); |
8759 | 0 | static void set_has_expr(HasBits* has_bits) { |
8760 | 0 | (*has_bits)[0] |= 2u; |
8761 | 0 | } |
8762 | 0 | static bool MissingRequiredFields(const HasBits& has_bits) { |
8763 | 0 | return ((has_bits[0] & 0x00000003) ^ 0x00000003) != 0; |
8764 | 0 | } |
8765 | | }; |
8766 | | |
8767 | | const ::solidity::yul::test::yul_fuzzer::VarRef& |
8768 | 0 | AssignmentStatement::_Internal::ref_id(const AssignmentStatement* msg) { |
8769 | 0 | return *msg->_impl_.ref_id_; |
8770 | 0 | } |
8771 | | const ::solidity::yul::test::yul_fuzzer::Expression& |
8772 | 0 | AssignmentStatement::_Internal::expr(const AssignmentStatement* msg) { |
8773 | 0 | return *msg->_impl_.expr_; |
8774 | 0 | } |
8775 | | AssignmentStatement::AssignmentStatement(::PROTOBUF_NAMESPACE_ID::Arena* arena, |
8776 | | bool is_message_owned) |
8777 | 47.5k | : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { |
8778 | 47.5k | SharedCtor(arena, is_message_owned); |
8779 | | // @@protoc_insertion_point(arena_constructor:solidity.yul.test.yul_fuzzer.AssignmentStatement) |
8780 | 47.5k | } |
8781 | | AssignmentStatement::AssignmentStatement(const AssignmentStatement& from) |
8782 | 0 | : ::PROTOBUF_NAMESPACE_ID::Message() { |
8783 | 0 | AssignmentStatement* const _this = this; (void)_this; |
8784 | 0 | new (&_impl_) Impl_{ |
8785 | 0 | decltype(_impl_._has_bits_){from._impl_._has_bits_} |
8786 | 0 | , /*decltype(_impl_._cached_size_)*/{} |
8787 | 0 | , decltype(_impl_.ref_id_){nullptr} |
8788 | 0 | , decltype(_impl_.expr_){nullptr}}; |
8789 | |
|
8790 | 0 | _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); |
8791 | 0 | if (from._internal_has_ref_id()) { |
8792 | 0 | _this->_impl_.ref_id_ = new ::solidity::yul::test::yul_fuzzer::VarRef(*from._impl_.ref_id_); |
8793 | 0 | } |
8794 | 0 | if (from._internal_has_expr()) { |
8795 | 0 | _this->_impl_.expr_ = new ::solidity::yul::test::yul_fuzzer::Expression(*from._impl_.expr_); |
8796 | 0 | } |
8797 | | // @@protoc_insertion_point(copy_constructor:solidity.yul.test.yul_fuzzer.AssignmentStatement) |
8798 | 0 | } |
8799 | | |
8800 | | inline void AssignmentStatement::SharedCtor( |
8801 | 47.5k | ::_pb::Arena* arena, bool is_message_owned) { |
8802 | 47.5k | (void)arena; |
8803 | 47.5k | (void)is_message_owned; |
8804 | 47.5k | new (&_impl_) Impl_{ |
8805 | 47.5k | decltype(_impl_._has_bits_){} |
8806 | 47.5k | , /*decltype(_impl_._cached_size_)*/{} |
8807 | 47.5k | , decltype(_impl_.ref_id_){nullptr} |
8808 | 47.5k | , decltype(_impl_.expr_){nullptr} |
8809 | 47.5k | }; |
8810 | 47.5k | } |
8811 | | |
8812 | 47.5k | AssignmentStatement::~AssignmentStatement() { |
8813 | | // @@protoc_insertion_point(destructor:solidity.yul.test.yul_fuzzer.AssignmentStatement) |
8814 | 47.5k | if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { |
8815 | 0 | (void)arena; |
8816 | 0 | return; |
8817 | 0 | } |
8818 | 47.5k | SharedDtor(); |
8819 | 47.5k | } |
8820 | | |
8821 | 47.5k | inline void AssignmentStatement::SharedDtor() { |
8822 | 47.5k | GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); |
8823 | 47.5k | if (this != internal_default_instance()) delete _impl_.ref_id_; |
8824 | 47.5k | if (this != internal_default_instance()) delete _impl_.expr_; |
8825 | 47.5k | } |
8826 | | |
8827 | 0 | void AssignmentStatement::SetCachedSize(int size) const { |
8828 | 0 | _impl_._cached_size_.Set(size); |
8829 | 0 | } |
8830 | | |
8831 | 0 | void AssignmentStatement::Clear() { |
8832 | | // @@protoc_insertion_point(message_clear_start:solidity.yul.test.yul_fuzzer.AssignmentStatement) |
8833 | 0 | uint32_t cached_has_bits = 0; |
8834 | | // Prevent compiler warnings about cached_has_bits being unused |
8835 | 0 | (void) cached_has_bits; |
8836 | |
|
8837 | 0 | cached_has_bits = _impl_._has_bits_[0]; |
8838 | 0 | if (cached_has_bits & 0x00000003u) { |
8839 | 0 | if (cached_has_bits & 0x00000001u) { |
8840 | 0 | GOOGLE_DCHECK(_impl_.ref_id_ != nullptr); |
8841 | 0 | _impl_.ref_id_->Clear(); |
8842 | 0 | } |
8843 | 0 | if (cached_has_bits & 0x00000002u) { |
8844 | 0 | GOOGLE_DCHECK(_impl_.expr_ != nullptr); |
8845 | 0 | _impl_.expr_->Clear(); |
8846 | 0 | } |
8847 | 0 | } |
8848 | 0 | _impl_._has_bits_.Clear(); |
8849 | 0 | _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); |
8850 | 0 | } |
8851 | | |
8852 | 0 | const char* AssignmentStatement::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { |
8853 | 0 | #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure |
8854 | 0 | _Internal::HasBits has_bits{}; |
8855 | 0 | while (!ctx->Done(&ptr)) { |
8856 | 0 | uint32_t tag; |
8857 | 0 | ptr = ::_pbi::ReadTag(ptr, &tag); |
8858 | 0 | switch (tag >> 3) { |
8859 | | // required .solidity.yul.test.yul_fuzzer.VarRef ref_id = 1; |
8860 | 0 | case 1: |
8861 | 0 | if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 10)) { |
8862 | 0 | ptr = ctx->ParseMessage(_internal_mutable_ref_id(), ptr); |
8863 | 0 | CHK_(ptr); |
8864 | 0 | } else |
8865 | 0 | goto handle_unusual; |
8866 | 0 | continue; |
8867 | | // required .solidity.yul.test.yul_fuzzer.Expression expr = 2; |
8868 | 0 | case 2: |
8869 | 0 | if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 18)) { |
8870 | 0 | ptr = ctx->ParseMessage(_internal_mutable_expr(), ptr); |
8871 | 0 | CHK_(ptr); |
8872 | 0 | } else |
8873 | 0 | goto handle_unusual; |
8874 | 0 | continue; |
8875 | 0 | default: |
8876 | 0 | goto handle_unusual; |
8877 | 0 | } // switch |
8878 | 0 | handle_unusual: |
8879 | 0 | if ((tag == 0) || ((tag & 7) == 4)) { |
8880 | 0 | CHK_(ptr); |
8881 | 0 | ctx->SetLastTag(tag); |
8882 | 0 | goto message_done; |
8883 | 0 | } |
8884 | 0 | ptr = UnknownFieldParse( |
8885 | 0 | tag, |
8886 | 0 | _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), |
8887 | 0 | ptr, ctx); |
8888 | 0 | CHK_(ptr != nullptr); |
8889 | 0 | } // while |
8890 | 0 | message_done: |
8891 | 0 | _impl_._has_bits_.Or(has_bits); |
8892 | 0 | return ptr; |
8893 | 0 | failure: |
8894 | 0 | ptr = nullptr; |
8895 | 0 | goto message_done; |
8896 | 0 | #undef CHK_ |
8897 | 0 | } |
8898 | | |
8899 | | uint8_t* AssignmentStatement::_InternalSerialize( |
8900 | 0 | uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { |
8901 | | // @@protoc_insertion_point(serialize_to_array_start:solidity.yul.test.yul_fuzzer.AssignmentStatement) |
8902 | 0 | uint32_t cached_has_bits = 0; |
8903 | 0 | (void) cached_has_bits; |
8904 | |
|
8905 | 0 | cached_has_bits = _impl_._has_bits_[0]; |
8906 | | // required .solidity.yul.test.yul_fuzzer.VarRef ref_id = 1; |
8907 | 0 | if (cached_has_bits & 0x00000001u) { |
8908 | 0 | target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: |
8909 | 0 | InternalWriteMessage(1, _Internal::ref_id(this), |
8910 | 0 | _Internal::ref_id(this).GetCachedSize(), target, stream); |
8911 | 0 | } |
8912 | | |
8913 | | // required .solidity.yul.test.yul_fuzzer.Expression expr = 2; |
8914 | 0 | if (cached_has_bits & 0x00000002u) { |
8915 | 0 | target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: |
8916 | 0 | InternalWriteMessage(2, _Internal::expr(this), |
8917 | 0 | _Internal::expr(this).GetCachedSize(), target, stream); |
8918 | 0 | } |
8919 | |
|
8920 | 0 | if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { |
8921 | 0 | target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( |
8922 | 0 | _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); |
8923 | 0 | } |
8924 | | // @@protoc_insertion_point(serialize_to_array_end:solidity.yul.test.yul_fuzzer.AssignmentStatement) |
8925 | 0 | return target; |
8926 | 0 | } |
8927 | | |
8928 | 0 | size_t AssignmentStatement::RequiredFieldsByteSizeFallback() const { |
8929 | | // @@protoc_insertion_point(required_fields_byte_size_fallback_start:solidity.yul.test.yul_fuzzer.AssignmentStatement) |
8930 | 0 | size_t total_size = 0; |
8931 | |
|
8932 | 0 | if (_internal_has_ref_id()) { |
8933 | | // required .solidity.yul.test.yul_fuzzer.VarRef ref_id = 1; |
8934 | 0 | total_size += 1 + |
8935 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
8936 | 0 | *_impl_.ref_id_); |
8937 | 0 | } |
8938 | |
|
8939 | 0 | if (_internal_has_expr()) { |
8940 | | // required .solidity.yul.test.yul_fuzzer.Expression expr = 2; |
8941 | 0 | total_size += 1 + |
8942 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
8943 | 0 | *_impl_.expr_); |
8944 | 0 | } |
8945 | |
|
8946 | 0 | return total_size; |
8947 | 0 | } |
8948 | 42.6k | size_t AssignmentStatement::ByteSizeLong() const { |
8949 | | // @@protoc_insertion_point(message_byte_size_start:solidity.yul.test.yul_fuzzer.AssignmentStatement) |
8950 | 42.6k | size_t total_size = 0; |
8951 | | |
8952 | 42.6k | if (((_impl_._has_bits_[0] & 0x00000003) ^ 0x00000003) == 0) { // All required fields are present. |
8953 | | // required .solidity.yul.test.yul_fuzzer.VarRef ref_id = 1; |
8954 | 42.6k | total_size += 1 + |
8955 | 42.6k | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
8956 | 42.6k | *_impl_.ref_id_); |
8957 | | |
8958 | | // required .solidity.yul.test.yul_fuzzer.Expression expr = 2; |
8959 | 42.6k | total_size += 1 + |
8960 | 42.6k | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
8961 | 42.6k | *_impl_.expr_); |
8962 | | |
8963 | 42.6k | } else { |
8964 | 0 | total_size += RequiredFieldsByteSizeFallback(); |
8965 | 0 | } |
8966 | 42.6k | uint32_t cached_has_bits = 0; |
8967 | | // Prevent compiler warnings about cached_has_bits being unused |
8968 | 42.6k | (void) cached_has_bits; |
8969 | | |
8970 | 42.6k | return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); |
8971 | 42.6k | } |
8972 | | |
8973 | | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData AssignmentStatement::_class_data_ = { |
8974 | | ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, |
8975 | | AssignmentStatement::MergeImpl |
8976 | | }; |
8977 | 0 | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*AssignmentStatement::GetClassData() const { return &_class_data_; } |
8978 | | |
8979 | | |
8980 | 0 | void AssignmentStatement::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { |
8981 | 0 | auto* const _this = static_cast<AssignmentStatement*>(&to_msg); |
8982 | 0 | auto& from = static_cast<const AssignmentStatement&>(from_msg); |
8983 | | // @@protoc_insertion_point(class_specific_merge_from_start:solidity.yul.test.yul_fuzzer.AssignmentStatement) |
8984 | 0 | GOOGLE_DCHECK_NE(&from, _this); |
8985 | 0 | uint32_t cached_has_bits = 0; |
8986 | 0 | (void) cached_has_bits; |
8987 | |
|
8988 | 0 | cached_has_bits = from._impl_._has_bits_[0]; |
8989 | 0 | if (cached_has_bits & 0x00000003u) { |
8990 | 0 | if (cached_has_bits & 0x00000001u) { |
8991 | 0 | _this->_internal_mutable_ref_id()->::solidity::yul::test::yul_fuzzer::VarRef::MergeFrom( |
8992 | 0 | from._internal_ref_id()); |
8993 | 0 | } |
8994 | 0 | if (cached_has_bits & 0x00000002u) { |
8995 | 0 | _this->_internal_mutable_expr()->::solidity::yul::test::yul_fuzzer::Expression::MergeFrom( |
8996 | 0 | from._internal_expr()); |
8997 | 0 | } |
8998 | 0 | } |
8999 | 0 | _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); |
9000 | 0 | } |
9001 | | |
9002 | 0 | void AssignmentStatement::CopyFrom(const AssignmentStatement& from) { |
9003 | | // @@protoc_insertion_point(class_specific_copy_from_start:solidity.yul.test.yul_fuzzer.AssignmentStatement) |
9004 | 0 | if (&from == this) return; |
9005 | 0 | Clear(); |
9006 | 0 | MergeFrom(from); |
9007 | 0 | } |
9008 | | |
9009 | 0 | bool AssignmentStatement::IsInitialized() const { |
9010 | 0 | if (_Internal::MissingRequiredFields(_impl_._has_bits_)) return false; |
9011 | 0 | if (_internal_has_ref_id()) { |
9012 | 0 | if (!_impl_.ref_id_->IsInitialized()) return false; |
9013 | 0 | } |
9014 | 0 | if (_internal_has_expr()) { |
9015 | 0 | if (!_impl_.expr_->IsInitialized()) return false; |
9016 | 0 | } |
9017 | 0 | return true; |
9018 | 0 | } |
9019 | | |
9020 | 0 | void AssignmentStatement::InternalSwap(AssignmentStatement* other) { |
9021 | 0 | using std::swap; |
9022 | 0 | _internal_metadata_.InternalSwap(&other->_internal_metadata_); |
9023 | 0 | swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); |
9024 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::memswap< |
9025 | 0 | PROTOBUF_FIELD_OFFSET(AssignmentStatement, _impl_.expr_) |
9026 | 0 | + sizeof(AssignmentStatement::_impl_.expr_) |
9027 | 0 | - PROTOBUF_FIELD_OFFSET(AssignmentStatement, _impl_.ref_id_)>( |
9028 | 0 | reinterpret_cast<char*>(&_impl_.ref_id_), |
9029 | 0 | reinterpret_cast<char*>(&other->_impl_.ref_id_)); |
9030 | 0 | } |
9031 | | |
9032 | 701k | ::PROTOBUF_NAMESPACE_ID::Metadata AssignmentStatement::GetMetadata() const { |
9033 | 701k | return ::_pbi::AssignDescriptors( |
9034 | 701k | &descriptor_table_yulProto_2eproto_getter, &descriptor_table_yulProto_2eproto_once, |
9035 | 701k | file_level_metadata_yulProto_2eproto[19]); |
9036 | 701k | } |
9037 | | |
9038 | | // =================================================================== |
9039 | | |
9040 | | class IfStmt::_Internal { |
9041 | | public: |
9042 | | using HasBits = decltype(std::declval<IfStmt>()._impl_._has_bits_); |
9043 | | static const ::solidity::yul::test::yul_fuzzer::Expression& cond(const IfStmt* msg); |
9044 | 0 | static void set_has_cond(HasBits* has_bits) { |
9045 | 0 | (*has_bits)[0] |= 1u; |
9046 | 0 | } |
9047 | | static const ::solidity::yul::test::yul_fuzzer::Block& if_body(const IfStmt* msg); |
9048 | 0 | static void set_has_if_body(HasBits* has_bits) { |
9049 | 0 | (*has_bits)[0] |= 2u; |
9050 | 0 | } |
9051 | 0 | static bool MissingRequiredFields(const HasBits& has_bits) { |
9052 | 0 | return ((has_bits[0] & 0x00000003) ^ 0x00000003) != 0; |
9053 | 0 | } |
9054 | | }; |
9055 | | |
9056 | | const ::solidity::yul::test::yul_fuzzer::Expression& |
9057 | 0 | IfStmt::_Internal::cond(const IfStmt* msg) { |
9058 | 0 | return *msg->_impl_.cond_; |
9059 | 0 | } |
9060 | | const ::solidity::yul::test::yul_fuzzer::Block& |
9061 | 0 | IfStmt::_Internal::if_body(const IfStmt* msg) { |
9062 | 0 | return *msg->_impl_.if_body_; |
9063 | 0 | } |
9064 | | IfStmt::IfStmt(::PROTOBUF_NAMESPACE_ID::Arena* arena, |
9065 | | bool is_message_owned) |
9066 | 307k | : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { |
9067 | 307k | SharedCtor(arena, is_message_owned); |
9068 | | // @@protoc_insertion_point(arena_constructor:solidity.yul.test.yul_fuzzer.IfStmt) |
9069 | 307k | } |
9070 | | IfStmt::IfStmt(const IfStmt& from) |
9071 | 0 | : ::PROTOBUF_NAMESPACE_ID::Message() { |
9072 | 0 | IfStmt* const _this = this; (void)_this; |
9073 | 0 | new (&_impl_) Impl_{ |
9074 | 0 | decltype(_impl_._has_bits_){from._impl_._has_bits_} |
9075 | 0 | , /*decltype(_impl_._cached_size_)*/{} |
9076 | 0 | , decltype(_impl_.cond_){nullptr} |
9077 | 0 | , decltype(_impl_.if_body_){nullptr}}; |
9078 | |
|
9079 | 0 | _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); |
9080 | 0 | if (from._internal_has_cond()) { |
9081 | 0 | _this->_impl_.cond_ = new ::solidity::yul::test::yul_fuzzer::Expression(*from._impl_.cond_); |
9082 | 0 | } |
9083 | 0 | if (from._internal_has_if_body()) { |
9084 | 0 | _this->_impl_.if_body_ = new ::solidity::yul::test::yul_fuzzer::Block(*from._impl_.if_body_); |
9085 | 0 | } |
9086 | | // @@protoc_insertion_point(copy_constructor:solidity.yul.test.yul_fuzzer.IfStmt) |
9087 | 0 | } |
9088 | | |
9089 | | inline void IfStmt::SharedCtor( |
9090 | 307k | ::_pb::Arena* arena, bool is_message_owned) { |
9091 | 307k | (void)arena; |
9092 | 307k | (void)is_message_owned; |
9093 | 307k | new (&_impl_) Impl_{ |
9094 | 307k | decltype(_impl_._has_bits_){} |
9095 | 307k | , /*decltype(_impl_._cached_size_)*/{} |
9096 | 307k | , decltype(_impl_.cond_){nullptr} |
9097 | 307k | , decltype(_impl_.if_body_){nullptr} |
9098 | 307k | }; |
9099 | 307k | } |
9100 | | |
9101 | 307k | IfStmt::~IfStmt() { |
9102 | | // @@protoc_insertion_point(destructor:solidity.yul.test.yul_fuzzer.IfStmt) |
9103 | 307k | if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { |
9104 | 0 | (void)arena; |
9105 | 0 | return; |
9106 | 0 | } |
9107 | 307k | SharedDtor(); |
9108 | 307k | } |
9109 | | |
9110 | 307k | inline void IfStmt::SharedDtor() { |
9111 | 307k | GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); |
9112 | 307k | if (this != internal_default_instance()) delete _impl_.cond_; |
9113 | 307k | if (this != internal_default_instance()) delete _impl_.if_body_; |
9114 | 307k | } |
9115 | | |
9116 | 0 | void IfStmt::SetCachedSize(int size) const { |
9117 | 0 | _impl_._cached_size_.Set(size); |
9118 | 0 | } |
9119 | | |
9120 | 0 | void IfStmt::Clear() { |
9121 | | // @@protoc_insertion_point(message_clear_start:solidity.yul.test.yul_fuzzer.IfStmt) |
9122 | 0 | uint32_t cached_has_bits = 0; |
9123 | | // Prevent compiler warnings about cached_has_bits being unused |
9124 | 0 | (void) cached_has_bits; |
9125 | |
|
9126 | 0 | cached_has_bits = _impl_._has_bits_[0]; |
9127 | 0 | if (cached_has_bits & 0x00000003u) { |
9128 | 0 | if (cached_has_bits & 0x00000001u) { |
9129 | 0 | GOOGLE_DCHECK(_impl_.cond_ != nullptr); |
9130 | 0 | _impl_.cond_->Clear(); |
9131 | 0 | } |
9132 | 0 | if (cached_has_bits & 0x00000002u) { |
9133 | 0 | GOOGLE_DCHECK(_impl_.if_body_ != nullptr); |
9134 | 0 | _impl_.if_body_->Clear(); |
9135 | 0 | } |
9136 | 0 | } |
9137 | 0 | _impl_._has_bits_.Clear(); |
9138 | 0 | _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); |
9139 | 0 | } |
9140 | | |
9141 | 0 | const char* IfStmt::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { |
9142 | 0 | #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure |
9143 | 0 | _Internal::HasBits has_bits{}; |
9144 | 0 | while (!ctx->Done(&ptr)) { |
9145 | 0 | uint32_t tag; |
9146 | 0 | ptr = ::_pbi::ReadTag(ptr, &tag); |
9147 | 0 | switch (tag >> 3) { |
9148 | | // required .solidity.yul.test.yul_fuzzer.Expression cond = 1; |
9149 | 0 | case 1: |
9150 | 0 | if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 10)) { |
9151 | 0 | ptr = ctx->ParseMessage(_internal_mutable_cond(), ptr); |
9152 | 0 | CHK_(ptr); |
9153 | 0 | } else |
9154 | 0 | goto handle_unusual; |
9155 | 0 | continue; |
9156 | | // required .solidity.yul.test.yul_fuzzer.Block if_body = 2; |
9157 | 0 | case 2: |
9158 | 0 | if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 18)) { |
9159 | 0 | ptr = ctx->ParseMessage(_internal_mutable_if_body(), ptr); |
9160 | 0 | CHK_(ptr); |
9161 | 0 | } else |
9162 | 0 | goto handle_unusual; |
9163 | 0 | continue; |
9164 | 0 | default: |
9165 | 0 | goto handle_unusual; |
9166 | 0 | } // switch |
9167 | 0 | handle_unusual: |
9168 | 0 | if ((tag == 0) || ((tag & 7) == 4)) { |
9169 | 0 | CHK_(ptr); |
9170 | 0 | ctx->SetLastTag(tag); |
9171 | 0 | goto message_done; |
9172 | 0 | } |
9173 | 0 | ptr = UnknownFieldParse( |
9174 | 0 | tag, |
9175 | 0 | _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), |
9176 | 0 | ptr, ctx); |
9177 | 0 | CHK_(ptr != nullptr); |
9178 | 0 | } // while |
9179 | 0 | message_done: |
9180 | 0 | _impl_._has_bits_.Or(has_bits); |
9181 | 0 | return ptr; |
9182 | 0 | failure: |
9183 | 0 | ptr = nullptr; |
9184 | 0 | goto message_done; |
9185 | 0 | #undef CHK_ |
9186 | 0 | } |
9187 | | |
9188 | | uint8_t* IfStmt::_InternalSerialize( |
9189 | 0 | uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { |
9190 | | // @@protoc_insertion_point(serialize_to_array_start:solidity.yul.test.yul_fuzzer.IfStmt) |
9191 | 0 | uint32_t cached_has_bits = 0; |
9192 | 0 | (void) cached_has_bits; |
9193 | |
|
9194 | 0 | cached_has_bits = _impl_._has_bits_[0]; |
9195 | | // required .solidity.yul.test.yul_fuzzer.Expression cond = 1; |
9196 | 0 | if (cached_has_bits & 0x00000001u) { |
9197 | 0 | target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: |
9198 | 0 | InternalWriteMessage(1, _Internal::cond(this), |
9199 | 0 | _Internal::cond(this).GetCachedSize(), target, stream); |
9200 | 0 | } |
9201 | | |
9202 | | // required .solidity.yul.test.yul_fuzzer.Block if_body = 2; |
9203 | 0 | if (cached_has_bits & 0x00000002u) { |
9204 | 0 | target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: |
9205 | 0 | InternalWriteMessage(2, _Internal::if_body(this), |
9206 | 0 | _Internal::if_body(this).GetCachedSize(), target, stream); |
9207 | 0 | } |
9208 | |
|
9209 | 0 | if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { |
9210 | 0 | target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( |
9211 | 0 | _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); |
9212 | 0 | } |
9213 | | // @@protoc_insertion_point(serialize_to_array_end:solidity.yul.test.yul_fuzzer.IfStmt) |
9214 | 0 | return target; |
9215 | 0 | } |
9216 | | |
9217 | 94.1k | size_t IfStmt::RequiredFieldsByteSizeFallback() const { |
9218 | | // @@protoc_insertion_point(required_fields_byte_size_fallback_start:solidity.yul.test.yul_fuzzer.IfStmt) |
9219 | 94.1k | size_t total_size = 0; |
9220 | | |
9221 | 94.1k | if (_internal_has_cond()) { |
9222 | | // required .solidity.yul.test.yul_fuzzer.Expression cond = 1; |
9223 | 0 | total_size += 1 + |
9224 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
9225 | 0 | *_impl_.cond_); |
9226 | 0 | } |
9227 | | |
9228 | 94.1k | if (_internal_has_if_body()) { |
9229 | | // required .solidity.yul.test.yul_fuzzer.Block if_body = 2; |
9230 | 0 | total_size += 1 + |
9231 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
9232 | 0 | *_impl_.if_body_); |
9233 | 0 | } |
9234 | | |
9235 | 94.1k | return total_size; |
9236 | 94.1k | } |
9237 | 302k | size_t IfStmt::ByteSizeLong() const { |
9238 | | // @@protoc_insertion_point(message_byte_size_start:solidity.yul.test.yul_fuzzer.IfStmt) |
9239 | 302k | size_t total_size = 0; |
9240 | | |
9241 | 302k | if (((_impl_._has_bits_[0] & 0x00000003) ^ 0x00000003) == 0) { // All required fields are present. |
9242 | | // required .solidity.yul.test.yul_fuzzer.Expression cond = 1; |
9243 | 208k | total_size += 1 + |
9244 | 208k | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
9245 | 208k | *_impl_.cond_); |
9246 | | |
9247 | | // required .solidity.yul.test.yul_fuzzer.Block if_body = 2; |
9248 | 208k | total_size += 1 + |
9249 | 208k | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
9250 | 208k | *_impl_.if_body_); |
9251 | | |
9252 | 208k | } else { |
9253 | 94.1k | total_size += RequiredFieldsByteSizeFallback(); |
9254 | 94.1k | } |
9255 | 302k | uint32_t cached_has_bits = 0; |
9256 | | // Prevent compiler warnings about cached_has_bits being unused |
9257 | 302k | (void) cached_has_bits; |
9258 | | |
9259 | 302k | return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); |
9260 | 302k | } |
9261 | | |
9262 | | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData IfStmt::_class_data_ = { |
9263 | | ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, |
9264 | | IfStmt::MergeImpl |
9265 | | }; |
9266 | 0 | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*IfStmt::GetClassData() const { return &_class_data_; } |
9267 | | |
9268 | | |
9269 | 0 | void IfStmt::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { |
9270 | 0 | auto* const _this = static_cast<IfStmt*>(&to_msg); |
9271 | 0 | auto& from = static_cast<const IfStmt&>(from_msg); |
9272 | | // @@protoc_insertion_point(class_specific_merge_from_start:solidity.yul.test.yul_fuzzer.IfStmt) |
9273 | 0 | GOOGLE_DCHECK_NE(&from, _this); |
9274 | 0 | uint32_t cached_has_bits = 0; |
9275 | 0 | (void) cached_has_bits; |
9276 | |
|
9277 | 0 | cached_has_bits = from._impl_._has_bits_[0]; |
9278 | 0 | if (cached_has_bits & 0x00000003u) { |
9279 | 0 | if (cached_has_bits & 0x00000001u) { |
9280 | 0 | _this->_internal_mutable_cond()->::solidity::yul::test::yul_fuzzer::Expression::MergeFrom( |
9281 | 0 | from._internal_cond()); |
9282 | 0 | } |
9283 | 0 | if (cached_has_bits & 0x00000002u) { |
9284 | 0 | _this->_internal_mutable_if_body()->::solidity::yul::test::yul_fuzzer::Block::MergeFrom( |
9285 | 0 | from._internal_if_body()); |
9286 | 0 | } |
9287 | 0 | } |
9288 | 0 | _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); |
9289 | 0 | } |
9290 | | |
9291 | 0 | void IfStmt::CopyFrom(const IfStmt& from) { |
9292 | | // @@protoc_insertion_point(class_specific_copy_from_start:solidity.yul.test.yul_fuzzer.IfStmt) |
9293 | 0 | if (&from == this) return; |
9294 | 0 | Clear(); |
9295 | 0 | MergeFrom(from); |
9296 | 0 | } |
9297 | | |
9298 | 0 | bool IfStmt::IsInitialized() const { |
9299 | 0 | if (_Internal::MissingRequiredFields(_impl_._has_bits_)) return false; |
9300 | 0 | if (_internal_has_cond()) { |
9301 | 0 | if (!_impl_.cond_->IsInitialized()) return false; |
9302 | 0 | } |
9303 | 0 | if (_internal_has_if_body()) { |
9304 | 0 | if (!_impl_.if_body_->IsInitialized()) return false; |
9305 | 0 | } |
9306 | 0 | return true; |
9307 | 0 | } |
9308 | | |
9309 | 0 | void IfStmt::InternalSwap(IfStmt* other) { |
9310 | 0 | using std::swap; |
9311 | 0 | _internal_metadata_.InternalSwap(&other->_internal_metadata_); |
9312 | 0 | swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); |
9313 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::memswap< |
9314 | 0 | PROTOBUF_FIELD_OFFSET(IfStmt, _impl_.if_body_) |
9315 | 0 | + sizeof(IfStmt::_impl_.if_body_) |
9316 | 0 | - PROTOBUF_FIELD_OFFSET(IfStmt, _impl_.cond_)>( |
9317 | 0 | reinterpret_cast<char*>(&_impl_.cond_), |
9318 | 0 | reinterpret_cast<char*>(&other->_impl_.cond_)); |
9319 | 0 | } |
9320 | | |
9321 | 12.0M | ::PROTOBUF_NAMESPACE_ID::Metadata IfStmt::GetMetadata() const { |
9322 | 12.0M | return ::_pbi::AssignDescriptors( |
9323 | 12.0M | &descriptor_table_yulProto_2eproto_getter, &descriptor_table_yulProto_2eproto_once, |
9324 | 12.0M | file_level_metadata_yulProto_2eproto[20]); |
9325 | 12.0M | } |
9326 | | |
9327 | | // =================================================================== |
9328 | | |
9329 | | class BoundedForStmt::_Internal { |
9330 | | public: |
9331 | | using HasBits = decltype(std::declval<BoundedForStmt>()._impl_._has_bits_); |
9332 | | static const ::solidity::yul::test::yul_fuzzer::Block& for_body(const BoundedForStmt* msg); |
9333 | 0 | static void set_has_for_body(HasBits* has_bits) { |
9334 | 0 | (*has_bits)[0] |= 1u; |
9335 | 0 | } |
9336 | 0 | static bool MissingRequiredFields(const HasBits& has_bits) { |
9337 | 0 | return ((has_bits[0] & 0x00000001) ^ 0x00000001) != 0; |
9338 | 0 | } |
9339 | | }; |
9340 | | |
9341 | | const ::solidity::yul::test::yul_fuzzer::Block& |
9342 | 0 | BoundedForStmt::_Internal::for_body(const BoundedForStmt* msg) { |
9343 | 0 | return *msg->_impl_.for_body_; |
9344 | 0 | } |
9345 | | BoundedForStmt::BoundedForStmt(::PROTOBUF_NAMESPACE_ID::Arena* arena, |
9346 | | bool is_message_owned) |
9347 | 315k | : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { |
9348 | 315k | SharedCtor(arena, is_message_owned); |
9349 | | // @@protoc_insertion_point(arena_constructor:solidity.yul.test.yul_fuzzer.BoundedForStmt) |
9350 | 315k | } |
9351 | | BoundedForStmt::BoundedForStmt(const BoundedForStmt& from) |
9352 | 0 | : ::PROTOBUF_NAMESPACE_ID::Message() { |
9353 | 0 | BoundedForStmt* const _this = this; (void)_this; |
9354 | 0 | new (&_impl_) Impl_{ |
9355 | 0 | decltype(_impl_._has_bits_){from._impl_._has_bits_} |
9356 | 0 | , /*decltype(_impl_._cached_size_)*/{} |
9357 | 0 | , decltype(_impl_.for_body_){nullptr}}; |
9358 | |
|
9359 | 0 | _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); |
9360 | 0 | if (from._internal_has_for_body()) { |
9361 | 0 | _this->_impl_.for_body_ = new ::solidity::yul::test::yul_fuzzer::Block(*from._impl_.for_body_); |
9362 | 0 | } |
9363 | | // @@protoc_insertion_point(copy_constructor:solidity.yul.test.yul_fuzzer.BoundedForStmt) |
9364 | 0 | } |
9365 | | |
9366 | | inline void BoundedForStmt::SharedCtor( |
9367 | 315k | ::_pb::Arena* arena, bool is_message_owned) { |
9368 | 315k | (void)arena; |
9369 | 315k | (void)is_message_owned; |
9370 | 315k | new (&_impl_) Impl_{ |
9371 | 315k | decltype(_impl_._has_bits_){} |
9372 | 315k | , /*decltype(_impl_._cached_size_)*/{} |
9373 | 315k | , decltype(_impl_.for_body_){nullptr} |
9374 | 315k | }; |
9375 | 315k | } |
9376 | | |
9377 | 315k | BoundedForStmt::~BoundedForStmt() { |
9378 | | // @@protoc_insertion_point(destructor:solidity.yul.test.yul_fuzzer.BoundedForStmt) |
9379 | 315k | if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { |
9380 | 0 | (void)arena; |
9381 | 0 | return; |
9382 | 0 | } |
9383 | 315k | SharedDtor(); |
9384 | 315k | } |
9385 | | |
9386 | 315k | inline void BoundedForStmt::SharedDtor() { |
9387 | 315k | GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); |
9388 | 315k | if (this != internal_default_instance()) delete _impl_.for_body_; |
9389 | 315k | } |
9390 | | |
9391 | 0 | void BoundedForStmt::SetCachedSize(int size) const { |
9392 | 0 | _impl_._cached_size_.Set(size); |
9393 | 0 | } |
9394 | | |
9395 | 0 | void BoundedForStmt::Clear() { |
9396 | | // @@protoc_insertion_point(message_clear_start:solidity.yul.test.yul_fuzzer.BoundedForStmt) |
9397 | 0 | uint32_t cached_has_bits = 0; |
9398 | | // Prevent compiler warnings about cached_has_bits being unused |
9399 | 0 | (void) cached_has_bits; |
9400 | |
|
9401 | 0 | cached_has_bits = _impl_._has_bits_[0]; |
9402 | 0 | if (cached_has_bits & 0x00000001u) { |
9403 | 0 | GOOGLE_DCHECK(_impl_.for_body_ != nullptr); |
9404 | 0 | _impl_.for_body_->Clear(); |
9405 | 0 | } |
9406 | 0 | _impl_._has_bits_.Clear(); |
9407 | 0 | _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); |
9408 | 0 | } |
9409 | | |
9410 | 0 | const char* BoundedForStmt::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { |
9411 | 0 | #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure |
9412 | 0 | _Internal::HasBits has_bits{}; |
9413 | 0 | while (!ctx->Done(&ptr)) { |
9414 | 0 | uint32_t tag; |
9415 | 0 | ptr = ::_pbi::ReadTag(ptr, &tag); |
9416 | 0 | switch (tag >> 3) { |
9417 | | // required .solidity.yul.test.yul_fuzzer.Block for_body = 1; |
9418 | 0 | case 1: |
9419 | 0 | if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 10)) { |
9420 | 0 | ptr = ctx->ParseMessage(_internal_mutable_for_body(), ptr); |
9421 | 0 | CHK_(ptr); |
9422 | 0 | } else |
9423 | 0 | goto handle_unusual; |
9424 | 0 | continue; |
9425 | 0 | default: |
9426 | 0 | goto handle_unusual; |
9427 | 0 | } // switch |
9428 | 0 | handle_unusual: |
9429 | 0 | if ((tag == 0) || ((tag & 7) == 4)) { |
9430 | 0 | CHK_(ptr); |
9431 | 0 | ctx->SetLastTag(tag); |
9432 | 0 | goto message_done; |
9433 | 0 | } |
9434 | 0 | ptr = UnknownFieldParse( |
9435 | 0 | tag, |
9436 | 0 | _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), |
9437 | 0 | ptr, ctx); |
9438 | 0 | CHK_(ptr != nullptr); |
9439 | 0 | } // while |
9440 | 0 | message_done: |
9441 | 0 | _impl_._has_bits_.Or(has_bits); |
9442 | 0 | return ptr; |
9443 | 0 | failure: |
9444 | 0 | ptr = nullptr; |
9445 | 0 | goto message_done; |
9446 | 0 | #undef CHK_ |
9447 | 0 | } |
9448 | | |
9449 | | uint8_t* BoundedForStmt::_InternalSerialize( |
9450 | 0 | uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { |
9451 | | // @@protoc_insertion_point(serialize_to_array_start:solidity.yul.test.yul_fuzzer.BoundedForStmt) |
9452 | 0 | uint32_t cached_has_bits = 0; |
9453 | 0 | (void) cached_has_bits; |
9454 | |
|
9455 | 0 | cached_has_bits = _impl_._has_bits_[0]; |
9456 | | // required .solidity.yul.test.yul_fuzzer.Block for_body = 1; |
9457 | 0 | if (cached_has_bits & 0x00000001u) { |
9458 | 0 | target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: |
9459 | 0 | InternalWriteMessage(1, _Internal::for_body(this), |
9460 | 0 | _Internal::for_body(this).GetCachedSize(), target, stream); |
9461 | 0 | } |
9462 | |
|
9463 | 0 | if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { |
9464 | 0 | target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( |
9465 | 0 | _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); |
9466 | 0 | } |
9467 | | // @@protoc_insertion_point(serialize_to_array_end:solidity.yul.test.yul_fuzzer.BoundedForStmt) |
9468 | 0 | return target; |
9469 | 0 | } |
9470 | | |
9471 | 313k | size_t BoundedForStmt::ByteSizeLong() const { |
9472 | | // @@protoc_insertion_point(message_byte_size_start:solidity.yul.test.yul_fuzzer.BoundedForStmt) |
9473 | 313k | size_t total_size = 0; |
9474 | | |
9475 | | // required .solidity.yul.test.yul_fuzzer.Block for_body = 1; |
9476 | 313k | if (_internal_has_for_body()) { |
9477 | 218k | total_size += 1 + |
9478 | 218k | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
9479 | 218k | *_impl_.for_body_); |
9480 | 218k | } |
9481 | 313k | uint32_t cached_has_bits = 0; |
9482 | | // Prevent compiler warnings about cached_has_bits being unused |
9483 | 313k | (void) cached_has_bits; |
9484 | | |
9485 | 313k | return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); |
9486 | 313k | } |
9487 | | |
9488 | | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData BoundedForStmt::_class_data_ = { |
9489 | | ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, |
9490 | | BoundedForStmt::MergeImpl |
9491 | | }; |
9492 | 0 | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*BoundedForStmt::GetClassData() const { return &_class_data_; } |
9493 | | |
9494 | | |
9495 | 0 | void BoundedForStmt::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { |
9496 | 0 | auto* const _this = static_cast<BoundedForStmt*>(&to_msg); |
9497 | 0 | auto& from = static_cast<const BoundedForStmt&>(from_msg); |
9498 | | // @@protoc_insertion_point(class_specific_merge_from_start:solidity.yul.test.yul_fuzzer.BoundedForStmt) |
9499 | 0 | GOOGLE_DCHECK_NE(&from, _this); |
9500 | 0 | uint32_t cached_has_bits = 0; |
9501 | 0 | (void) cached_has_bits; |
9502 | |
|
9503 | 0 | if (from._internal_has_for_body()) { |
9504 | 0 | _this->_internal_mutable_for_body()->::solidity::yul::test::yul_fuzzer::Block::MergeFrom( |
9505 | 0 | from._internal_for_body()); |
9506 | 0 | } |
9507 | 0 | _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); |
9508 | 0 | } |
9509 | | |
9510 | 0 | void BoundedForStmt::CopyFrom(const BoundedForStmt& from) { |
9511 | | // @@protoc_insertion_point(class_specific_copy_from_start:solidity.yul.test.yul_fuzzer.BoundedForStmt) |
9512 | 0 | if (&from == this) return; |
9513 | 0 | Clear(); |
9514 | 0 | MergeFrom(from); |
9515 | 0 | } |
9516 | | |
9517 | 0 | bool BoundedForStmt::IsInitialized() const { |
9518 | 0 | if (_Internal::MissingRequiredFields(_impl_._has_bits_)) return false; |
9519 | 0 | if (_internal_has_for_body()) { |
9520 | 0 | if (!_impl_.for_body_->IsInitialized()) return false; |
9521 | 0 | } |
9522 | 0 | return true; |
9523 | 0 | } |
9524 | | |
9525 | 0 | void BoundedForStmt::InternalSwap(BoundedForStmt* other) { |
9526 | 0 | using std::swap; |
9527 | 0 | _internal_metadata_.InternalSwap(&other->_internal_metadata_); |
9528 | 0 | swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); |
9529 | 0 | swap(_impl_.for_body_, other->_impl_.for_body_); |
9530 | 0 | } |
9531 | | |
9532 | 11.4M | ::PROTOBUF_NAMESPACE_ID::Metadata BoundedForStmt::GetMetadata() const { |
9533 | 11.4M | return ::_pbi::AssignDescriptors( |
9534 | 11.4M | &descriptor_table_yulProto_2eproto_getter, &descriptor_table_yulProto_2eproto_once, |
9535 | 11.4M | file_level_metadata_yulProto_2eproto[21]); |
9536 | 11.4M | } |
9537 | | |
9538 | | // =================================================================== |
9539 | | |
9540 | | class ForStmt::_Internal { |
9541 | | public: |
9542 | | using HasBits = decltype(std::declval<ForStmt>()._impl_._has_bits_); |
9543 | | static const ::solidity::yul::test::yul_fuzzer::Block& for_body(const ForStmt* msg); |
9544 | 0 | static void set_has_for_body(HasBits* has_bits) { |
9545 | 0 | (*has_bits)[0] |= 1u; |
9546 | 0 | } |
9547 | | static const ::solidity::yul::test::yul_fuzzer::Block& for_init(const ForStmt* msg); |
9548 | 0 | static void set_has_for_init(HasBits* has_bits) { |
9549 | 0 | (*has_bits)[0] |= 2u; |
9550 | 0 | } |
9551 | | static const ::solidity::yul::test::yul_fuzzer::Block& for_post(const ForStmt* msg); |
9552 | 0 | static void set_has_for_post(HasBits* has_bits) { |
9553 | 0 | (*has_bits)[0] |= 4u; |
9554 | 0 | } |
9555 | | static const ::solidity::yul::test::yul_fuzzer::Expression& for_cond(const ForStmt* msg); |
9556 | 0 | static void set_has_for_cond(HasBits* has_bits) { |
9557 | 0 | (*has_bits)[0] |= 8u; |
9558 | 0 | } |
9559 | 0 | static bool MissingRequiredFields(const HasBits& has_bits) { |
9560 | 0 | return ((has_bits[0] & 0x0000000f) ^ 0x0000000f) != 0; |
9561 | 0 | } |
9562 | | }; |
9563 | | |
9564 | | const ::solidity::yul::test::yul_fuzzer::Block& |
9565 | 0 | ForStmt::_Internal::for_body(const ForStmt* msg) { |
9566 | 0 | return *msg->_impl_.for_body_; |
9567 | 0 | } |
9568 | | const ::solidity::yul::test::yul_fuzzer::Block& |
9569 | 0 | ForStmt::_Internal::for_init(const ForStmt* msg) { |
9570 | 0 | return *msg->_impl_.for_init_; |
9571 | 0 | } |
9572 | | const ::solidity::yul::test::yul_fuzzer::Block& |
9573 | 0 | ForStmt::_Internal::for_post(const ForStmt* msg) { |
9574 | 0 | return *msg->_impl_.for_post_; |
9575 | 0 | } |
9576 | | const ::solidity::yul::test::yul_fuzzer::Expression& |
9577 | 0 | ForStmt::_Internal::for_cond(const ForStmt* msg) { |
9578 | 0 | return *msg->_impl_.for_cond_; |
9579 | 0 | } |
9580 | | ForStmt::ForStmt(::PROTOBUF_NAMESPACE_ID::Arena* arena, |
9581 | | bool is_message_owned) |
9582 | 295k | : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { |
9583 | 295k | SharedCtor(arena, is_message_owned); |
9584 | | // @@protoc_insertion_point(arena_constructor:solidity.yul.test.yul_fuzzer.ForStmt) |
9585 | 295k | } |
9586 | | ForStmt::ForStmt(const ForStmt& from) |
9587 | 0 | : ::PROTOBUF_NAMESPACE_ID::Message() { |
9588 | 0 | ForStmt* const _this = this; (void)_this; |
9589 | 0 | new (&_impl_) Impl_{ |
9590 | 0 | decltype(_impl_._has_bits_){from._impl_._has_bits_} |
9591 | 0 | , /*decltype(_impl_._cached_size_)*/{} |
9592 | 0 | , decltype(_impl_.for_body_){nullptr} |
9593 | 0 | , decltype(_impl_.for_init_){nullptr} |
9594 | 0 | , decltype(_impl_.for_post_){nullptr} |
9595 | 0 | , decltype(_impl_.for_cond_){nullptr}}; |
9596 | |
|
9597 | 0 | _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); |
9598 | 0 | if (from._internal_has_for_body()) { |
9599 | 0 | _this->_impl_.for_body_ = new ::solidity::yul::test::yul_fuzzer::Block(*from._impl_.for_body_); |
9600 | 0 | } |
9601 | 0 | if (from._internal_has_for_init()) { |
9602 | 0 | _this->_impl_.for_init_ = new ::solidity::yul::test::yul_fuzzer::Block(*from._impl_.for_init_); |
9603 | 0 | } |
9604 | 0 | if (from._internal_has_for_post()) { |
9605 | 0 | _this->_impl_.for_post_ = new ::solidity::yul::test::yul_fuzzer::Block(*from._impl_.for_post_); |
9606 | 0 | } |
9607 | 0 | if (from._internal_has_for_cond()) { |
9608 | 0 | _this->_impl_.for_cond_ = new ::solidity::yul::test::yul_fuzzer::Expression(*from._impl_.for_cond_); |
9609 | 0 | } |
9610 | | // @@protoc_insertion_point(copy_constructor:solidity.yul.test.yul_fuzzer.ForStmt) |
9611 | 0 | } |
9612 | | |
9613 | | inline void ForStmt::SharedCtor( |
9614 | 295k | ::_pb::Arena* arena, bool is_message_owned) { |
9615 | 295k | (void)arena; |
9616 | 295k | (void)is_message_owned; |
9617 | 295k | new (&_impl_) Impl_{ |
9618 | 295k | decltype(_impl_._has_bits_){} |
9619 | 295k | , /*decltype(_impl_._cached_size_)*/{} |
9620 | 295k | , decltype(_impl_.for_body_){nullptr} |
9621 | 295k | , decltype(_impl_.for_init_){nullptr} |
9622 | 295k | , decltype(_impl_.for_post_){nullptr} |
9623 | 295k | , decltype(_impl_.for_cond_){nullptr} |
9624 | 295k | }; |
9625 | 295k | } |
9626 | | |
9627 | 295k | ForStmt::~ForStmt() { |
9628 | | // @@protoc_insertion_point(destructor:solidity.yul.test.yul_fuzzer.ForStmt) |
9629 | 295k | if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { |
9630 | 0 | (void)arena; |
9631 | 0 | return; |
9632 | 0 | } |
9633 | 295k | SharedDtor(); |
9634 | 295k | } |
9635 | | |
9636 | 295k | inline void ForStmt::SharedDtor() { |
9637 | 295k | GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); |
9638 | 295k | if (this != internal_default_instance()) delete _impl_.for_body_; |
9639 | 295k | if (this != internal_default_instance()) delete _impl_.for_init_; |
9640 | 295k | if (this != internal_default_instance()) delete _impl_.for_post_; |
9641 | 295k | if (this != internal_default_instance()) delete _impl_.for_cond_; |
9642 | 295k | } |
9643 | | |
9644 | 0 | void ForStmt::SetCachedSize(int size) const { |
9645 | 0 | _impl_._cached_size_.Set(size); |
9646 | 0 | } |
9647 | | |
9648 | 0 | void ForStmt::Clear() { |
9649 | | // @@protoc_insertion_point(message_clear_start:solidity.yul.test.yul_fuzzer.ForStmt) |
9650 | 0 | uint32_t cached_has_bits = 0; |
9651 | | // Prevent compiler warnings about cached_has_bits being unused |
9652 | 0 | (void) cached_has_bits; |
9653 | |
|
9654 | 0 | cached_has_bits = _impl_._has_bits_[0]; |
9655 | 0 | if (cached_has_bits & 0x0000000fu) { |
9656 | 0 | if (cached_has_bits & 0x00000001u) { |
9657 | 0 | GOOGLE_DCHECK(_impl_.for_body_ != nullptr); |
9658 | 0 | _impl_.for_body_->Clear(); |
9659 | 0 | } |
9660 | 0 | if (cached_has_bits & 0x00000002u) { |
9661 | 0 | GOOGLE_DCHECK(_impl_.for_init_ != nullptr); |
9662 | 0 | _impl_.for_init_->Clear(); |
9663 | 0 | } |
9664 | 0 | if (cached_has_bits & 0x00000004u) { |
9665 | 0 | GOOGLE_DCHECK(_impl_.for_post_ != nullptr); |
9666 | 0 | _impl_.for_post_->Clear(); |
9667 | 0 | } |
9668 | 0 | if (cached_has_bits & 0x00000008u) { |
9669 | 0 | GOOGLE_DCHECK(_impl_.for_cond_ != nullptr); |
9670 | 0 | _impl_.for_cond_->Clear(); |
9671 | 0 | } |
9672 | 0 | } |
9673 | 0 | _impl_._has_bits_.Clear(); |
9674 | 0 | _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); |
9675 | 0 | } |
9676 | | |
9677 | 0 | const char* ForStmt::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { |
9678 | 0 | #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure |
9679 | 0 | _Internal::HasBits has_bits{}; |
9680 | 0 | while (!ctx->Done(&ptr)) { |
9681 | 0 | uint32_t tag; |
9682 | 0 | ptr = ::_pbi::ReadTag(ptr, &tag); |
9683 | 0 | switch (tag >> 3) { |
9684 | | // required .solidity.yul.test.yul_fuzzer.Block for_body = 1; |
9685 | 0 | case 1: |
9686 | 0 | if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 10)) { |
9687 | 0 | ptr = ctx->ParseMessage(_internal_mutable_for_body(), ptr); |
9688 | 0 | CHK_(ptr); |
9689 | 0 | } else |
9690 | 0 | goto handle_unusual; |
9691 | 0 | continue; |
9692 | | // required .solidity.yul.test.yul_fuzzer.Block for_init = 2; |
9693 | 0 | case 2: |
9694 | 0 | if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 18)) { |
9695 | 0 | ptr = ctx->ParseMessage(_internal_mutable_for_init(), ptr); |
9696 | 0 | CHK_(ptr); |
9697 | 0 | } else |
9698 | 0 | goto handle_unusual; |
9699 | 0 | continue; |
9700 | | // required .solidity.yul.test.yul_fuzzer.Block for_post = 3; |
9701 | 0 | case 3: |
9702 | 0 | if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 26)) { |
9703 | 0 | ptr = ctx->ParseMessage(_internal_mutable_for_post(), ptr); |
9704 | 0 | CHK_(ptr); |
9705 | 0 | } else |
9706 | 0 | goto handle_unusual; |
9707 | 0 | continue; |
9708 | | // required .solidity.yul.test.yul_fuzzer.Expression for_cond = 4; |
9709 | 0 | case 4: |
9710 | 0 | if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 34)) { |
9711 | 0 | ptr = ctx->ParseMessage(_internal_mutable_for_cond(), ptr); |
9712 | 0 | CHK_(ptr); |
9713 | 0 | } else |
9714 | 0 | goto handle_unusual; |
9715 | 0 | continue; |
9716 | 0 | default: |
9717 | 0 | goto handle_unusual; |
9718 | 0 | } // switch |
9719 | 0 | handle_unusual: |
9720 | 0 | if ((tag == 0) || ((tag & 7) == 4)) { |
9721 | 0 | CHK_(ptr); |
9722 | 0 | ctx->SetLastTag(tag); |
9723 | 0 | goto message_done; |
9724 | 0 | } |
9725 | 0 | ptr = UnknownFieldParse( |
9726 | 0 | tag, |
9727 | 0 | _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), |
9728 | 0 | ptr, ctx); |
9729 | 0 | CHK_(ptr != nullptr); |
9730 | 0 | } // while |
9731 | 0 | message_done: |
9732 | 0 | _impl_._has_bits_.Or(has_bits); |
9733 | 0 | return ptr; |
9734 | 0 | failure: |
9735 | 0 | ptr = nullptr; |
9736 | 0 | goto message_done; |
9737 | 0 | #undef CHK_ |
9738 | 0 | } |
9739 | | |
9740 | | uint8_t* ForStmt::_InternalSerialize( |
9741 | 0 | uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { |
9742 | | // @@protoc_insertion_point(serialize_to_array_start:solidity.yul.test.yul_fuzzer.ForStmt) |
9743 | 0 | uint32_t cached_has_bits = 0; |
9744 | 0 | (void) cached_has_bits; |
9745 | |
|
9746 | 0 | cached_has_bits = _impl_._has_bits_[0]; |
9747 | | // required .solidity.yul.test.yul_fuzzer.Block for_body = 1; |
9748 | 0 | if (cached_has_bits & 0x00000001u) { |
9749 | 0 | target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: |
9750 | 0 | InternalWriteMessage(1, _Internal::for_body(this), |
9751 | 0 | _Internal::for_body(this).GetCachedSize(), target, stream); |
9752 | 0 | } |
9753 | | |
9754 | | // required .solidity.yul.test.yul_fuzzer.Block for_init = 2; |
9755 | 0 | if (cached_has_bits & 0x00000002u) { |
9756 | 0 | target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: |
9757 | 0 | InternalWriteMessage(2, _Internal::for_init(this), |
9758 | 0 | _Internal::for_init(this).GetCachedSize(), target, stream); |
9759 | 0 | } |
9760 | | |
9761 | | // required .solidity.yul.test.yul_fuzzer.Block for_post = 3; |
9762 | 0 | if (cached_has_bits & 0x00000004u) { |
9763 | 0 | target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: |
9764 | 0 | InternalWriteMessage(3, _Internal::for_post(this), |
9765 | 0 | _Internal::for_post(this).GetCachedSize(), target, stream); |
9766 | 0 | } |
9767 | | |
9768 | | // required .solidity.yul.test.yul_fuzzer.Expression for_cond = 4; |
9769 | 0 | if (cached_has_bits & 0x00000008u) { |
9770 | 0 | target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: |
9771 | 0 | InternalWriteMessage(4, _Internal::for_cond(this), |
9772 | 0 | _Internal::for_cond(this).GetCachedSize(), target, stream); |
9773 | 0 | } |
9774 | |
|
9775 | 0 | if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { |
9776 | 0 | target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( |
9777 | 0 | _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); |
9778 | 0 | } |
9779 | | // @@protoc_insertion_point(serialize_to_array_end:solidity.yul.test.yul_fuzzer.ForStmt) |
9780 | 0 | return target; |
9781 | 0 | } |
9782 | | |
9783 | 94.3k | size_t ForStmt::RequiredFieldsByteSizeFallback() const { |
9784 | | // @@protoc_insertion_point(required_fields_byte_size_fallback_start:solidity.yul.test.yul_fuzzer.ForStmt) |
9785 | 94.3k | size_t total_size = 0; |
9786 | | |
9787 | 94.3k | if (_internal_has_for_body()) { |
9788 | | // required .solidity.yul.test.yul_fuzzer.Block for_body = 1; |
9789 | 0 | total_size += 1 + |
9790 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
9791 | 0 | *_impl_.for_body_); |
9792 | 0 | } |
9793 | | |
9794 | 94.3k | if (_internal_has_for_init()) { |
9795 | | // required .solidity.yul.test.yul_fuzzer.Block for_init = 2; |
9796 | 0 | total_size += 1 + |
9797 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
9798 | 0 | *_impl_.for_init_); |
9799 | 0 | } |
9800 | | |
9801 | 94.3k | if (_internal_has_for_post()) { |
9802 | | // required .solidity.yul.test.yul_fuzzer.Block for_post = 3; |
9803 | 0 | total_size += 1 + |
9804 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
9805 | 0 | *_impl_.for_post_); |
9806 | 0 | } |
9807 | | |
9808 | 94.3k | if (_internal_has_for_cond()) { |
9809 | | // required .solidity.yul.test.yul_fuzzer.Expression for_cond = 4; |
9810 | 0 | total_size += 1 + |
9811 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
9812 | 0 | *_impl_.for_cond_); |
9813 | 0 | } |
9814 | | |
9815 | 94.3k | return total_size; |
9816 | 94.3k | } |
9817 | 291k | size_t ForStmt::ByteSizeLong() const { |
9818 | | // @@protoc_insertion_point(message_byte_size_start:solidity.yul.test.yul_fuzzer.ForStmt) |
9819 | 291k | size_t total_size = 0; |
9820 | | |
9821 | 291k | if (((_impl_._has_bits_[0] & 0x0000000f) ^ 0x0000000f) == 0) { // All required fields are present. |
9822 | | // required .solidity.yul.test.yul_fuzzer.Block for_body = 1; |
9823 | 196k | total_size += 1 + |
9824 | 196k | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
9825 | 196k | *_impl_.for_body_); |
9826 | | |
9827 | | // required .solidity.yul.test.yul_fuzzer.Block for_init = 2; |
9828 | 196k | total_size += 1 + |
9829 | 196k | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
9830 | 196k | *_impl_.for_init_); |
9831 | | |
9832 | | // required .solidity.yul.test.yul_fuzzer.Block for_post = 3; |
9833 | 196k | total_size += 1 + |
9834 | 196k | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
9835 | 196k | *_impl_.for_post_); |
9836 | | |
9837 | | // required .solidity.yul.test.yul_fuzzer.Expression for_cond = 4; |
9838 | 196k | total_size += 1 + |
9839 | 196k | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
9840 | 196k | *_impl_.for_cond_); |
9841 | | |
9842 | 196k | } else { |
9843 | 94.3k | total_size += RequiredFieldsByteSizeFallback(); |
9844 | 94.3k | } |
9845 | 291k | uint32_t cached_has_bits = 0; |
9846 | | // Prevent compiler warnings about cached_has_bits being unused |
9847 | 291k | (void) cached_has_bits; |
9848 | | |
9849 | 291k | return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); |
9850 | 291k | } |
9851 | | |
9852 | | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData ForStmt::_class_data_ = { |
9853 | | ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, |
9854 | | ForStmt::MergeImpl |
9855 | | }; |
9856 | 0 | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*ForStmt::GetClassData() const { return &_class_data_; } |
9857 | | |
9858 | | |
9859 | 0 | void ForStmt::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { |
9860 | 0 | auto* const _this = static_cast<ForStmt*>(&to_msg); |
9861 | 0 | auto& from = static_cast<const ForStmt&>(from_msg); |
9862 | | // @@protoc_insertion_point(class_specific_merge_from_start:solidity.yul.test.yul_fuzzer.ForStmt) |
9863 | 0 | GOOGLE_DCHECK_NE(&from, _this); |
9864 | 0 | uint32_t cached_has_bits = 0; |
9865 | 0 | (void) cached_has_bits; |
9866 | |
|
9867 | 0 | cached_has_bits = from._impl_._has_bits_[0]; |
9868 | 0 | if (cached_has_bits & 0x0000000fu) { |
9869 | 0 | if (cached_has_bits & 0x00000001u) { |
9870 | 0 | _this->_internal_mutable_for_body()->::solidity::yul::test::yul_fuzzer::Block::MergeFrom( |
9871 | 0 | from._internal_for_body()); |
9872 | 0 | } |
9873 | 0 | if (cached_has_bits & 0x00000002u) { |
9874 | 0 | _this->_internal_mutable_for_init()->::solidity::yul::test::yul_fuzzer::Block::MergeFrom( |
9875 | 0 | from._internal_for_init()); |
9876 | 0 | } |
9877 | 0 | if (cached_has_bits & 0x00000004u) { |
9878 | 0 | _this->_internal_mutable_for_post()->::solidity::yul::test::yul_fuzzer::Block::MergeFrom( |
9879 | 0 | from._internal_for_post()); |
9880 | 0 | } |
9881 | 0 | if (cached_has_bits & 0x00000008u) { |
9882 | 0 | _this->_internal_mutable_for_cond()->::solidity::yul::test::yul_fuzzer::Expression::MergeFrom( |
9883 | 0 | from._internal_for_cond()); |
9884 | 0 | } |
9885 | 0 | } |
9886 | 0 | _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); |
9887 | 0 | } |
9888 | | |
9889 | 0 | void ForStmt::CopyFrom(const ForStmt& from) { |
9890 | | // @@protoc_insertion_point(class_specific_copy_from_start:solidity.yul.test.yul_fuzzer.ForStmt) |
9891 | 0 | if (&from == this) return; |
9892 | 0 | Clear(); |
9893 | 0 | MergeFrom(from); |
9894 | 0 | } |
9895 | | |
9896 | 0 | bool ForStmt::IsInitialized() const { |
9897 | 0 | if (_Internal::MissingRequiredFields(_impl_._has_bits_)) return false; |
9898 | 0 | if (_internal_has_for_body()) { |
9899 | 0 | if (!_impl_.for_body_->IsInitialized()) return false; |
9900 | 0 | } |
9901 | 0 | if (_internal_has_for_init()) { |
9902 | 0 | if (!_impl_.for_init_->IsInitialized()) return false; |
9903 | 0 | } |
9904 | 0 | if (_internal_has_for_post()) { |
9905 | 0 | if (!_impl_.for_post_->IsInitialized()) return false; |
9906 | 0 | } |
9907 | 0 | if (_internal_has_for_cond()) { |
9908 | 0 | if (!_impl_.for_cond_->IsInitialized()) return false; |
9909 | 0 | } |
9910 | 0 | return true; |
9911 | 0 | } |
9912 | | |
9913 | 0 | void ForStmt::InternalSwap(ForStmt* other) { |
9914 | 0 | using std::swap; |
9915 | 0 | _internal_metadata_.InternalSwap(&other->_internal_metadata_); |
9916 | 0 | swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); |
9917 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::memswap< |
9918 | 0 | PROTOBUF_FIELD_OFFSET(ForStmt, _impl_.for_cond_) |
9919 | 0 | + sizeof(ForStmt::_impl_.for_cond_) |
9920 | 0 | - PROTOBUF_FIELD_OFFSET(ForStmt, _impl_.for_body_)>( |
9921 | 0 | reinterpret_cast<char*>(&_impl_.for_body_), |
9922 | 0 | reinterpret_cast<char*>(&other->_impl_.for_body_)); |
9923 | 0 | } |
9924 | | |
9925 | 12.7M | ::PROTOBUF_NAMESPACE_ID::Metadata ForStmt::GetMetadata() const { |
9926 | 12.7M | return ::_pbi::AssignDescriptors( |
9927 | 12.7M | &descriptor_table_yulProto_2eproto_getter, &descriptor_table_yulProto_2eproto_once, |
9928 | 12.7M | file_level_metadata_yulProto_2eproto[22]); |
9929 | 12.7M | } |
9930 | | |
9931 | | // =================================================================== |
9932 | | |
9933 | | class CaseStmt::_Internal { |
9934 | | public: |
9935 | | using HasBits = decltype(std::declval<CaseStmt>()._impl_._has_bits_); |
9936 | | static const ::solidity::yul::test::yul_fuzzer::Literal& case_lit(const CaseStmt* msg); |
9937 | 0 | static void set_has_case_lit(HasBits* has_bits) { |
9938 | 0 | (*has_bits)[0] |= 1u; |
9939 | 0 | } |
9940 | | static const ::solidity::yul::test::yul_fuzzer::Block& case_block(const CaseStmt* msg); |
9941 | 0 | static void set_has_case_block(HasBits* has_bits) { |
9942 | 0 | (*has_bits)[0] |= 2u; |
9943 | 0 | } |
9944 | 0 | static bool MissingRequiredFields(const HasBits& has_bits) { |
9945 | 0 | return ((has_bits[0] & 0x00000003) ^ 0x00000003) != 0; |
9946 | 0 | } |
9947 | | }; |
9948 | | |
9949 | | const ::solidity::yul::test::yul_fuzzer::Literal& |
9950 | 0 | CaseStmt::_Internal::case_lit(const CaseStmt* msg) { |
9951 | 0 | return *msg->_impl_.case_lit_; |
9952 | 0 | } |
9953 | | const ::solidity::yul::test::yul_fuzzer::Block& |
9954 | 0 | CaseStmt::_Internal::case_block(const CaseStmt* msg) { |
9955 | 0 | return *msg->_impl_.case_block_; |
9956 | 0 | } |
9957 | | CaseStmt::CaseStmt(::PROTOBUF_NAMESPACE_ID::Arena* arena, |
9958 | | bool is_message_owned) |
9959 | 108k | : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { |
9960 | 108k | SharedCtor(arena, is_message_owned); |
9961 | | // @@protoc_insertion_point(arena_constructor:solidity.yul.test.yul_fuzzer.CaseStmt) |
9962 | 108k | } |
9963 | | CaseStmt::CaseStmt(const CaseStmt& from) |
9964 | 0 | : ::PROTOBUF_NAMESPACE_ID::Message() { |
9965 | 0 | CaseStmt* const _this = this; (void)_this; |
9966 | 0 | new (&_impl_) Impl_{ |
9967 | 0 | decltype(_impl_._has_bits_){from._impl_._has_bits_} |
9968 | 0 | , /*decltype(_impl_._cached_size_)*/{} |
9969 | 0 | , decltype(_impl_.case_lit_){nullptr} |
9970 | 0 | , decltype(_impl_.case_block_){nullptr}}; |
9971 | |
|
9972 | 0 | _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); |
9973 | 0 | if (from._internal_has_case_lit()) { |
9974 | 0 | _this->_impl_.case_lit_ = new ::solidity::yul::test::yul_fuzzer::Literal(*from._impl_.case_lit_); |
9975 | 0 | } |
9976 | 0 | if (from._internal_has_case_block()) { |
9977 | 0 | _this->_impl_.case_block_ = new ::solidity::yul::test::yul_fuzzer::Block(*from._impl_.case_block_); |
9978 | 0 | } |
9979 | | // @@protoc_insertion_point(copy_constructor:solidity.yul.test.yul_fuzzer.CaseStmt) |
9980 | 0 | } |
9981 | | |
9982 | | inline void CaseStmt::SharedCtor( |
9983 | 108k | ::_pb::Arena* arena, bool is_message_owned) { |
9984 | 108k | (void)arena; |
9985 | 108k | (void)is_message_owned; |
9986 | 108k | new (&_impl_) Impl_{ |
9987 | 108k | decltype(_impl_._has_bits_){} |
9988 | 108k | , /*decltype(_impl_._cached_size_)*/{} |
9989 | 108k | , decltype(_impl_.case_lit_){nullptr} |
9990 | 108k | , decltype(_impl_.case_block_){nullptr} |
9991 | 108k | }; |
9992 | 108k | } |
9993 | | |
9994 | 108k | CaseStmt::~CaseStmt() { |
9995 | | // @@protoc_insertion_point(destructor:solidity.yul.test.yul_fuzzer.CaseStmt) |
9996 | 108k | if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { |
9997 | 0 | (void)arena; |
9998 | 0 | return; |
9999 | 0 | } |
10000 | 108k | SharedDtor(); |
10001 | 108k | } |
10002 | | |
10003 | 108k | inline void CaseStmt::SharedDtor() { |
10004 | 108k | GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); |
10005 | 108k | if (this != internal_default_instance()) delete _impl_.case_lit_; |
10006 | 108k | if (this != internal_default_instance()) delete _impl_.case_block_; |
10007 | 108k | } |
10008 | | |
10009 | 0 | void CaseStmt::SetCachedSize(int size) const { |
10010 | 0 | _impl_._cached_size_.Set(size); |
10011 | 0 | } |
10012 | | |
10013 | 0 | void CaseStmt::Clear() { |
10014 | | // @@protoc_insertion_point(message_clear_start:solidity.yul.test.yul_fuzzer.CaseStmt) |
10015 | 0 | uint32_t cached_has_bits = 0; |
10016 | | // Prevent compiler warnings about cached_has_bits being unused |
10017 | 0 | (void) cached_has_bits; |
10018 | |
|
10019 | 0 | cached_has_bits = _impl_._has_bits_[0]; |
10020 | 0 | if (cached_has_bits & 0x00000003u) { |
10021 | 0 | if (cached_has_bits & 0x00000001u) { |
10022 | 0 | GOOGLE_DCHECK(_impl_.case_lit_ != nullptr); |
10023 | 0 | _impl_.case_lit_->Clear(); |
10024 | 0 | } |
10025 | 0 | if (cached_has_bits & 0x00000002u) { |
10026 | 0 | GOOGLE_DCHECK(_impl_.case_block_ != nullptr); |
10027 | 0 | _impl_.case_block_->Clear(); |
10028 | 0 | } |
10029 | 0 | } |
10030 | 0 | _impl_._has_bits_.Clear(); |
10031 | 0 | _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); |
10032 | 0 | } |
10033 | | |
10034 | 0 | const char* CaseStmt::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { |
10035 | 0 | #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure |
10036 | 0 | _Internal::HasBits has_bits{}; |
10037 | 0 | while (!ctx->Done(&ptr)) { |
10038 | 0 | uint32_t tag; |
10039 | 0 | ptr = ::_pbi::ReadTag(ptr, &tag); |
10040 | 0 | switch (tag >> 3) { |
10041 | | // required .solidity.yul.test.yul_fuzzer.Literal case_lit = 1; |
10042 | 0 | case 1: |
10043 | 0 | if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 10)) { |
10044 | 0 | ptr = ctx->ParseMessage(_internal_mutable_case_lit(), ptr); |
10045 | 0 | CHK_(ptr); |
10046 | 0 | } else |
10047 | 0 | goto handle_unusual; |
10048 | 0 | continue; |
10049 | | // required .solidity.yul.test.yul_fuzzer.Block case_block = 2; |
10050 | 0 | case 2: |
10051 | 0 | if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 18)) { |
10052 | 0 | ptr = ctx->ParseMessage(_internal_mutable_case_block(), ptr); |
10053 | 0 | CHK_(ptr); |
10054 | 0 | } else |
10055 | 0 | goto handle_unusual; |
10056 | 0 | continue; |
10057 | 0 | default: |
10058 | 0 | goto handle_unusual; |
10059 | 0 | } // switch |
10060 | 0 | handle_unusual: |
10061 | 0 | if ((tag == 0) || ((tag & 7) == 4)) { |
10062 | 0 | CHK_(ptr); |
10063 | 0 | ctx->SetLastTag(tag); |
10064 | 0 | goto message_done; |
10065 | 0 | } |
10066 | 0 | ptr = UnknownFieldParse( |
10067 | 0 | tag, |
10068 | 0 | _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), |
10069 | 0 | ptr, ctx); |
10070 | 0 | CHK_(ptr != nullptr); |
10071 | 0 | } // while |
10072 | 0 | message_done: |
10073 | 0 | _impl_._has_bits_.Or(has_bits); |
10074 | 0 | return ptr; |
10075 | 0 | failure: |
10076 | 0 | ptr = nullptr; |
10077 | 0 | goto message_done; |
10078 | 0 | #undef CHK_ |
10079 | 0 | } |
10080 | | |
10081 | | uint8_t* CaseStmt::_InternalSerialize( |
10082 | 0 | uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { |
10083 | | // @@protoc_insertion_point(serialize_to_array_start:solidity.yul.test.yul_fuzzer.CaseStmt) |
10084 | 0 | uint32_t cached_has_bits = 0; |
10085 | 0 | (void) cached_has_bits; |
10086 | |
|
10087 | 0 | cached_has_bits = _impl_._has_bits_[0]; |
10088 | | // required .solidity.yul.test.yul_fuzzer.Literal case_lit = 1; |
10089 | 0 | if (cached_has_bits & 0x00000001u) { |
10090 | 0 | target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: |
10091 | 0 | InternalWriteMessage(1, _Internal::case_lit(this), |
10092 | 0 | _Internal::case_lit(this).GetCachedSize(), target, stream); |
10093 | 0 | } |
10094 | | |
10095 | | // required .solidity.yul.test.yul_fuzzer.Block case_block = 2; |
10096 | 0 | if (cached_has_bits & 0x00000002u) { |
10097 | 0 | target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: |
10098 | 0 | InternalWriteMessage(2, _Internal::case_block(this), |
10099 | 0 | _Internal::case_block(this).GetCachedSize(), target, stream); |
10100 | 0 | } |
10101 | |
|
10102 | 0 | if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { |
10103 | 0 | target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( |
10104 | 0 | _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); |
10105 | 0 | } |
10106 | | // @@protoc_insertion_point(serialize_to_array_end:solidity.yul.test.yul_fuzzer.CaseStmt) |
10107 | 0 | return target; |
10108 | 0 | } |
10109 | | |
10110 | 0 | size_t CaseStmt::RequiredFieldsByteSizeFallback() const { |
10111 | | // @@protoc_insertion_point(required_fields_byte_size_fallback_start:solidity.yul.test.yul_fuzzer.CaseStmt) |
10112 | 0 | size_t total_size = 0; |
10113 | |
|
10114 | 0 | if (_internal_has_case_lit()) { |
10115 | | // required .solidity.yul.test.yul_fuzzer.Literal case_lit = 1; |
10116 | 0 | total_size += 1 + |
10117 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
10118 | 0 | *_impl_.case_lit_); |
10119 | 0 | } |
10120 | |
|
10121 | 0 | if (_internal_has_case_block()) { |
10122 | | // required .solidity.yul.test.yul_fuzzer.Block case_block = 2; |
10123 | 0 | total_size += 1 + |
10124 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
10125 | 0 | *_impl_.case_block_); |
10126 | 0 | } |
10127 | |
|
10128 | 0 | return total_size; |
10129 | 0 | } |
10130 | 103k | size_t CaseStmt::ByteSizeLong() const { |
10131 | | // @@protoc_insertion_point(message_byte_size_start:solidity.yul.test.yul_fuzzer.CaseStmt) |
10132 | 103k | size_t total_size = 0; |
10133 | | |
10134 | 103k | if (((_impl_._has_bits_[0] & 0x00000003) ^ 0x00000003) == 0) { // All required fields are present. |
10135 | | // required .solidity.yul.test.yul_fuzzer.Literal case_lit = 1; |
10136 | 103k | total_size += 1 + |
10137 | 103k | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
10138 | 103k | *_impl_.case_lit_); |
10139 | | |
10140 | | // required .solidity.yul.test.yul_fuzzer.Block case_block = 2; |
10141 | 103k | total_size += 1 + |
10142 | 103k | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
10143 | 103k | *_impl_.case_block_); |
10144 | | |
10145 | 103k | } else { |
10146 | 0 | total_size += RequiredFieldsByteSizeFallback(); |
10147 | 0 | } |
10148 | 103k | uint32_t cached_has_bits = 0; |
10149 | | // Prevent compiler warnings about cached_has_bits being unused |
10150 | 103k | (void) cached_has_bits; |
10151 | | |
10152 | 103k | return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); |
10153 | 103k | } |
10154 | | |
10155 | | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CaseStmt::_class_data_ = { |
10156 | | ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, |
10157 | | CaseStmt::MergeImpl |
10158 | | }; |
10159 | 0 | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CaseStmt::GetClassData() const { return &_class_data_; } |
10160 | | |
10161 | | |
10162 | 0 | void CaseStmt::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { |
10163 | 0 | auto* const _this = static_cast<CaseStmt*>(&to_msg); |
10164 | 0 | auto& from = static_cast<const CaseStmt&>(from_msg); |
10165 | | // @@protoc_insertion_point(class_specific_merge_from_start:solidity.yul.test.yul_fuzzer.CaseStmt) |
10166 | 0 | GOOGLE_DCHECK_NE(&from, _this); |
10167 | 0 | uint32_t cached_has_bits = 0; |
10168 | 0 | (void) cached_has_bits; |
10169 | |
|
10170 | 0 | cached_has_bits = from._impl_._has_bits_[0]; |
10171 | 0 | if (cached_has_bits & 0x00000003u) { |
10172 | 0 | if (cached_has_bits & 0x00000001u) { |
10173 | 0 | _this->_internal_mutable_case_lit()->::solidity::yul::test::yul_fuzzer::Literal::MergeFrom( |
10174 | 0 | from._internal_case_lit()); |
10175 | 0 | } |
10176 | 0 | if (cached_has_bits & 0x00000002u) { |
10177 | 0 | _this->_internal_mutable_case_block()->::solidity::yul::test::yul_fuzzer::Block::MergeFrom( |
10178 | 0 | from._internal_case_block()); |
10179 | 0 | } |
10180 | 0 | } |
10181 | 0 | _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); |
10182 | 0 | } |
10183 | | |
10184 | 0 | void CaseStmt::CopyFrom(const CaseStmt& from) { |
10185 | | // @@protoc_insertion_point(class_specific_copy_from_start:solidity.yul.test.yul_fuzzer.CaseStmt) |
10186 | 0 | if (&from == this) return; |
10187 | 0 | Clear(); |
10188 | 0 | MergeFrom(from); |
10189 | 0 | } |
10190 | | |
10191 | 0 | bool CaseStmt::IsInitialized() const { |
10192 | 0 | if (_Internal::MissingRequiredFields(_impl_._has_bits_)) return false; |
10193 | 0 | if (_internal_has_case_block()) { |
10194 | 0 | if (!_impl_.case_block_->IsInitialized()) return false; |
10195 | 0 | } |
10196 | 0 | return true; |
10197 | 0 | } |
10198 | | |
10199 | 0 | void CaseStmt::InternalSwap(CaseStmt* other) { |
10200 | 0 | using std::swap; |
10201 | 0 | _internal_metadata_.InternalSwap(&other->_internal_metadata_); |
10202 | 0 | swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); |
10203 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::memswap< |
10204 | 0 | PROTOBUF_FIELD_OFFSET(CaseStmt, _impl_.case_block_) |
10205 | 0 | + sizeof(CaseStmt::_impl_.case_block_) |
10206 | 0 | - PROTOBUF_FIELD_OFFSET(CaseStmt, _impl_.case_lit_)>( |
10207 | 0 | reinterpret_cast<char*>(&_impl_.case_lit_), |
10208 | 0 | reinterpret_cast<char*>(&other->_impl_.case_lit_)); |
10209 | 0 | } |
10210 | | |
10211 | 2.12M | ::PROTOBUF_NAMESPACE_ID::Metadata CaseStmt::GetMetadata() const { |
10212 | 2.12M | return ::_pbi::AssignDescriptors( |
10213 | 2.12M | &descriptor_table_yulProto_2eproto_getter, &descriptor_table_yulProto_2eproto_once, |
10214 | 2.12M | file_level_metadata_yulProto_2eproto[23]); |
10215 | 2.12M | } |
10216 | | |
10217 | | // =================================================================== |
10218 | | |
10219 | | class SwitchStmt::_Internal { |
10220 | | public: |
10221 | | using HasBits = decltype(std::declval<SwitchStmt>()._impl_._has_bits_); |
10222 | | static const ::solidity::yul::test::yul_fuzzer::Expression& switch_expr(const SwitchStmt* msg); |
10223 | 0 | static void set_has_switch_expr(HasBits* has_bits) { |
10224 | 0 | (*has_bits)[0] |= 1u; |
10225 | 0 | } |
10226 | | static const ::solidity::yul::test::yul_fuzzer::Block& default_block(const SwitchStmt* msg); |
10227 | 0 | static void set_has_default_block(HasBits* has_bits) { |
10228 | 0 | (*has_bits)[0] |= 2u; |
10229 | 0 | } |
10230 | 0 | static bool MissingRequiredFields(const HasBits& has_bits) { |
10231 | 0 | return ((has_bits[0] & 0x00000001) ^ 0x00000001) != 0; |
10232 | 0 | } |
10233 | | }; |
10234 | | |
10235 | | const ::solidity::yul::test::yul_fuzzer::Expression& |
10236 | 0 | SwitchStmt::_Internal::switch_expr(const SwitchStmt* msg) { |
10237 | 0 | return *msg->_impl_.switch_expr_; |
10238 | 0 | } |
10239 | | const ::solidity::yul::test::yul_fuzzer::Block& |
10240 | 0 | SwitchStmt::_Internal::default_block(const SwitchStmt* msg) { |
10241 | 0 | return *msg->_impl_.default_block_; |
10242 | 0 | } |
10243 | | SwitchStmt::SwitchStmt(::PROTOBUF_NAMESPACE_ID::Arena* arena, |
10244 | | bool is_message_owned) |
10245 | 334k | : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { |
10246 | 334k | SharedCtor(arena, is_message_owned); |
10247 | | // @@protoc_insertion_point(arena_constructor:solidity.yul.test.yul_fuzzer.SwitchStmt) |
10248 | 334k | } |
10249 | | SwitchStmt::SwitchStmt(const SwitchStmt& from) |
10250 | 0 | : ::PROTOBUF_NAMESPACE_ID::Message() { |
10251 | 0 | SwitchStmt* const _this = this; (void)_this; |
10252 | 0 | new (&_impl_) Impl_{ |
10253 | 0 | decltype(_impl_._has_bits_){from._impl_._has_bits_} |
10254 | 0 | , /*decltype(_impl_._cached_size_)*/{} |
10255 | 0 | , decltype(_impl_.case_stmt_){from._impl_.case_stmt_} |
10256 | 0 | , decltype(_impl_.switch_expr_){nullptr} |
10257 | 0 | , decltype(_impl_.default_block_){nullptr}}; |
10258 | |
|
10259 | 0 | _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); |
10260 | 0 | if (from._internal_has_switch_expr()) { |
10261 | 0 | _this->_impl_.switch_expr_ = new ::solidity::yul::test::yul_fuzzer::Expression(*from._impl_.switch_expr_); |
10262 | 0 | } |
10263 | 0 | if (from._internal_has_default_block()) { |
10264 | 0 | _this->_impl_.default_block_ = new ::solidity::yul::test::yul_fuzzer::Block(*from._impl_.default_block_); |
10265 | 0 | } |
10266 | | // @@protoc_insertion_point(copy_constructor:solidity.yul.test.yul_fuzzer.SwitchStmt) |
10267 | 0 | } |
10268 | | |
10269 | | inline void SwitchStmt::SharedCtor( |
10270 | 334k | ::_pb::Arena* arena, bool is_message_owned) { |
10271 | 334k | (void)arena; |
10272 | 334k | (void)is_message_owned; |
10273 | 334k | new (&_impl_) Impl_{ |
10274 | 334k | decltype(_impl_._has_bits_){} |
10275 | 334k | , /*decltype(_impl_._cached_size_)*/{} |
10276 | 334k | , decltype(_impl_.case_stmt_){arena} |
10277 | 334k | , decltype(_impl_.switch_expr_){nullptr} |
10278 | 334k | , decltype(_impl_.default_block_){nullptr} |
10279 | 334k | }; |
10280 | 334k | } |
10281 | | |
10282 | 334k | SwitchStmt::~SwitchStmt() { |
10283 | | // @@protoc_insertion_point(destructor:solidity.yul.test.yul_fuzzer.SwitchStmt) |
10284 | 334k | if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { |
10285 | 0 | (void)arena; |
10286 | 0 | return; |
10287 | 0 | } |
10288 | 334k | SharedDtor(); |
10289 | 334k | } |
10290 | | |
10291 | 334k | inline void SwitchStmt::SharedDtor() { |
10292 | 334k | GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); |
10293 | 334k | _impl_.case_stmt_.~RepeatedPtrField(); |
10294 | 334k | if (this != internal_default_instance()) delete _impl_.switch_expr_; |
10295 | 334k | if (this != internal_default_instance()) delete _impl_.default_block_; |
10296 | 334k | } |
10297 | | |
10298 | 0 | void SwitchStmt::SetCachedSize(int size) const { |
10299 | 0 | _impl_._cached_size_.Set(size); |
10300 | 0 | } |
10301 | | |
10302 | 0 | void SwitchStmt::Clear() { |
10303 | | // @@protoc_insertion_point(message_clear_start:solidity.yul.test.yul_fuzzer.SwitchStmt) |
10304 | 0 | uint32_t cached_has_bits = 0; |
10305 | | // Prevent compiler warnings about cached_has_bits being unused |
10306 | 0 | (void) cached_has_bits; |
10307 | |
|
10308 | 0 | _impl_.case_stmt_.Clear(); |
10309 | 0 | cached_has_bits = _impl_._has_bits_[0]; |
10310 | 0 | if (cached_has_bits & 0x00000003u) { |
10311 | 0 | if (cached_has_bits & 0x00000001u) { |
10312 | 0 | GOOGLE_DCHECK(_impl_.switch_expr_ != nullptr); |
10313 | 0 | _impl_.switch_expr_->Clear(); |
10314 | 0 | } |
10315 | 0 | if (cached_has_bits & 0x00000002u) { |
10316 | 0 | GOOGLE_DCHECK(_impl_.default_block_ != nullptr); |
10317 | 0 | _impl_.default_block_->Clear(); |
10318 | 0 | } |
10319 | 0 | } |
10320 | 0 | _impl_._has_bits_.Clear(); |
10321 | 0 | _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); |
10322 | 0 | } |
10323 | | |
10324 | 0 | const char* SwitchStmt::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { |
10325 | 0 | #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure |
10326 | 0 | _Internal::HasBits has_bits{}; |
10327 | 0 | while (!ctx->Done(&ptr)) { |
10328 | 0 | uint32_t tag; |
10329 | 0 | ptr = ::_pbi::ReadTag(ptr, &tag); |
10330 | 0 | switch (tag >> 3) { |
10331 | | // required .solidity.yul.test.yul_fuzzer.Expression switch_expr = 1; |
10332 | 0 | case 1: |
10333 | 0 | if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 10)) { |
10334 | 0 | ptr = ctx->ParseMessage(_internal_mutable_switch_expr(), ptr); |
10335 | 0 | CHK_(ptr); |
10336 | 0 | } else |
10337 | 0 | goto handle_unusual; |
10338 | 0 | continue; |
10339 | | // repeated .solidity.yul.test.yul_fuzzer.CaseStmt case_stmt = 2; |
10340 | 0 | case 2: |
10341 | 0 | if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 18)) { |
10342 | 0 | ptr -= 1; |
10343 | 0 | do { |
10344 | 0 | ptr += 1; |
10345 | 0 | ptr = ctx->ParseMessage(_internal_add_case_stmt(), ptr); |
10346 | 0 | CHK_(ptr); |
10347 | 0 | if (!ctx->DataAvailable(ptr)) break; |
10348 | 0 | } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<18>(ptr)); |
10349 | 0 | } else |
10350 | 0 | goto handle_unusual; |
10351 | 0 | continue; |
10352 | | // optional .solidity.yul.test.yul_fuzzer.Block default_block = 3; |
10353 | 0 | case 3: |
10354 | 0 | if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 26)) { |
10355 | 0 | ptr = ctx->ParseMessage(_internal_mutable_default_block(), ptr); |
10356 | 0 | CHK_(ptr); |
10357 | 0 | } else |
10358 | 0 | goto handle_unusual; |
10359 | 0 | continue; |
10360 | 0 | default: |
10361 | 0 | goto handle_unusual; |
10362 | 0 | } // switch |
10363 | 0 | handle_unusual: |
10364 | 0 | if ((tag == 0) || ((tag & 7) == 4)) { |
10365 | 0 | CHK_(ptr); |
10366 | 0 | ctx->SetLastTag(tag); |
10367 | 0 | goto message_done; |
10368 | 0 | } |
10369 | 0 | ptr = UnknownFieldParse( |
10370 | 0 | tag, |
10371 | 0 | _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), |
10372 | 0 | ptr, ctx); |
10373 | 0 | CHK_(ptr != nullptr); |
10374 | 0 | } // while |
10375 | 0 | message_done: |
10376 | 0 | _impl_._has_bits_.Or(has_bits); |
10377 | 0 | return ptr; |
10378 | 0 | failure: |
10379 | 0 | ptr = nullptr; |
10380 | 0 | goto message_done; |
10381 | 0 | #undef CHK_ |
10382 | 0 | } |
10383 | | |
10384 | | uint8_t* SwitchStmt::_InternalSerialize( |
10385 | 0 | uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { |
10386 | | // @@protoc_insertion_point(serialize_to_array_start:solidity.yul.test.yul_fuzzer.SwitchStmt) |
10387 | 0 | uint32_t cached_has_bits = 0; |
10388 | 0 | (void) cached_has_bits; |
10389 | |
|
10390 | 0 | cached_has_bits = _impl_._has_bits_[0]; |
10391 | | // required .solidity.yul.test.yul_fuzzer.Expression switch_expr = 1; |
10392 | 0 | if (cached_has_bits & 0x00000001u) { |
10393 | 0 | target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: |
10394 | 0 | InternalWriteMessage(1, _Internal::switch_expr(this), |
10395 | 0 | _Internal::switch_expr(this).GetCachedSize(), target, stream); |
10396 | 0 | } |
10397 | | |
10398 | | // repeated .solidity.yul.test.yul_fuzzer.CaseStmt case_stmt = 2; |
10399 | 0 | for (unsigned i = 0, |
10400 | 0 | n = static_cast<unsigned>(this->_internal_case_stmt_size()); i < n; i++) { |
10401 | 0 | const auto& repfield = this->_internal_case_stmt(i); |
10402 | 0 | target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: |
10403 | 0 | InternalWriteMessage(2, repfield, repfield.GetCachedSize(), target, stream); |
10404 | 0 | } |
10405 | | |
10406 | | // optional .solidity.yul.test.yul_fuzzer.Block default_block = 3; |
10407 | 0 | if (cached_has_bits & 0x00000002u) { |
10408 | 0 | target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: |
10409 | 0 | InternalWriteMessage(3, _Internal::default_block(this), |
10410 | 0 | _Internal::default_block(this).GetCachedSize(), target, stream); |
10411 | 0 | } |
10412 | |
|
10413 | 0 | if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { |
10414 | 0 | target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( |
10415 | 0 | _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); |
10416 | 0 | } |
10417 | | // @@protoc_insertion_point(serialize_to_array_end:solidity.yul.test.yul_fuzzer.SwitchStmt) |
10418 | 0 | return target; |
10419 | 0 | } |
10420 | | |
10421 | 331k | size_t SwitchStmt::ByteSizeLong() const { |
10422 | | // @@protoc_insertion_point(message_byte_size_start:solidity.yul.test.yul_fuzzer.SwitchStmt) |
10423 | 331k | size_t total_size = 0; |
10424 | | |
10425 | | // required .solidity.yul.test.yul_fuzzer.Expression switch_expr = 1; |
10426 | 331k | if (_internal_has_switch_expr()) { |
10427 | 237k | total_size += 1 + |
10428 | 237k | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
10429 | 237k | *_impl_.switch_expr_); |
10430 | 237k | } |
10431 | 331k | uint32_t cached_has_bits = 0; |
10432 | | // Prevent compiler warnings about cached_has_bits being unused |
10433 | 331k | (void) cached_has_bits; |
10434 | | |
10435 | | // repeated .solidity.yul.test.yul_fuzzer.CaseStmt case_stmt = 2; |
10436 | 331k | total_size += 1UL * this->_internal_case_stmt_size(); |
10437 | 331k | for (const auto& msg : this->_impl_.case_stmt_) { |
10438 | 103k | total_size += |
10439 | 103k | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); |
10440 | 103k | } |
10441 | | |
10442 | | // optional .solidity.yul.test.yul_fuzzer.Block default_block = 3; |
10443 | 331k | cached_has_bits = _impl_._has_bits_[0]; |
10444 | 331k | if (cached_has_bits & 0x00000002u) { |
10445 | 225k | total_size += 1 + |
10446 | 225k | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
10447 | 225k | *_impl_.default_block_); |
10448 | 225k | } |
10449 | | |
10450 | 331k | return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); |
10451 | 331k | } |
10452 | | |
10453 | | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData SwitchStmt::_class_data_ = { |
10454 | | ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, |
10455 | | SwitchStmt::MergeImpl |
10456 | | }; |
10457 | 0 | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*SwitchStmt::GetClassData() const { return &_class_data_; } |
10458 | | |
10459 | | |
10460 | 0 | void SwitchStmt::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { |
10461 | 0 | auto* const _this = static_cast<SwitchStmt*>(&to_msg); |
10462 | 0 | auto& from = static_cast<const SwitchStmt&>(from_msg); |
10463 | | // @@protoc_insertion_point(class_specific_merge_from_start:solidity.yul.test.yul_fuzzer.SwitchStmt) |
10464 | 0 | GOOGLE_DCHECK_NE(&from, _this); |
10465 | 0 | uint32_t cached_has_bits = 0; |
10466 | 0 | (void) cached_has_bits; |
10467 | |
|
10468 | 0 | _this->_impl_.case_stmt_.MergeFrom(from._impl_.case_stmt_); |
10469 | 0 | cached_has_bits = from._impl_._has_bits_[0]; |
10470 | 0 | if (cached_has_bits & 0x00000003u) { |
10471 | 0 | if (cached_has_bits & 0x00000001u) { |
10472 | 0 | _this->_internal_mutable_switch_expr()->::solidity::yul::test::yul_fuzzer::Expression::MergeFrom( |
10473 | 0 | from._internal_switch_expr()); |
10474 | 0 | } |
10475 | 0 | if (cached_has_bits & 0x00000002u) { |
10476 | 0 | _this->_internal_mutable_default_block()->::solidity::yul::test::yul_fuzzer::Block::MergeFrom( |
10477 | 0 | from._internal_default_block()); |
10478 | 0 | } |
10479 | 0 | } |
10480 | 0 | _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); |
10481 | 0 | } |
10482 | | |
10483 | 0 | void SwitchStmt::CopyFrom(const SwitchStmt& from) { |
10484 | | // @@protoc_insertion_point(class_specific_copy_from_start:solidity.yul.test.yul_fuzzer.SwitchStmt) |
10485 | 0 | if (&from == this) return; |
10486 | 0 | Clear(); |
10487 | 0 | MergeFrom(from); |
10488 | 0 | } |
10489 | | |
10490 | 0 | bool SwitchStmt::IsInitialized() const { |
10491 | 0 | if (_Internal::MissingRequiredFields(_impl_._has_bits_)) return false; |
10492 | 0 | if (!::PROTOBUF_NAMESPACE_ID::internal::AllAreInitialized(_impl_.case_stmt_)) |
10493 | 0 | return false; |
10494 | 0 | if (_internal_has_switch_expr()) { |
10495 | 0 | if (!_impl_.switch_expr_->IsInitialized()) return false; |
10496 | 0 | } |
10497 | 0 | if (_internal_has_default_block()) { |
10498 | 0 | if (!_impl_.default_block_->IsInitialized()) return false; |
10499 | 0 | } |
10500 | 0 | return true; |
10501 | 0 | } |
10502 | | |
10503 | 0 | void SwitchStmt::InternalSwap(SwitchStmt* other) { |
10504 | 0 | using std::swap; |
10505 | 0 | _internal_metadata_.InternalSwap(&other->_internal_metadata_); |
10506 | 0 | swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); |
10507 | 0 | _impl_.case_stmt_.InternalSwap(&other->_impl_.case_stmt_); |
10508 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::memswap< |
10509 | 0 | PROTOBUF_FIELD_OFFSET(SwitchStmt, _impl_.default_block_) |
10510 | 0 | + sizeof(SwitchStmt::_impl_.default_block_) |
10511 | 0 | - PROTOBUF_FIELD_OFFSET(SwitchStmt, _impl_.switch_expr_)>( |
10512 | 0 | reinterpret_cast<char*>(&_impl_.switch_expr_), |
10513 | 0 | reinterpret_cast<char*>(&other->_impl_.switch_expr_)); |
10514 | 0 | } |
10515 | | |
10516 | 12.7M | ::PROTOBUF_NAMESPACE_ID::Metadata SwitchStmt::GetMetadata() const { |
10517 | 12.7M | return ::_pbi::AssignDescriptors( |
10518 | 12.7M | &descriptor_table_yulProto_2eproto_getter, &descriptor_table_yulProto_2eproto_once, |
10519 | 12.7M | file_level_metadata_yulProto_2eproto[24]); |
10520 | 12.7M | } |
10521 | | |
10522 | | // =================================================================== |
10523 | | |
10524 | | class BreakStmt::_Internal { |
10525 | | public: |
10526 | | }; |
10527 | | |
10528 | | BreakStmt::BreakStmt(::PROTOBUF_NAMESPACE_ID::Arena* arena, |
10529 | | bool is_message_owned) |
10530 | 324k | : ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase(arena, is_message_owned) { |
10531 | | // @@protoc_insertion_point(arena_constructor:solidity.yul.test.yul_fuzzer.BreakStmt) |
10532 | 324k | } |
10533 | | BreakStmt::BreakStmt(const BreakStmt& from) |
10534 | 0 | : ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase() { |
10535 | 0 | BreakStmt* const _this = this; (void)_this; |
10536 | 0 | _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); |
10537 | | // @@protoc_insertion_point(copy_constructor:solidity.yul.test.yul_fuzzer.BreakStmt) |
10538 | 0 | } |
10539 | | |
10540 | | |
10541 | | |
10542 | | |
10543 | | |
10544 | | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData BreakStmt::_class_data_ = { |
10545 | | ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl, |
10546 | | ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl, |
10547 | | }; |
10548 | 0 | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*BreakStmt::GetClassData() const { return &_class_data_; } |
10549 | | |
10550 | | |
10551 | | |
10552 | | |
10553 | | |
10554 | | |
10555 | | |
10556 | 10.1M | ::PROTOBUF_NAMESPACE_ID::Metadata BreakStmt::GetMetadata() const { |
10557 | 10.1M | return ::_pbi::AssignDescriptors( |
10558 | 10.1M | &descriptor_table_yulProto_2eproto_getter, &descriptor_table_yulProto_2eproto_once, |
10559 | 10.1M | file_level_metadata_yulProto_2eproto[25]); |
10560 | 10.1M | } |
10561 | | |
10562 | | // =================================================================== |
10563 | | |
10564 | | class ContinueStmt::_Internal { |
10565 | | public: |
10566 | | }; |
10567 | | |
10568 | | ContinueStmt::ContinueStmt(::PROTOBUF_NAMESPACE_ID::Arena* arena, |
10569 | | bool is_message_owned) |
10570 | 316k | : ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase(arena, is_message_owned) { |
10571 | | // @@protoc_insertion_point(arena_constructor:solidity.yul.test.yul_fuzzer.ContinueStmt) |
10572 | 316k | } |
10573 | | ContinueStmt::ContinueStmt(const ContinueStmt& from) |
10574 | 0 | : ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase() { |
10575 | 0 | ContinueStmt* const _this = this; (void)_this; |
10576 | 0 | _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); |
10577 | | // @@protoc_insertion_point(copy_constructor:solidity.yul.test.yul_fuzzer.ContinueStmt) |
10578 | 0 | } |
10579 | | |
10580 | | |
10581 | | |
10582 | | |
10583 | | |
10584 | | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData ContinueStmt::_class_data_ = { |
10585 | | ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl, |
10586 | | ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl, |
10587 | | }; |
10588 | 0 | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*ContinueStmt::GetClassData() const { return &_class_data_; } |
10589 | | |
10590 | | |
10591 | | |
10592 | | |
10593 | | |
10594 | | |
10595 | | |
10596 | 9.93M | ::PROTOBUF_NAMESPACE_ID::Metadata ContinueStmt::GetMetadata() const { |
10597 | 9.93M | return ::_pbi::AssignDescriptors( |
10598 | 9.93M | &descriptor_table_yulProto_2eproto_getter, &descriptor_table_yulProto_2eproto_once, |
10599 | 9.93M | file_level_metadata_yulProto_2eproto[26]); |
10600 | 9.93M | } |
10601 | | |
10602 | | // =================================================================== |
10603 | | |
10604 | | class StopInvalidStmt::_Internal { |
10605 | | public: |
10606 | | using HasBits = decltype(std::declval<StopInvalidStmt>()._impl_._has_bits_); |
10607 | 0 | static void set_has_stmt(HasBits* has_bits) { |
10608 | 0 | (*has_bits)[0] |= 1u; |
10609 | 0 | } |
10610 | 0 | static bool MissingRequiredFields(const HasBits& has_bits) { |
10611 | 0 | return ((has_bits[0] & 0x00000001) ^ 0x00000001) != 0; |
10612 | 0 | } |
10613 | | }; |
10614 | | |
10615 | | StopInvalidStmt::StopInvalidStmt(::PROTOBUF_NAMESPACE_ID::Arena* arena, |
10616 | | bool is_message_owned) |
10617 | 6.53k | : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { |
10618 | 6.53k | SharedCtor(arena, is_message_owned); |
10619 | | // @@protoc_insertion_point(arena_constructor:solidity.yul.test.yul_fuzzer.StopInvalidStmt) |
10620 | 6.53k | } |
10621 | | StopInvalidStmt::StopInvalidStmt(const StopInvalidStmt& from) |
10622 | 0 | : ::PROTOBUF_NAMESPACE_ID::Message() { |
10623 | 0 | StopInvalidStmt* const _this = this; (void)_this; |
10624 | 0 | new (&_impl_) Impl_{ |
10625 | 0 | decltype(_impl_._has_bits_){from._impl_._has_bits_} |
10626 | 0 | , /*decltype(_impl_._cached_size_)*/{} |
10627 | 0 | , decltype(_impl_.stmt_){}}; |
10628 | |
|
10629 | 0 | _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); |
10630 | 0 | _this->_impl_.stmt_ = from._impl_.stmt_; |
10631 | | // @@protoc_insertion_point(copy_constructor:solidity.yul.test.yul_fuzzer.StopInvalidStmt) |
10632 | 0 | } |
10633 | | |
10634 | | inline void StopInvalidStmt::SharedCtor( |
10635 | 6.53k | ::_pb::Arena* arena, bool is_message_owned) { |
10636 | 6.53k | (void)arena; |
10637 | 6.53k | (void)is_message_owned; |
10638 | 6.53k | new (&_impl_) Impl_{ |
10639 | 6.53k | decltype(_impl_._has_bits_){} |
10640 | 6.53k | , /*decltype(_impl_._cached_size_)*/{} |
10641 | 6.53k | , decltype(_impl_.stmt_){0} |
10642 | 6.53k | }; |
10643 | 6.53k | } |
10644 | | |
10645 | 6.53k | StopInvalidStmt::~StopInvalidStmt() { |
10646 | | // @@protoc_insertion_point(destructor:solidity.yul.test.yul_fuzzer.StopInvalidStmt) |
10647 | 6.53k | if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { |
10648 | 0 | (void)arena; |
10649 | 0 | return; |
10650 | 0 | } |
10651 | 6.53k | SharedDtor(); |
10652 | 6.53k | } |
10653 | | |
10654 | 6.53k | inline void StopInvalidStmt::SharedDtor() { |
10655 | 6.53k | GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); |
10656 | 6.53k | } |
10657 | | |
10658 | 0 | void StopInvalidStmt::SetCachedSize(int size) const { |
10659 | 0 | _impl_._cached_size_.Set(size); |
10660 | 0 | } |
10661 | | |
10662 | 0 | void StopInvalidStmt::Clear() { |
10663 | | // @@protoc_insertion_point(message_clear_start:solidity.yul.test.yul_fuzzer.StopInvalidStmt) |
10664 | 0 | uint32_t cached_has_bits = 0; |
10665 | | // Prevent compiler warnings about cached_has_bits being unused |
10666 | 0 | (void) cached_has_bits; |
10667 | |
|
10668 | 0 | _impl_.stmt_ = 0; |
10669 | 0 | _impl_._has_bits_.Clear(); |
10670 | 0 | _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); |
10671 | 0 | } |
10672 | | |
10673 | 0 | const char* StopInvalidStmt::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { |
10674 | 0 | #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure |
10675 | 0 | _Internal::HasBits has_bits{}; |
10676 | 0 | while (!ctx->Done(&ptr)) { |
10677 | 0 | uint32_t tag; |
10678 | 0 | ptr = ::_pbi::ReadTag(ptr, &tag); |
10679 | 0 | switch (tag >> 3) { |
10680 | | // required .solidity.yul.test.yul_fuzzer.StopInvalidStmt.Type stmt = 1; |
10681 | 0 | case 1: |
10682 | 0 | if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 8)) { |
10683 | 0 | uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); |
10684 | 0 | CHK_(ptr); |
10685 | 0 | if (PROTOBUF_PREDICT_TRUE(::solidity::yul::test::yul_fuzzer::StopInvalidStmt_Type_IsValid(val))) { |
10686 | 0 | _internal_set_stmt(static_cast<::solidity::yul::test::yul_fuzzer::StopInvalidStmt_Type>(val)); |
10687 | 0 | } else { |
10688 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::WriteVarint(1, val, mutable_unknown_fields()); |
10689 | 0 | } |
10690 | 0 | } else |
10691 | 0 | goto handle_unusual; |
10692 | 0 | continue; |
10693 | 0 | default: |
10694 | 0 | goto handle_unusual; |
10695 | 0 | } // switch |
10696 | 0 | handle_unusual: |
10697 | 0 | if ((tag == 0) || ((tag & 7) == 4)) { |
10698 | 0 | CHK_(ptr); |
10699 | 0 | ctx->SetLastTag(tag); |
10700 | 0 | goto message_done; |
10701 | 0 | } |
10702 | 0 | ptr = UnknownFieldParse( |
10703 | 0 | tag, |
10704 | 0 | _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), |
10705 | 0 | ptr, ctx); |
10706 | 0 | CHK_(ptr != nullptr); |
10707 | 0 | } // while |
10708 | 0 | message_done: |
10709 | 0 | _impl_._has_bits_.Or(has_bits); |
10710 | 0 | return ptr; |
10711 | 0 | failure: |
10712 | 0 | ptr = nullptr; |
10713 | 0 | goto message_done; |
10714 | 0 | #undef CHK_ |
10715 | 0 | } |
10716 | | |
10717 | | uint8_t* StopInvalidStmt::_InternalSerialize( |
10718 | 0 | uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { |
10719 | | // @@protoc_insertion_point(serialize_to_array_start:solidity.yul.test.yul_fuzzer.StopInvalidStmt) |
10720 | 0 | uint32_t cached_has_bits = 0; |
10721 | 0 | (void) cached_has_bits; |
10722 | |
|
10723 | 0 | cached_has_bits = _impl_._has_bits_[0]; |
10724 | | // required .solidity.yul.test.yul_fuzzer.StopInvalidStmt.Type stmt = 1; |
10725 | 0 | if (cached_has_bits & 0x00000001u) { |
10726 | 0 | target = stream->EnsureSpace(target); |
10727 | 0 | target = ::_pbi::WireFormatLite::WriteEnumToArray( |
10728 | 0 | 1, this->_internal_stmt(), target); |
10729 | 0 | } |
10730 | |
|
10731 | 0 | if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { |
10732 | 0 | target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( |
10733 | 0 | _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); |
10734 | 0 | } |
10735 | | // @@protoc_insertion_point(serialize_to_array_end:solidity.yul.test.yul_fuzzer.StopInvalidStmt) |
10736 | 0 | return target; |
10737 | 0 | } |
10738 | | |
10739 | 5.07k | size_t StopInvalidStmt::ByteSizeLong() const { |
10740 | | // @@protoc_insertion_point(message_byte_size_start:solidity.yul.test.yul_fuzzer.StopInvalidStmt) |
10741 | 5.07k | size_t total_size = 0; |
10742 | | |
10743 | | // required .solidity.yul.test.yul_fuzzer.StopInvalidStmt.Type stmt = 1; |
10744 | 5.07k | if (_internal_has_stmt()) { |
10745 | 5.07k | total_size += 1 + |
10746 | 5.07k | ::_pbi::WireFormatLite::EnumSize(this->_internal_stmt()); |
10747 | 5.07k | } |
10748 | 5.07k | uint32_t cached_has_bits = 0; |
10749 | | // Prevent compiler warnings about cached_has_bits being unused |
10750 | 5.07k | (void) cached_has_bits; |
10751 | | |
10752 | 5.07k | return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); |
10753 | 5.07k | } |
10754 | | |
10755 | | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData StopInvalidStmt::_class_data_ = { |
10756 | | ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, |
10757 | | StopInvalidStmt::MergeImpl |
10758 | | }; |
10759 | 0 | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*StopInvalidStmt::GetClassData() const { return &_class_data_; } |
10760 | | |
10761 | | |
10762 | 0 | void StopInvalidStmt::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { |
10763 | 0 | auto* const _this = static_cast<StopInvalidStmt*>(&to_msg); |
10764 | 0 | auto& from = static_cast<const StopInvalidStmt&>(from_msg); |
10765 | | // @@protoc_insertion_point(class_specific_merge_from_start:solidity.yul.test.yul_fuzzer.StopInvalidStmt) |
10766 | 0 | GOOGLE_DCHECK_NE(&from, _this); |
10767 | 0 | uint32_t cached_has_bits = 0; |
10768 | 0 | (void) cached_has_bits; |
10769 | |
|
10770 | 0 | if (from._internal_has_stmt()) { |
10771 | 0 | _this->_internal_set_stmt(from._internal_stmt()); |
10772 | 0 | } |
10773 | 0 | _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); |
10774 | 0 | } |
10775 | | |
10776 | 0 | void StopInvalidStmt::CopyFrom(const StopInvalidStmt& from) { |
10777 | | // @@protoc_insertion_point(class_specific_copy_from_start:solidity.yul.test.yul_fuzzer.StopInvalidStmt) |
10778 | 0 | if (&from == this) return; |
10779 | 0 | Clear(); |
10780 | 0 | MergeFrom(from); |
10781 | 0 | } |
10782 | | |
10783 | 0 | bool StopInvalidStmt::IsInitialized() const { |
10784 | 0 | if (_Internal::MissingRequiredFields(_impl_._has_bits_)) return false; |
10785 | 0 | return true; |
10786 | 0 | } |
10787 | | |
10788 | 0 | void StopInvalidStmt::InternalSwap(StopInvalidStmt* other) { |
10789 | 0 | using std::swap; |
10790 | 0 | _internal_metadata_.InternalSwap(&other->_internal_metadata_); |
10791 | 0 | swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); |
10792 | 0 | swap(_impl_.stmt_, other->_impl_.stmt_); |
10793 | 0 | } |
10794 | | |
10795 | 65.3k | ::PROTOBUF_NAMESPACE_ID::Metadata StopInvalidStmt::GetMetadata() const { |
10796 | 65.3k | return ::_pbi::AssignDescriptors( |
10797 | 65.3k | &descriptor_table_yulProto_2eproto_getter, &descriptor_table_yulProto_2eproto_once, |
10798 | 65.3k | file_level_metadata_yulProto_2eproto[27]); |
10799 | 65.3k | } |
10800 | | |
10801 | | // =================================================================== |
10802 | | |
10803 | | class RetRevStmt::_Internal { |
10804 | | public: |
10805 | | using HasBits = decltype(std::declval<RetRevStmt>()._impl_._has_bits_); |
10806 | 0 | static void set_has_stmt(HasBits* has_bits) { |
10807 | 0 | (*has_bits)[0] |= 4u; |
10808 | 0 | } |
10809 | | static const ::solidity::yul::test::yul_fuzzer::Expression& pos(const RetRevStmt* msg); |
10810 | 0 | static void set_has_pos(HasBits* has_bits) { |
10811 | 0 | (*has_bits)[0] |= 1u; |
10812 | 0 | } |
10813 | | static const ::solidity::yul::test::yul_fuzzer::Expression& size(const RetRevStmt* msg); |
10814 | 0 | static void set_has_size(HasBits* has_bits) { |
10815 | 0 | (*has_bits)[0] |= 2u; |
10816 | 0 | } |
10817 | 0 | static bool MissingRequiredFields(const HasBits& has_bits) { |
10818 | 0 | return ((has_bits[0] & 0x00000007) ^ 0x00000007) != 0; |
10819 | 0 | } |
10820 | | }; |
10821 | | |
10822 | | const ::solidity::yul::test::yul_fuzzer::Expression& |
10823 | 0 | RetRevStmt::_Internal::pos(const RetRevStmt* msg) { |
10824 | 0 | return *msg->_impl_.pos_; |
10825 | 0 | } |
10826 | | const ::solidity::yul::test::yul_fuzzer::Expression& |
10827 | 0 | RetRevStmt::_Internal::size(const RetRevStmt* msg) { |
10828 | 0 | return *msg->_impl_.size_; |
10829 | 0 | } |
10830 | | RetRevStmt::RetRevStmt(::PROTOBUF_NAMESPACE_ID::Arena* arena, |
10831 | | bool is_message_owned) |
10832 | 6.64k | : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { |
10833 | 6.64k | SharedCtor(arena, is_message_owned); |
10834 | | // @@protoc_insertion_point(arena_constructor:solidity.yul.test.yul_fuzzer.RetRevStmt) |
10835 | 6.64k | } |
10836 | | RetRevStmt::RetRevStmt(const RetRevStmt& from) |
10837 | 0 | : ::PROTOBUF_NAMESPACE_ID::Message() { |
10838 | 0 | RetRevStmt* const _this = this; (void)_this; |
10839 | 0 | new (&_impl_) Impl_{ |
10840 | 0 | decltype(_impl_._has_bits_){from._impl_._has_bits_} |
10841 | 0 | , /*decltype(_impl_._cached_size_)*/{} |
10842 | 0 | , decltype(_impl_.pos_){nullptr} |
10843 | 0 | , decltype(_impl_.size_){nullptr} |
10844 | 0 | , decltype(_impl_.stmt_){}}; |
10845 | |
|
10846 | 0 | _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); |
10847 | 0 | if (from._internal_has_pos()) { |
10848 | 0 | _this->_impl_.pos_ = new ::solidity::yul::test::yul_fuzzer::Expression(*from._impl_.pos_); |
10849 | 0 | } |
10850 | 0 | if (from._internal_has_size()) { |
10851 | 0 | _this->_impl_.size_ = new ::solidity::yul::test::yul_fuzzer::Expression(*from._impl_.size_); |
10852 | 0 | } |
10853 | 0 | _this->_impl_.stmt_ = from._impl_.stmt_; |
10854 | | // @@protoc_insertion_point(copy_constructor:solidity.yul.test.yul_fuzzer.RetRevStmt) |
10855 | 0 | } |
10856 | | |
10857 | | inline void RetRevStmt::SharedCtor( |
10858 | 6.64k | ::_pb::Arena* arena, bool is_message_owned) { |
10859 | 6.64k | (void)arena; |
10860 | 6.64k | (void)is_message_owned; |
10861 | 6.64k | new (&_impl_) Impl_{ |
10862 | 6.64k | decltype(_impl_._has_bits_){} |
10863 | 6.64k | , /*decltype(_impl_._cached_size_)*/{} |
10864 | 6.64k | , decltype(_impl_.pos_){nullptr} |
10865 | 6.64k | , decltype(_impl_.size_){nullptr} |
10866 | 6.64k | , decltype(_impl_.stmt_){0} |
10867 | 6.64k | }; |
10868 | 6.64k | } |
10869 | | |
10870 | 6.64k | RetRevStmt::~RetRevStmt() { |
10871 | | // @@protoc_insertion_point(destructor:solidity.yul.test.yul_fuzzer.RetRevStmt) |
10872 | 6.64k | if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { |
10873 | 0 | (void)arena; |
10874 | 0 | return; |
10875 | 0 | } |
10876 | 6.64k | SharedDtor(); |
10877 | 6.64k | } |
10878 | | |
10879 | 6.64k | inline void RetRevStmt::SharedDtor() { |
10880 | 6.64k | GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); |
10881 | 6.64k | if (this != internal_default_instance()) delete _impl_.pos_; |
10882 | 6.64k | if (this != internal_default_instance()) delete _impl_.size_; |
10883 | 6.64k | } |
10884 | | |
10885 | 0 | void RetRevStmt::SetCachedSize(int size) const { |
10886 | 0 | _impl_._cached_size_.Set(size); |
10887 | 0 | } |
10888 | | |
10889 | 0 | void RetRevStmt::Clear() { |
10890 | | // @@protoc_insertion_point(message_clear_start:solidity.yul.test.yul_fuzzer.RetRevStmt) |
10891 | 0 | uint32_t cached_has_bits = 0; |
10892 | | // Prevent compiler warnings about cached_has_bits being unused |
10893 | 0 | (void) cached_has_bits; |
10894 | |
|
10895 | 0 | cached_has_bits = _impl_._has_bits_[0]; |
10896 | 0 | if (cached_has_bits & 0x00000003u) { |
10897 | 0 | if (cached_has_bits & 0x00000001u) { |
10898 | 0 | GOOGLE_DCHECK(_impl_.pos_ != nullptr); |
10899 | 0 | _impl_.pos_->Clear(); |
10900 | 0 | } |
10901 | 0 | if (cached_has_bits & 0x00000002u) { |
10902 | 0 | GOOGLE_DCHECK(_impl_.size_ != nullptr); |
10903 | 0 | _impl_.size_->Clear(); |
10904 | 0 | } |
10905 | 0 | } |
10906 | 0 | _impl_.stmt_ = 0; |
10907 | 0 | _impl_._has_bits_.Clear(); |
10908 | 0 | _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); |
10909 | 0 | } |
10910 | | |
10911 | 0 | const char* RetRevStmt::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { |
10912 | 0 | #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure |
10913 | 0 | _Internal::HasBits has_bits{}; |
10914 | 0 | while (!ctx->Done(&ptr)) { |
10915 | 0 | uint32_t tag; |
10916 | 0 | ptr = ::_pbi::ReadTag(ptr, &tag); |
10917 | 0 | switch (tag >> 3) { |
10918 | | // required .solidity.yul.test.yul_fuzzer.RetRevStmt.Type stmt = 1; |
10919 | 0 | case 1: |
10920 | 0 | if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 8)) { |
10921 | 0 | uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); |
10922 | 0 | CHK_(ptr); |
10923 | 0 | if (PROTOBUF_PREDICT_TRUE(::solidity::yul::test::yul_fuzzer::RetRevStmt_Type_IsValid(val))) { |
10924 | 0 | _internal_set_stmt(static_cast<::solidity::yul::test::yul_fuzzer::RetRevStmt_Type>(val)); |
10925 | 0 | } else { |
10926 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::WriteVarint(1, val, mutable_unknown_fields()); |
10927 | 0 | } |
10928 | 0 | } else |
10929 | 0 | goto handle_unusual; |
10930 | 0 | continue; |
10931 | | // required .solidity.yul.test.yul_fuzzer.Expression pos = 2; |
10932 | 0 | case 2: |
10933 | 0 | if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 18)) { |
10934 | 0 | ptr = ctx->ParseMessage(_internal_mutable_pos(), ptr); |
10935 | 0 | CHK_(ptr); |
10936 | 0 | } else |
10937 | 0 | goto handle_unusual; |
10938 | 0 | continue; |
10939 | | // required .solidity.yul.test.yul_fuzzer.Expression size = 3; |
10940 | 0 | case 3: |
10941 | 0 | if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 26)) { |
10942 | 0 | ptr = ctx->ParseMessage(_internal_mutable_size(), ptr); |
10943 | 0 | CHK_(ptr); |
10944 | 0 | } else |
10945 | 0 | goto handle_unusual; |
10946 | 0 | continue; |
10947 | 0 | default: |
10948 | 0 | goto handle_unusual; |
10949 | 0 | } // switch |
10950 | 0 | handle_unusual: |
10951 | 0 | if ((tag == 0) || ((tag & 7) == 4)) { |
10952 | 0 | CHK_(ptr); |
10953 | 0 | ctx->SetLastTag(tag); |
10954 | 0 | goto message_done; |
10955 | 0 | } |
10956 | 0 | ptr = UnknownFieldParse( |
10957 | 0 | tag, |
10958 | 0 | _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), |
10959 | 0 | ptr, ctx); |
10960 | 0 | CHK_(ptr != nullptr); |
10961 | 0 | } // while |
10962 | 0 | message_done: |
10963 | 0 | _impl_._has_bits_.Or(has_bits); |
10964 | 0 | return ptr; |
10965 | 0 | failure: |
10966 | 0 | ptr = nullptr; |
10967 | 0 | goto message_done; |
10968 | 0 | #undef CHK_ |
10969 | 0 | } |
10970 | | |
10971 | | uint8_t* RetRevStmt::_InternalSerialize( |
10972 | 0 | uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { |
10973 | | // @@protoc_insertion_point(serialize_to_array_start:solidity.yul.test.yul_fuzzer.RetRevStmt) |
10974 | 0 | uint32_t cached_has_bits = 0; |
10975 | 0 | (void) cached_has_bits; |
10976 | |
|
10977 | 0 | cached_has_bits = _impl_._has_bits_[0]; |
10978 | | // required .solidity.yul.test.yul_fuzzer.RetRevStmt.Type stmt = 1; |
10979 | 0 | if (cached_has_bits & 0x00000004u) { |
10980 | 0 | target = stream->EnsureSpace(target); |
10981 | 0 | target = ::_pbi::WireFormatLite::WriteEnumToArray( |
10982 | 0 | 1, this->_internal_stmt(), target); |
10983 | 0 | } |
10984 | | |
10985 | | // required .solidity.yul.test.yul_fuzzer.Expression pos = 2; |
10986 | 0 | if (cached_has_bits & 0x00000001u) { |
10987 | 0 | target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: |
10988 | 0 | InternalWriteMessage(2, _Internal::pos(this), |
10989 | 0 | _Internal::pos(this).GetCachedSize(), target, stream); |
10990 | 0 | } |
10991 | | |
10992 | | // required .solidity.yul.test.yul_fuzzer.Expression size = 3; |
10993 | 0 | if (cached_has_bits & 0x00000002u) { |
10994 | 0 | target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: |
10995 | 0 | InternalWriteMessage(3, _Internal::size(this), |
10996 | 0 | _Internal::size(this).GetCachedSize(), target, stream); |
10997 | 0 | } |
10998 | |
|
10999 | 0 | if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { |
11000 | 0 | target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( |
11001 | 0 | _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); |
11002 | 0 | } |
11003 | | // @@protoc_insertion_point(serialize_to_array_end:solidity.yul.test.yul_fuzzer.RetRevStmt) |
11004 | 0 | return target; |
11005 | 0 | } |
11006 | | |
11007 | 0 | size_t RetRevStmt::RequiredFieldsByteSizeFallback() const { |
11008 | | // @@protoc_insertion_point(required_fields_byte_size_fallback_start:solidity.yul.test.yul_fuzzer.RetRevStmt) |
11009 | 0 | size_t total_size = 0; |
11010 | |
|
11011 | 0 | if (_internal_has_pos()) { |
11012 | | // required .solidity.yul.test.yul_fuzzer.Expression pos = 2; |
11013 | 0 | total_size += 1 + |
11014 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
11015 | 0 | *_impl_.pos_); |
11016 | 0 | } |
11017 | |
|
11018 | 0 | if (_internal_has_size()) { |
11019 | | // required .solidity.yul.test.yul_fuzzer.Expression size = 3; |
11020 | 0 | total_size += 1 + |
11021 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
11022 | 0 | *_impl_.size_); |
11023 | 0 | } |
11024 | |
|
11025 | 0 | if (_internal_has_stmt()) { |
11026 | | // required .solidity.yul.test.yul_fuzzer.RetRevStmt.Type stmt = 1; |
11027 | 0 | total_size += 1 + |
11028 | 0 | ::_pbi::WireFormatLite::EnumSize(this->_internal_stmt()); |
11029 | 0 | } |
11030 | |
|
11031 | 0 | return total_size; |
11032 | 0 | } |
11033 | 3.72k | size_t RetRevStmt::ByteSizeLong() const { |
11034 | | // @@protoc_insertion_point(message_byte_size_start:solidity.yul.test.yul_fuzzer.RetRevStmt) |
11035 | 3.72k | size_t total_size = 0; |
11036 | | |
11037 | 3.72k | if (((_impl_._has_bits_[0] & 0x00000007) ^ 0x00000007) == 0) { // All required fields are present. |
11038 | | // required .solidity.yul.test.yul_fuzzer.Expression pos = 2; |
11039 | 3.72k | total_size += 1 + |
11040 | 3.72k | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
11041 | 3.72k | *_impl_.pos_); |
11042 | | |
11043 | | // required .solidity.yul.test.yul_fuzzer.Expression size = 3; |
11044 | 3.72k | total_size += 1 + |
11045 | 3.72k | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
11046 | 3.72k | *_impl_.size_); |
11047 | | |
11048 | | // required .solidity.yul.test.yul_fuzzer.RetRevStmt.Type stmt = 1; |
11049 | 3.72k | total_size += 1 + |
11050 | 3.72k | ::_pbi::WireFormatLite::EnumSize(this->_internal_stmt()); |
11051 | | |
11052 | 3.72k | } else { |
11053 | 0 | total_size += RequiredFieldsByteSizeFallback(); |
11054 | 0 | } |
11055 | 3.72k | uint32_t cached_has_bits = 0; |
11056 | | // Prevent compiler warnings about cached_has_bits being unused |
11057 | 3.72k | (void) cached_has_bits; |
11058 | | |
11059 | 3.72k | return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); |
11060 | 3.72k | } |
11061 | | |
11062 | | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData RetRevStmt::_class_data_ = { |
11063 | | ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, |
11064 | | RetRevStmt::MergeImpl |
11065 | | }; |
11066 | 0 | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*RetRevStmt::GetClassData() const { return &_class_data_; } |
11067 | | |
11068 | | |
11069 | 0 | void RetRevStmt::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { |
11070 | 0 | auto* const _this = static_cast<RetRevStmt*>(&to_msg); |
11071 | 0 | auto& from = static_cast<const RetRevStmt&>(from_msg); |
11072 | | // @@protoc_insertion_point(class_specific_merge_from_start:solidity.yul.test.yul_fuzzer.RetRevStmt) |
11073 | 0 | GOOGLE_DCHECK_NE(&from, _this); |
11074 | 0 | uint32_t cached_has_bits = 0; |
11075 | 0 | (void) cached_has_bits; |
11076 | |
|
11077 | 0 | cached_has_bits = from._impl_._has_bits_[0]; |
11078 | 0 | if (cached_has_bits & 0x00000007u) { |
11079 | 0 | if (cached_has_bits & 0x00000001u) { |
11080 | 0 | _this->_internal_mutable_pos()->::solidity::yul::test::yul_fuzzer::Expression::MergeFrom( |
11081 | 0 | from._internal_pos()); |
11082 | 0 | } |
11083 | 0 | if (cached_has_bits & 0x00000002u) { |
11084 | 0 | _this->_internal_mutable_size()->::solidity::yul::test::yul_fuzzer::Expression::MergeFrom( |
11085 | 0 | from._internal_size()); |
11086 | 0 | } |
11087 | 0 | if (cached_has_bits & 0x00000004u) { |
11088 | 0 | _this->_impl_.stmt_ = from._impl_.stmt_; |
11089 | 0 | } |
11090 | 0 | _this->_impl_._has_bits_[0] |= cached_has_bits; |
11091 | 0 | } |
11092 | 0 | _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); |
11093 | 0 | } |
11094 | | |
11095 | 0 | void RetRevStmt::CopyFrom(const RetRevStmt& from) { |
11096 | | // @@protoc_insertion_point(class_specific_copy_from_start:solidity.yul.test.yul_fuzzer.RetRevStmt) |
11097 | 0 | if (&from == this) return; |
11098 | 0 | Clear(); |
11099 | 0 | MergeFrom(from); |
11100 | 0 | } |
11101 | | |
11102 | 0 | bool RetRevStmt::IsInitialized() const { |
11103 | 0 | if (_Internal::MissingRequiredFields(_impl_._has_bits_)) return false; |
11104 | 0 | if (_internal_has_pos()) { |
11105 | 0 | if (!_impl_.pos_->IsInitialized()) return false; |
11106 | 0 | } |
11107 | 0 | if (_internal_has_size()) { |
11108 | 0 | if (!_impl_.size_->IsInitialized()) return false; |
11109 | 0 | } |
11110 | 0 | return true; |
11111 | 0 | } |
11112 | | |
11113 | 0 | void RetRevStmt::InternalSwap(RetRevStmt* other) { |
11114 | 0 | using std::swap; |
11115 | 0 | _internal_metadata_.InternalSwap(&other->_internal_metadata_); |
11116 | 0 | swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); |
11117 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::memswap< |
11118 | 0 | PROTOBUF_FIELD_OFFSET(RetRevStmt, _impl_.stmt_) |
11119 | 0 | + sizeof(RetRevStmt::_impl_.stmt_) |
11120 | 0 | - PROTOBUF_FIELD_OFFSET(RetRevStmt, _impl_.pos_)>( |
11121 | 0 | reinterpret_cast<char*>(&_impl_.pos_), |
11122 | 0 | reinterpret_cast<char*>(&other->_impl_.pos_)); |
11123 | 0 | } |
11124 | | |
11125 | 91.1k | ::PROTOBUF_NAMESPACE_ID::Metadata RetRevStmt::GetMetadata() const { |
11126 | 91.1k | return ::_pbi::AssignDescriptors( |
11127 | 91.1k | &descriptor_table_yulProto_2eproto_getter, &descriptor_table_yulProto_2eproto_once, |
11128 | 91.1k | file_level_metadata_yulProto_2eproto[28]); |
11129 | 91.1k | } |
11130 | | |
11131 | | // =================================================================== |
11132 | | |
11133 | | class SelfDestructStmt::_Internal { |
11134 | | public: |
11135 | | using HasBits = decltype(std::declval<SelfDestructStmt>()._impl_._has_bits_); |
11136 | | static const ::solidity::yul::test::yul_fuzzer::Expression& addr(const SelfDestructStmt* msg); |
11137 | 0 | static void set_has_addr(HasBits* has_bits) { |
11138 | 0 | (*has_bits)[0] |= 1u; |
11139 | 0 | } |
11140 | 0 | static bool MissingRequiredFields(const HasBits& has_bits) { |
11141 | 0 | return ((has_bits[0] & 0x00000001) ^ 0x00000001) != 0; |
11142 | 0 | } |
11143 | | }; |
11144 | | |
11145 | | const ::solidity::yul::test::yul_fuzzer::Expression& |
11146 | 0 | SelfDestructStmt::_Internal::addr(const SelfDestructStmt* msg) { |
11147 | 0 | return *msg->_impl_.addr_; |
11148 | 0 | } |
11149 | | SelfDestructStmt::SelfDestructStmt(::PROTOBUF_NAMESPACE_ID::Arena* arena, |
11150 | | bool is_message_owned) |
11151 | 6.77k | : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { |
11152 | 6.77k | SharedCtor(arena, is_message_owned); |
11153 | | // @@protoc_insertion_point(arena_constructor:solidity.yul.test.yul_fuzzer.SelfDestructStmt) |
11154 | 6.77k | } |
11155 | | SelfDestructStmt::SelfDestructStmt(const SelfDestructStmt& from) |
11156 | 0 | : ::PROTOBUF_NAMESPACE_ID::Message() { |
11157 | 0 | SelfDestructStmt* const _this = this; (void)_this; |
11158 | 0 | new (&_impl_) Impl_{ |
11159 | 0 | decltype(_impl_._has_bits_){from._impl_._has_bits_} |
11160 | 0 | , /*decltype(_impl_._cached_size_)*/{} |
11161 | 0 | , decltype(_impl_.addr_){nullptr}}; |
11162 | |
|
11163 | 0 | _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); |
11164 | 0 | if (from._internal_has_addr()) { |
11165 | 0 | _this->_impl_.addr_ = new ::solidity::yul::test::yul_fuzzer::Expression(*from._impl_.addr_); |
11166 | 0 | } |
11167 | | // @@protoc_insertion_point(copy_constructor:solidity.yul.test.yul_fuzzer.SelfDestructStmt) |
11168 | 0 | } |
11169 | | |
11170 | | inline void SelfDestructStmt::SharedCtor( |
11171 | 6.77k | ::_pb::Arena* arena, bool is_message_owned) { |
11172 | 6.77k | (void)arena; |
11173 | 6.77k | (void)is_message_owned; |
11174 | 6.77k | new (&_impl_) Impl_{ |
11175 | 6.77k | decltype(_impl_._has_bits_){} |
11176 | 6.77k | , /*decltype(_impl_._cached_size_)*/{} |
11177 | 6.77k | , decltype(_impl_.addr_){nullptr} |
11178 | 6.77k | }; |
11179 | 6.77k | } |
11180 | | |
11181 | 6.77k | SelfDestructStmt::~SelfDestructStmt() { |
11182 | | // @@protoc_insertion_point(destructor:solidity.yul.test.yul_fuzzer.SelfDestructStmt) |
11183 | 6.77k | if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { |
11184 | 0 | (void)arena; |
11185 | 0 | return; |
11186 | 0 | } |
11187 | 6.77k | SharedDtor(); |
11188 | 6.77k | } |
11189 | | |
11190 | 6.77k | inline void SelfDestructStmt::SharedDtor() { |
11191 | 6.77k | GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); |
11192 | 6.77k | if (this != internal_default_instance()) delete _impl_.addr_; |
11193 | 6.77k | } |
11194 | | |
11195 | 0 | void SelfDestructStmt::SetCachedSize(int size) const { |
11196 | 0 | _impl_._cached_size_.Set(size); |
11197 | 0 | } |
11198 | | |
11199 | 0 | void SelfDestructStmt::Clear() { |
11200 | | // @@protoc_insertion_point(message_clear_start:solidity.yul.test.yul_fuzzer.SelfDestructStmt) |
11201 | 0 | uint32_t cached_has_bits = 0; |
11202 | | // Prevent compiler warnings about cached_has_bits being unused |
11203 | 0 | (void) cached_has_bits; |
11204 | |
|
11205 | 0 | cached_has_bits = _impl_._has_bits_[0]; |
11206 | 0 | if (cached_has_bits & 0x00000001u) { |
11207 | 0 | GOOGLE_DCHECK(_impl_.addr_ != nullptr); |
11208 | 0 | _impl_.addr_->Clear(); |
11209 | 0 | } |
11210 | 0 | _impl_._has_bits_.Clear(); |
11211 | 0 | _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); |
11212 | 0 | } |
11213 | | |
11214 | 0 | const char* SelfDestructStmt::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { |
11215 | 0 | #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure |
11216 | 0 | _Internal::HasBits has_bits{}; |
11217 | 0 | while (!ctx->Done(&ptr)) { |
11218 | 0 | uint32_t tag; |
11219 | 0 | ptr = ::_pbi::ReadTag(ptr, &tag); |
11220 | 0 | switch (tag >> 3) { |
11221 | | // required .solidity.yul.test.yul_fuzzer.Expression addr = 1; |
11222 | 0 | case 1: |
11223 | 0 | if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 10)) { |
11224 | 0 | ptr = ctx->ParseMessage(_internal_mutable_addr(), ptr); |
11225 | 0 | CHK_(ptr); |
11226 | 0 | } else |
11227 | 0 | goto handle_unusual; |
11228 | 0 | continue; |
11229 | 0 | default: |
11230 | 0 | goto handle_unusual; |
11231 | 0 | } // switch |
11232 | 0 | handle_unusual: |
11233 | 0 | if ((tag == 0) || ((tag & 7) == 4)) { |
11234 | 0 | CHK_(ptr); |
11235 | 0 | ctx->SetLastTag(tag); |
11236 | 0 | goto message_done; |
11237 | 0 | } |
11238 | 0 | ptr = UnknownFieldParse( |
11239 | 0 | tag, |
11240 | 0 | _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), |
11241 | 0 | ptr, ctx); |
11242 | 0 | CHK_(ptr != nullptr); |
11243 | 0 | } // while |
11244 | 0 | message_done: |
11245 | 0 | _impl_._has_bits_.Or(has_bits); |
11246 | 0 | return ptr; |
11247 | 0 | failure: |
11248 | 0 | ptr = nullptr; |
11249 | 0 | goto message_done; |
11250 | 0 | #undef CHK_ |
11251 | 0 | } |
11252 | | |
11253 | | uint8_t* SelfDestructStmt::_InternalSerialize( |
11254 | 0 | uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { |
11255 | | // @@protoc_insertion_point(serialize_to_array_start:solidity.yul.test.yul_fuzzer.SelfDestructStmt) |
11256 | 0 | uint32_t cached_has_bits = 0; |
11257 | 0 | (void) cached_has_bits; |
11258 | |
|
11259 | 0 | cached_has_bits = _impl_._has_bits_[0]; |
11260 | | // required .solidity.yul.test.yul_fuzzer.Expression addr = 1; |
11261 | 0 | if (cached_has_bits & 0x00000001u) { |
11262 | 0 | target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: |
11263 | 0 | InternalWriteMessage(1, _Internal::addr(this), |
11264 | 0 | _Internal::addr(this).GetCachedSize(), target, stream); |
11265 | 0 | } |
11266 | |
|
11267 | 0 | if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { |
11268 | 0 | target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( |
11269 | 0 | _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); |
11270 | 0 | } |
11271 | | // @@protoc_insertion_point(serialize_to_array_end:solidity.yul.test.yul_fuzzer.SelfDestructStmt) |
11272 | 0 | return target; |
11273 | 0 | } |
11274 | | |
11275 | 4.35k | size_t SelfDestructStmt::ByteSizeLong() const { |
11276 | | // @@protoc_insertion_point(message_byte_size_start:solidity.yul.test.yul_fuzzer.SelfDestructStmt) |
11277 | 4.35k | size_t total_size = 0; |
11278 | | |
11279 | | // required .solidity.yul.test.yul_fuzzer.Expression addr = 1; |
11280 | 4.35k | if (_internal_has_addr()) { |
11281 | 4.35k | total_size += 1 + |
11282 | 4.35k | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
11283 | 4.35k | *_impl_.addr_); |
11284 | 4.35k | } |
11285 | 4.35k | uint32_t cached_has_bits = 0; |
11286 | | // Prevent compiler warnings about cached_has_bits being unused |
11287 | 4.35k | (void) cached_has_bits; |
11288 | | |
11289 | 4.35k | return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); |
11290 | 4.35k | } |
11291 | | |
11292 | | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData SelfDestructStmt::_class_data_ = { |
11293 | | ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, |
11294 | | SelfDestructStmt::MergeImpl |
11295 | | }; |
11296 | 0 | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*SelfDestructStmt::GetClassData() const { return &_class_data_; } |
11297 | | |
11298 | | |
11299 | 0 | void SelfDestructStmt::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { |
11300 | 0 | auto* const _this = static_cast<SelfDestructStmt*>(&to_msg); |
11301 | 0 | auto& from = static_cast<const SelfDestructStmt&>(from_msg); |
11302 | | // @@protoc_insertion_point(class_specific_merge_from_start:solidity.yul.test.yul_fuzzer.SelfDestructStmt) |
11303 | 0 | GOOGLE_DCHECK_NE(&from, _this); |
11304 | 0 | uint32_t cached_has_bits = 0; |
11305 | 0 | (void) cached_has_bits; |
11306 | |
|
11307 | 0 | if (from._internal_has_addr()) { |
11308 | 0 | _this->_internal_mutable_addr()->::solidity::yul::test::yul_fuzzer::Expression::MergeFrom( |
11309 | 0 | from._internal_addr()); |
11310 | 0 | } |
11311 | 0 | _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); |
11312 | 0 | } |
11313 | | |
11314 | 0 | void SelfDestructStmt::CopyFrom(const SelfDestructStmt& from) { |
11315 | | // @@protoc_insertion_point(class_specific_copy_from_start:solidity.yul.test.yul_fuzzer.SelfDestructStmt) |
11316 | 0 | if (&from == this) return; |
11317 | 0 | Clear(); |
11318 | 0 | MergeFrom(from); |
11319 | 0 | } |
11320 | | |
11321 | 0 | bool SelfDestructStmt::IsInitialized() const { |
11322 | 0 | if (_Internal::MissingRequiredFields(_impl_._has_bits_)) return false; |
11323 | 0 | if (_internal_has_addr()) { |
11324 | 0 | if (!_impl_.addr_->IsInitialized()) return false; |
11325 | 0 | } |
11326 | 0 | return true; |
11327 | 0 | } |
11328 | | |
11329 | 0 | void SelfDestructStmt::InternalSwap(SelfDestructStmt* other) { |
11330 | 0 | using std::swap; |
11331 | 0 | _internal_metadata_.InternalSwap(&other->_internal_metadata_); |
11332 | 0 | swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); |
11333 | 0 | swap(_impl_.addr_, other->_impl_.addr_); |
11334 | 0 | } |
11335 | | |
11336 | 62.0k | ::PROTOBUF_NAMESPACE_ID::Metadata SelfDestructStmt::GetMetadata() const { |
11337 | 62.0k | return ::_pbi::AssignDescriptors( |
11338 | 62.0k | &descriptor_table_yulProto_2eproto_getter, &descriptor_table_yulProto_2eproto_once, |
11339 | 62.0k | file_level_metadata_yulProto_2eproto[29]); |
11340 | 62.0k | } |
11341 | | |
11342 | | // =================================================================== |
11343 | | |
11344 | | class TerminatingStmt::_Internal { |
11345 | | public: |
11346 | | static const ::solidity::yul::test::yul_fuzzer::StopInvalidStmt& stop_invalid(const TerminatingStmt* msg); |
11347 | | static const ::solidity::yul::test::yul_fuzzer::RetRevStmt& ret_rev(const TerminatingStmt* msg); |
11348 | | static const ::solidity::yul::test::yul_fuzzer::SelfDestructStmt& self_des(const TerminatingStmt* msg); |
11349 | | }; |
11350 | | |
11351 | | const ::solidity::yul::test::yul_fuzzer::StopInvalidStmt& |
11352 | 0 | TerminatingStmt::_Internal::stop_invalid(const TerminatingStmt* msg) { |
11353 | 0 | return *msg->_impl_.term_oneof_.stop_invalid_; |
11354 | 0 | } |
11355 | | const ::solidity::yul::test::yul_fuzzer::RetRevStmt& |
11356 | 0 | TerminatingStmt::_Internal::ret_rev(const TerminatingStmt* msg) { |
11357 | 0 | return *msg->_impl_.term_oneof_.ret_rev_; |
11358 | 0 | } |
11359 | | const ::solidity::yul::test::yul_fuzzer::SelfDestructStmt& |
11360 | 0 | TerminatingStmt::_Internal::self_des(const TerminatingStmt* msg) { |
11361 | 0 | return *msg->_impl_.term_oneof_.self_des_; |
11362 | 0 | } |
11363 | 0 | void TerminatingStmt::set_allocated_stop_invalid(::solidity::yul::test::yul_fuzzer::StopInvalidStmt* stop_invalid) { |
11364 | 0 | ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); |
11365 | 0 | clear_term_oneof(); |
11366 | 0 | if (stop_invalid) { |
11367 | 0 | ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = |
11368 | 0 | ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(stop_invalid); |
11369 | 0 | if (message_arena != submessage_arena) { |
11370 | 0 | stop_invalid = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( |
11371 | 0 | message_arena, stop_invalid, submessage_arena); |
11372 | 0 | } |
11373 | 0 | set_has_stop_invalid(); |
11374 | 0 | _impl_.term_oneof_.stop_invalid_ = stop_invalid; |
11375 | 0 | } |
11376 | | // @@protoc_insertion_point(field_set_allocated:solidity.yul.test.yul_fuzzer.TerminatingStmt.stop_invalid) |
11377 | 0 | } |
11378 | 0 | void TerminatingStmt::set_allocated_ret_rev(::solidity::yul::test::yul_fuzzer::RetRevStmt* ret_rev) { |
11379 | 0 | ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); |
11380 | 0 | clear_term_oneof(); |
11381 | 0 | if (ret_rev) { |
11382 | 0 | ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = |
11383 | 0 | ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(ret_rev); |
11384 | 0 | if (message_arena != submessage_arena) { |
11385 | 0 | ret_rev = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( |
11386 | 0 | message_arena, ret_rev, submessage_arena); |
11387 | 0 | } |
11388 | 0 | set_has_ret_rev(); |
11389 | 0 | _impl_.term_oneof_.ret_rev_ = ret_rev; |
11390 | 0 | } |
11391 | | // @@protoc_insertion_point(field_set_allocated:solidity.yul.test.yul_fuzzer.TerminatingStmt.ret_rev) |
11392 | 0 | } |
11393 | 0 | void TerminatingStmt::set_allocated_self_des(::solidity::yul::test::yul_fuzzer::SelfDestructStmt* self_des) { |
11394 | 0 | ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); |
11395 | 0 | clear_term_oneof(); |
11396 | 0 | if (self_des) { |
11397 | 0 | ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = |
11398 | 0 | ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(self_des); |
11399 | 0 | if (message_arena != submessage_arena) { |
11400 | 0 | self_des = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( |
11401 | 0 | message_arena, self_des, submessage_arena); |
11402 | 0 | } |
11403 | 0 | set_has_self_des(); |
11404 | 0 | _impl_.term_oneof_.self_des_ = self_des; |
11405 | 0 | } |
11406 | | // @@protoc_insertion_point(field_set_allocated:solidity.yul.test.yul_fuzzer.TerminatingStmt.self_des) |
11407 | 0 | } |
11408 | | TerminatingStmt::TerminatingStmt(::PROTOBUF_NAMESPACE_ID::Arena* arena, |
11409 | | bool is_message_owned) |
11410 | 322k | : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { |
11411 | 322k | SharedCtor(arena, is_message_owned); |
11412 | | // @@protoc_insertion_point(arena_constructor:solidity.yul.test.yul_fuzzer.TerminatingStmt) |
11413 | 322k | } |
11414 | | TerminatingStmt::TerminatingStmt(const TerminatingStmt& from) |
11415 | 0 | : ::PROTOBUF_NAMESPACE_ID::Message() { |
11416 | 0 | TerminatingStmt* const _this = this; (void)_this; |
11417 | 0 | new (&_impl_) Impl_{ |
11418 | 0 | decltype(_impl_.term_oneof_){} |
11419 | 0 | , /*decltype(_impl_._cached_size_)*/{} |
11420 | 0 | , /*decltype(_impl_._oneof_case_)*/{}}; |
11421 | |
|
11422 | 0 | _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); |
11423 | 0 | clear_has_term_oneof(); |
11424 | 0 | switch (from.term_oneof_case()) { |
11425 | 0 | case kStopInvalid: { |
11426 | 0 | _this->_internal_mutable_stop_invalid()->::solidity::yul::test::yul_fuzzer::StopInvalidStmt::MergeFrom( |
11427 | 0 | from._internal_stop_invalid()); |
11428 | 0 | break; |
11429 | 0 | } |
11430 | 0 | case kRetRev: { |
11431 | 0 | _this->_internal_mutable_ret_rev()->::solidity::yul::test::yul_fuzzer::RetRevStmt::MergeFrom( |
11432 | 0 | from._internal_ret_rev()); |
11433 | 0 | break; |
11434 | 0 | } |
11435 | 0 | case kSelfDes: { |
11436 | 0 | _this->_internal_mutable_self_des()->::solidity::yul::test::yul_fuzzer::SelfDestructStmt::MergeFrom( |
11437 | 0 | from._internal_self_des()); |
11438 | 0 | break; |
11439 | 0 | } |
11440 | 0 | case TERM_ONEOF_NOT_SET: { |
11441 | 0 | break; |
11442 | 0 | } |
11443 | 0 | } |
11444 | | // @@protoc_insertion_point(copy_constructor:solidity.yul.test.yul_fuzzer.TerminatingStmt) |
11445 | 0 | } |
11446 | | |
11447 | | inline void TerminatingStmt::SharedCtor( |
11448 | 322k | ::_pb::Arena* arena, bool is_message_owned) { |
11449 | 322k | (void)arena; |
11450 | 322k | (void)is_message_owned; |
11451 | 322k | new (&_impl_) Impl_{ |
11452 | 322k | decltype(_impl_.term_oneof_){} |
11453 | 322k | , /*decltype(_impl_._cached_size_)*/{} |
11454 | 322k | , /*decltype(_impl_._oneof_case_)*/{} |
11455 | 322k | }; |
11456 | 322k | clear_has_term_oneof(); |
11457 | 322k | } |
11458 | | |
11459 | 322k | TerminatingStmt::~TerminatingStmt() { |
11460 | | // @@protoc_insertion_point(destructor:solidity.yul.test.yul_fuzzer.TerminatingStmt) |
11461 | 322k | if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { |
11462 | 0 | (void)arena; |
11463 | 0 | return; |
11464 | 0 | } |
11465 | 322k | SharedDtor(); |
11466 | 322k | } |
11467 | | |
11468 | 322k | inline void TerminatingStmt::SharedDtor() { |
11469 | 322k | GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); |
11470 | 322k | if (has_term_oneof()) { |
11471 | 19.9k | clear_term_oneof(); |
11472 | 19.9k | } |
11473 | 322k | } |
11474 | | |
11475 | 0 | void TerminatingStmt::SetCachedSize(int size) const { |
11476 | 0 | _impl_._cached_size_.Set(size); |
11477 | 0 | } |
11478 | | |
11479 | 19.9k | void TerminatingStmt::clear_term_oneof() { |
11480 | | // @@protoc_insertion_point(one_of_clear_start:solidity.yul.test.yul_fuzzer.TerminatingStmt) |
11481 | 19.9k | switch (term_oneof_case()) { |
11482 | 6.53k | case kStopInvalid: { |
11483 | 6.53k | if (GetArenaForAllocation() == nullptr) { |
11484 | 6.53k | delete _impl_.term_oneof_.stop_invalid_; |
11485 | 6.53k | } |
11486 | 6.53k | break; |
11487 | 0 | } |
11488 | 6.64k | case kRetRev: { |
11489 | 6.64k | if (GetArenaForAllocation() == nullptr) { |
11490 | 6.64k | delete _impl_.term_oneof_.ret_rev_; |
11491 | 6.64k | } |
11492 | 6.64k | break; |
11493 | 0 | } |
11494 | 6.77k | case kSelfDes: { |
11495 | 6.77k | if (GetArenaForAllocation() == nullptr) { |
11496 | 6.77k | delete _impl_.term_oneof_.self_des_; |
11497 | 6.77k | } |
11498 | 6.77k | break; |
11499 | 0 | } |
11500 | 0 | case TERM_ONEOF_NOT_SET: { |
11501 | 0 | break; |
11502 | 0 | } |
11503 | 19.9k | } |
11504 | 19.9k | _impl_._oneof_case_[0] = TERM_ONEOF_NOT_SET; |
11505 | 19.9k | } |
11506 | | |
11507 | | |
11508 | 0 | void TerminatingStmt::Clear() { |
11509 | | // @@protoc_insertion_point(message_clear_start:solidity.yul.test.yul_fuzzer.TerminatingStmt) |
11510 | 0 | uint32_t cached_has_bits = 0; |
11511 | | // Prevent compiler warnings about cached_has_bits being unused |
11512 | 0 | (void) cached_has_bits; |
11513 | |
|
11514 | 0 | clear_term_oneof(); |
11515 | 0 | _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); |
11516 | 0 | } |
11517 | | |
11518 | 0 | const char* TerminatingStmt::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { |
11519 | 0 | #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure |
11520 | 0 | while (!ctx->Done(&ptr)) { |
11521 | 0 | uint32_t tag; |
11522 | 0 | ptr = ::_pbi::ReadTag(ptr, &tag); |
11523 | 0 | switch (tag >> 3) { |
11524 | | // .solidity.yul.test.yul_fuzzer.StopInvalidStmt stop_invalid = 1; |
11525 | 0 | case 1: |
11526 | 0 | if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 10)) { |
11527 | 0 | ptr = ctx->ParseMessage(_internal_mutable_stop_invalid(), ptr); |
11528 | 0 | CHK_(ptr); |
11529 | 0 | } else |
11530 | 0 | goto handle_unusual; |
11531 | 0 | continue; |
11532 | | // .solidity.yul.test.yul_fuzzer.RetRevStmt ret_rev = 2; |
11533 | 0 | case 2: |
11534 | 0 | if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 18)) { |
11535 | 0 | ptr = ctx->ParseMessage(_internal_mutable_ret_rev(), ptr); |
11536 | 0 | CHK_(ptr); |
11537 | 0 | } else |
11538 | 0 | goto handle_unusual; |
11539 | 0 | continue; |
11540 | | // .solidity.yul.test.yul_fuzzer.SelfDestructStmt self_des = 3; |
11541 | 0 | case 3: |
11542 | 0 | if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 26)) { |
11543 | 0 | ptr = ctx->ParseMessage(_internal_mutable_self_des(), ptr); |
11544 | 0 | CHK_(ptr); |
11545 | 0 | } else |
11546 | 0 | goto handle_unusual; |
11547 | 0 | continue; |
11548 | 0 | default: |
11549 | 0 | goto handle_unusual; |
11550 | 0 | } // switch |
11551 | 0 | handle_unusual: |
11552 | 0 | if ((tag == 0) || ((tag & 7) == 4)) { |
11553 | 0 | CHK_(ptr); |
11554 | 0 | ctx->SetLastTag(tag); |
11555 | 0 | goto message_done; |
11556 | 0 | } |
11557 | 0 | ptr = UnknownFieldParse( |
11558 | 0 | tag, |
11559 | 0 | _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), |
11560 | 0 | ptr, ctx); |
11561 | 0 | CHK_(ptr != nullptr); |
11562 | 0 | } // while |
11563 | 0 | message_done: |
11564 | 0 | return ptr; |
11565 | 0 | failure: |
11566 | 0 | ptr = nullptr; |
11567 | 0 | goto message_done; |
11568 | 0 | #undef CHK_ |
11569 | 0 | } |
11570 | | |
11571 | | uint8_t* TerminatingStmt::_InternalSerialize( |
11572 | 0 | uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { |
11573 | | // @@protoc_insertion_point(serialize_to_array_start:solidity.yul.test.yul_fuzzer.TerminatingStmt) |
11574 | 0 | uint32_t cached_has_bits = 0; |
11575 | 0 | (void) cached_has_bits; |
11576 | |
|
11577 | 0 | switch (term_oneof_case()) { |
11578 | 0 | case kStopInvalid: { |
11579 | 0 | target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: |
11580 | 0 | InternalWriteMessage(1, _Internal::stop_invalid(this), |
11581 | 0 | _Internal::stop_invalid(this).GetCachedSize(), target, stream); |
11582 | 0 | break; |
11583 | 0 | } |
11584 | 0 | case kRetRev: { |
11585 | 0 | target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: |
11586 | 0 | InternalWriteMessage(2, _Internal::ret_rev(this), |
11587 | 0 | _Internal::ret_rev(this).GetCachedSize(), target, stream); |
11588 | 0 | break; |
11589 | 0 | } |
11590 | 0 | case kSelfDes: { |
11591 | 0 | target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: |
11592 | 0 | InternalWriteMessage(3, _Internal::self_des(this), |
11593 | 0 | _Internal::self_des(this).GetCachedSize(), target, stream); |
11594 | 0 | break; |
11595 | 0 | } |
11596 | 0 | default: ; |
11597 | 0 | } |
11598 | 0 | if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { |
11599 | 0 | target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( |
11600 | 0 | _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); |
11601 | 0 | } |
11602 | | // @@protoc_insertion_point(serialize_to_array_end:solidity.yul.test.yul_fuzzer.TerminatingStmt) |
11603 | 0 | return target; |
11604 | 0 | } |
11605 | | |
11606 | 312k | size_t TerminatingStmt::ByteSizeLong() const { |
11607 | | // @@protoc_insertion_point(message_byte_size_start:solidity.yul.test.yul_fuzzer.TerminatingStmt) |
11608 | 312k | size_t total_size = 0; |
11609 | | |
11610 | 312k | uint32_t cached_has_bits = 0; |
11611 | | // Prevent compiler warnings about cached_has_bits being unused |
11612 | 312k | (void) cached_has_bits; |
11613 | | |
11614 | 312k | switch (term_oneof_case()) { |
11615 | | // .solidity.yul.test.yul_fuzzer.StopInvalidStmt stop_invalid = 1; |
11616 | 5.07k | case kStopInvalid: { |
11617 | 5.07k | total_size += 1 + |
11618 | 5.07k | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
11619 | 5.07k | *_impl_.term_oneof_.stop_invalid_); |
11620 | 5.07k | break; |
11621 | 0 | } |
11622 | | // .solidity.yul.test.yul_fuzzer.RetRevStmt ret_rev = 2; |
11623 | 3.72k | case kRetRev: { |
11624 | 3.72k | total_size += 1 + |
11625 | 3.72k | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
11626 | 3.72k | *_impl_.term_oneof_.ret_rev_); |
11627 | 3.72k | break; |
11628 | 0 | } |
11629 | | // .solidity.yul.test.yul_fuzzer.SelfDestructStmt self_des = 3; |
11630 | 4.35k | case kSelfDes: { |
11631 | 4.35k | total_size += 1 + |
11632 | 4.35k | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
11633 | 4.35k | *_impl_.term_oneof_.self_des_); |
11634 | 4.35k | break; |
11635 | 0 | } |
11636 | 299k | case TERM_ONEOF_NOT_SET: { |
11637 | 299k | break; |
11638 | 0 | } |
11639 | 312k | } |
11640 | 312k | return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); |
11641 | 312k | } |
11642 | | |
11643 | | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData TerminatingStmt::_class_data_ = { |
11644 | | ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, |
11645 | | TerminatingStmt::MergeImpl |
11646 | | }; |
11647 | 0 | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*TerminatingStmt::GetClassData() const { return &_class_data_; } |
11648 | | |
11649 | | |
11650 | 0 | void TerminatingStmt::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { |
11651 | 0 | auto* const _this = static_cast<TerminatingStmt*>(&to_msg); |
11652 | 0 | auto& from = static_cast<const TerminatingStmt&>(from_msg); |
11653 | | // @@protoc_insertion_point(class_specific_merge_from_start:solidity.yul.test.yul_fuzzer.TerminatingStmt) |
11654 | 0 | GOOGLE_DCHECK_NE(&from, _this); |
11655 | 0 | uint32_t cached_has_bits = 0; |
11656 | 0 | (void) cached_has_bits; |
11657 | |
|
11658 | 0 | switch (from.term_oneof_case()) { |
11659 | 0 | case kStopInvalid: { |
11660 | 0 | _this->_internal_mutable_stop_invalid()->::solidity::yul::test::yul_fuzzer::StopInvalidStmt::MergeFrom( |
11661 | 0 | from._internal_stop_invalid()); |
11662 | 0 | break; |
11663 | 0 | } |
11664 | 0 | case kRetRev: { |
11665 | 0 | _this->_internal_mutable_ret_rev()->::solidity::yul::test::yul_fuzzer::RetRevStmt::MergeFrom( |
11666 | 0 | from._internal_ret_rev()); |
11667 | 0 | break; |
11668 | 0 | } |
11669 | 0 | case kSelfDes: { |
11670 | 0 | _this->_internal_mutable_self_des()->::solidity::yul::test::yul_fuzzer::SelfDestructStmt::MergeFrom( |
11671 | 0 | from._internal_self_des()); |
11672 | 0 | break; |
11673 | 0 | } |
11674 | 0 | case TERM_ONEOF_NOT_SET: { |
11675 | 0 | break; |
11676 | 0 | } |
11677 | 0 | } |
11678 | 0 | _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); |
11679 | 0 | } |
11680 | | |
11681 | 0 | void TerminatingStmt::CopyFrom(const TerminatingStmt& from) { |
11682 | | // @@protoc_insertion_point(class_specific_copy_from_start:solidity.yul.test.yul_fuzzer.TerminatingStmt) |
11683 | 0 | if (&from == this) return; |
11684 | 0 | Clear(); |
11685 | 0 | MergeFrom(from); |
11686 | 0 | } |
11687 | | |
11688 | 0 | bool TerminatingStmt::IsInitialized() const { |
11689 | 0 | switch (term_oneof_case()) { |
11690 | 0 | case kStopInvalid: { |
11691 | 0 | if (_internal_has_stop_invalid()) { |
11692 | 0 | if (!_impl_.term_oneof_.stop_invalid_->IsInitialized()) return false; |
11693 | 0 | } |
11694 | 0 | break; |
11695 | 0 | } |
11696 | 0 | case kRetRev: { |
11697 | 0 | if (_internal_has_ret_rev()) { |
11698 | 0 | if (!_impl_.term_oneof_.ret_rev_->IsInitialized()) return false; |
11699 | 0 | } |
11700 | 0 | break; |
11701 | 0 | } |
11702 | 0 | case kSelfDes: { |
11703 | 0 | if (_internal_has_self_des()) { |
11704 | 0 | if (!_impl_.term_oneof_.self_des_->IsInitialized()) return false; |
11705 | 0 | } |
11706 | 0 | break; |
11707 | 0 | } |
11708 | 0 | case TERM_ONEOF_NOT_SET: { |
11709 | 0 | break; |
11710 | 0 | } |
11711 | 0 | } |
11712 | 0 | return true; |
11713 | 0 | } |
11714 | | |
11715 | 0 | void TerminatingStmt::InternalSwap(TerminatingStmt* other) { |
11716 | 0 | using std::swap; |
11717 | 0 | _internal_metadata_.InternalSwap(&other->_internal_metadata_); |
11718 | 0 | swap(_impl_.term_oneof_, other->_impl_.term_oneof_); |
11719 | 0 | swap(_impl_._oneof_case_[0], other->_impl_._oneof_case_[0]); |
11720 | 0 | } |
11721 | | |
11722 | 9.97M | ::PROTOBUF_NAMESPACE_ID::Metadata TerminatingStmt::GetMetadata() const { |
11723 | 9.97M | return ::_pbi::AssignDescriptors( |
11724 | 9.97M | &descriptor_table_yulProto_2eproto_getter, &descriptor_table_yulProto_2eproto_once, |
11725 | 9.97M | file_level_metadata_yulProto_2eproto[30]); |
11726 | 9.97M | } |
11727 | | |
11728 | | // =================================================================== |
11729 | | |
11730 | | class FunctionDef::_Internal { |
11731 | | public: |
11732 | | using HasBits = decltype(std::declval<FunctionDef>()._impl_._has_bits_); |
11733 | 0 | static void set_has_num_input_params(HasBits* has_bits) { |
11734 | 0 | (*has_bits)[0] |= 2u; |
11735 | 0 | } |
11736 | 0 | static void set_has_num_output_params(HasBits* has_bits) { |
11737 | 0 | (*has_bits)[0] |= 4u; |
11738 | 0 | } |
11739 | | static const ::solidity::yul::test::yul_fuzzer::Block& block(const FunctionDef* msg); |
11740 | 0 | static void set_has_block(HasBits* has_bits) { |
11741 | 0 | (*has_bits)[0] |= 1u; |
11742 | 0 | } |
11743 | 0 | static void set_has_force_call(HasBits* has_bits) { |
11744 | 0 | (*has_bits)[0] |= 8u; |
11745 | 0 | } |
11746 | 0 | static bool MissingRequiredFields(const HasBits& has_bits) { |
11747 | 0 | return ((has_bits[0] & 0x0000000f) ^ 0x0000000f) != 0; |
11748 | 0 | } |
11749 | | }; |
11750 | | |
11751 | | const ::solidity::yul::test::yul_fuzzer::Block& |
11752 | 0 | FunctionDef::_Internal::block(const FunctionDef* msg) { |
11753 | 0 | return *msg->_impl_.block_; |
11754 | 0 | } |
11755 | | FunctionDef::FunctionDef(::PROTOBUF_NAMESPACE_ID::Arena* arena, |
11756 | | bool is_message_owned) |
11757 | 188k | : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { |
11758 | 188k | SharedCtor(arena, is_message_owned); |
11759 | | // @@protoc_insertion_point(arena_constructor:solidity.yul.test.yul_fuzzer.FunctionDef) |
11760 | 188k | } |
11761 | | FunctionDef::FunctionDef(const FunctionDef& from) |
11762 | 0 | : ::PROTOBUF_NAMESPACE_ID::Message() { |
11763 | 0 | FunctionDef* const _this = this; (void)_this; |
11764 | 0 | new (&_impl_) Impl_{ |
11765 | 0 | decltype(_impl_._has_bits_){from._impl_._has_bits_} |
11766 | 0 | , /*decltype(_impl_._cached_size_)*/{} |
11767 | 0 | , decltype(_impl_.block_){nullptr} |
11768 | 0 | , decltype(_impl_.num_input_params_){} |
11769 | 0 | , decltype(_impl_.num_output_params_){} |
11770 | 0 | , decltype(_impl_.force_call_){}}; |
11771 | |
|
11772 | 0 | _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); |
11773 | 0 | if (from._internal_has_block()) { |
11774 | 0 | _this->_impl_.block_ = new ::solidity::yul::test::yul_fuzzer::Block(*from._impl_.block_); |
11775 | 0 | } |
11776 | 0 | ::memcpy(&_impl_.num_input_params_, &from._impl_.num_input_params_, |
11777 | 0 | static_cast<size_t>(reinterpret_cast<char*>(&_impl_.force_call_) - |
11778 | 0 | reinterpret_cast<char*>(&_impl_.num_input_params_)) + sizeof(_impl_.force_call_)); |
11779 | | // @@protoc_insertion_point(copy_constructor:solidity.yul.test.yul_fuzzer.FunctionDef) |
11780 | 0 | } |
11781 | | |
11782 | | inline void FunctionDef::SharedCtor( |
11783 | 188k | ::_pb::Arena* arena, bool is_message_owned) { |
11784 | 188k | (void)arena; |
11785 | 188k | (void)is_message_owned; |
11786 | 188k | new (&_impl_) Impl_{ |
11787 | 188k | decltype(_impl_._has_bits_){} |
11788 | 188k | , /*decltype(_impl_._cached_size_)*/{} |
11789 | 188k | , decltype(_impl_.block_){nullptr} |
11790 | 188k | , decltype(_impl_.num_input_params_){0u} |
11791 | 188k | , decltype(_impl_.num_output_params_){0u} |
11792 | 188k | , decltype(_impl_.force_call_){false} |
11793 | 188k | }; |
11794 | 188k | } |
11795 | | |
11796 | 188k | FunctionDef::~FunctionDef() { |
11797 | | // @@protoc_insertion_point(destructor:solidity.yul.test.yul_fuzzer.FunctionDef) |
11798 | 188k | if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { |
11799 | 0 | (void)arena; |
11800 | 0 | return; |
11801 | 0 | } |
11802 | 188k | SharedDtor(); |
11803 | 188k | } |
11804 | | |
11805 | 188k | inline void FunctionDef::SharedDtor() { |
11806 | 188k | GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); |
11807 | 188k | if (this != internal_default_instance()) delete _impl_.block_; |
11808 | 188k | } |
11809 | | |
11810 | 0 | void FunctionDef::SetCachedSize(int size) const { |
11811 | 0 | _impl_._cached_size_.Set(size); |
11812 | 0 | } |
11813 | | |
11814 | 0 | void FunctionDef::Clear() { |
11815 | | // @@protoc_insertion_point(message_clear_start:solidity.yul.test.yul_fuzzer.FunctionDef) |
11816 | 0 | uint32_t cached_has_bits = 0; |
11817 | | // Prevent compiler warnings about cached_has_bits being unused |
11818 | 0 | (void) cached_has_bits; |
11819 | |
|
11820 | 0 | cached_has_bits = _impl_._has_bits_[0]; |
11821 | 0 | if (cached_has_bits & 0x00000001u) { |
11822 | 0 | GOOGLE_DCHECK(_impl_.block_ != nullptr); |
11823 | 0 | _impl_.block_->Clear(); |
11824 | 0 | } |
11825 | 0 | if (cached_has_bits & 0x0000000eu) { |
11826 | 0 | ::memset(&_impl_.num_input_params_, 0, static_cast<size_t>( |
11827 | 0 | reinterpret_cast<char*>(&_impl_.force_call_) - |
11828 | 0 | reinterpret_cast<char*>(&_impl_.num_input_params_)) + sizeof(_impl_.force_call_)); |
11829 | 0 | } |
11830 | 0 | _impl_._has_bits_.Clear(); |
11831 | 0 | _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); |
11832 | 0 | } |
11833 | | |
11834 | 0 | const char* FunctionDef::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { |
11835 | 0 | #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure |
11836 | 0 | _Internal::HasBits has_bits{}; |
11837 | 0 | while (!ctx->Done(&ptr)) { |
11838 | 0 | uint32_t tag; |
11839 | 0 | ptr = ::_pbi::ReadTag(ptr, &tag); |
11840 | 0 | switch (tag >> 3) { |
11841 | | // required uint32 num_input_params = 1; |
11842 | 0 | case 1: |
11843 | 0 | if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 8)) { |
11844 | 0 | _Internal::set_has_num_input_params(&has_bits); |
11845 | 0 | _impl_.num_input_params_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); |
11846 | 0 | CHK_(ptr); |
11847 | 0 | } else |
11848 | 0 | goto handle_unusual; |
11849 | 0 | continue; |
11850 | | // required uint32 num_output_params = 2; |
11851 | 0 | case 2: |
11852 | 0 | if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 16)) { |
11853 | 0 | _Internal::set_has_num_output_params(&has_bits); |
11854 | 0 | _impl_.num_output_params_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); |
11855 | 0 | CHK_(ptr); |
11856 | 0 | } else |
11857 | 0 | goto handle_unusual; |
11858 | 0 | continue; |
11859 | | // required .solidity.yul.test.yul_fuzzer.Block block = 3; |
11860 | 0 | case 3: |
11861 | 0 | if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 26)) { |
11862 | 0 | ptr = ctx->ParseMessage(_internal_mutable_block(), ptr); |
11863 | 0 | CHK_(ptr); |
11864 | 0 | } else |
11865 | 0 | goto handle_unusual; |
11866 | 0 | continue; |
11867 | | // required bool force_call = 4; |
11868 | 0 | case 4: |
11869 | 0 | if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 32)) { |
11870 | 0 | _Internal::set_has_force_call(&has_bits); |
11871 | 0 | _impl_.force_call_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); |
11872 | 0 | CHK_(ptr); |
11873 | 0 | } else |
11874 | 0 | goto handle_unusual; |
11875 | 0 | continue; |
11876 | 0 | default: |
11877 | 0 | goto handle_unusual; |
11878 | 0 | } // switch |
11879 | 0 | handle_unusual: |
11880 | 0 | if ((tag == 0) || ((tag & 7) == 4)) { |
11881 | 0 | CHK_(ptr); |
11882 | 0 | ctx->SetLastTag(tag); |
11883 | 0 | goto message_done; |
11884 | 0 | } |
11885 | 0 | ptr = UnknownFieldParse( |
11886 | 0 | tag, |
11887 | 0 | _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), |
11888 | 0 | ptr, ctx); |
11889 | 0 | CHK_(ptr != nullptr); |
11890 | 0 | } // while |
11891 | 0 | message_done: |
11892 | 0 | _impl_._has_bits_.Or(has_bits); |
11893 | 0 | return ptr; |
11894 | 0 | failure: |
11895 | 0 | ptr = nullptr; |
11896 | 0 | goto message_done; |
11897 | 0 | #undef CHK_ |
11898 | 0 | } |
11899 | | |
11900 | | uint8_t* FunctionDef::_InternalSerialize( |
11901 | 0 | uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { |
11902 | | // @@protoc_insertion_point(serialize_to_array_start:solidity.yul.test.yul_fuzzer.FunctionDef) |
11903 | 0 | uint32_t cached_has_bits = 0; |
11904 | 0 | (void) cached_has_bits; |
11905 | |
|
11906 | 0 | cached_has_bits = _impl_._has_bits_[0]; |
11907 | | // required uint32 num_input_params = 1; |
11908 | 0 | if (cached_has_bits & 0x00000002u) { |
11909 | 0 | target = stream->EnsureSpace(target); |
11910 | 0 | target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_num_input_params(), target); |
11911 | 0 | } |
11912 | | |
11913 | | // required uint32 num_output_params = 2; |
11914 | 0 | if (cached_has_bits & 0x00000004u) { |
11915 | 0 | target = stream->EnsureSpace(target); |
11916 | 0 | target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_num_output_params(), target); |
11917 | 0 | } |
11918 | | |
11919 | | // required .solidity.yul.test.yul_fuzzer.Block block = 3; |
11920 | 0 | if (cached_has_bits & 0x00000001u) { |
11921 | 0 | target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: |
11922 | 0 | InternalWriteMessage(3, _Internal::block(this), |
11923 | 0 | _Internal::block(this).GetCachedSize(), target, stream); |
11924 | 0 | } |
11925 | | |
11926 | | // required bool force_call = 4; |
11927 | 0 | if (cached_has_bits & 0x00000008u) { |
11928 | 0 | target = stream->EnsureSpace(target); |
11929 | 0 | target = ::_pbi::WireFormatLite::WriteBoolToArray(4, this->_internal_force_call(), target); |
11930 | 0 | } |
11931 | |
|
11932 | 0 | if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { |
11933 | 0 | target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( |
11934 | 0 | _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); |
11935 | 0 | } |
11936 | | // @@protoc_insertion_point(serialize_to_array_end:solidity.yul.test.yul_fuzzer.FunctionDef) |
11937 | 0 | return target; |
11938 | 0 | } |
11939 | | |
11940 | 0 | size_t FunctionDef::RequiredFieldsByteSizeFallback() const { |
11941 | | // @@protoc_insertion_point(required_fields_byte_size_fallback_start:solidity.yul.test.yul_fuzzer.FunctionDef) |
11942 | 0 | size_t total_size = 0; |
11943 | |
|
11944 | 0 | if (_internal_has_block()) { |
11945 | | // required .solidity.yul.test.yul_fuzzer.Block block = 3; |
11946 | 0 | total_size += 1 + |
11947 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
11948 | 0 | *_impl_.block_); |
11949 | 0 | } |
11950 | |
|
11951 | 0 | if (_internal_has_num_input_params()) { |
11952 | | // required uint32 num_input_params = 1; |
11953 | 0 | total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_num_input_params()); |
11954 | 0 | } |
11955 | |
|
11956 | 0 | if (_internal_has_num_output_params()) { |
11957 | | // required uint32 num_output_params = 2; |
11958 | 0 | total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_num_output_params()); |
11959 | 0 | } |
11960 | |
|
11961 | 0 | if (_internal_has_force_call()) { |
11962 | | // required bool force_call = 4; |
11963 | 0 | total_size += 1 + 1; |
11964 | 0 | } |
11965 | |
|
11966 | 0 | return total_size; |
11967 | 0 | } |
11968 | 184k | size_t FunctionDef::ByteSizeLong() const { |
11969 | | // @@protoc_insertion_point(message_byte_size_start:solidity.yul.test.yul_fuzzer.FunctionDef) |
11970 | 184k | size_t total_size = 0; |
11971 | | |
11972 | 184k | if (((_impl_._has_bits_[0] & 0x0000000f) ^ 0x0000000f) == 0) { // All required fields are present. |
11973 | | // required .solidity.yul.test.yul_fuzzer.Block block = 3; |
11974 | 184k | total_size += 1 + |
11975 | 184k | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
11976 | 184k | *_impl_.block_); |
11977 | | |
11978 | | // required uint32 num_input_params = 1; |
11979 | 184k | total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_num_input_params()); |
11980 | | |
11981 | | // required uint32 num_output_params = 2; |
11982 | 184k | total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_num_output_params()); |
11983 | | |
11984 | | // required bool force_call = 4; |
11985 | 184k | total_size += 1 + 1; |
11986 | | |
11987 | 184k | } else { |
11988 | 0 | total_size += RequiredFieldsByteSizeFallback(); |
11989 | 0 | } |
11990 | 184k | uint32_t cached_has_bits = 0; |
11991 | | // Prevent compiler warnings about cached_has_bits being unused |
11992 | 184k | (void) cached_has_bits; |
11993 | | |
11994 | 184k | return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); |
11995 | 184k | } |
11996 | | |
11997 | | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData FunctionDef::_class_data_ = { |
11998 | | ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, |
11999 | | FunctionDef::MergeImpl |
12000 | | }; |
12001 | 0 | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*FunctionDef::GetClassData() const { return &_class_data_; } |
12002 | | |
12003 | | |
12004 | 0 | void FunctionDef::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { |
12005 | 0 | auto* const _this = static_cast<FunctionDef*>(&to_msg); |
12006 | 0 | auto& from = static_cast<const FunctionDef&>(from_msg); |
12007 | | // @@protoc_insertion_point(class_specific_merge_from_start:solidity.yul.test.yul_fuzzer.FunctionDef) |
12008 | 0 | GOOGLE_DCHECK_NE(&from, _this); |
12009 | 0 | uint32_t cached_has_bits = 0; |
12010 | 0 | (void) cached_has_bits; |
12011 | |
|
12012 | 0 | cached_has_bits = from._impl_._has_bits_[0]; |
12013 | 0 | if (cached_has_bits & 0x0000000fu) { |
12014 | 0 | if (cached_has_bits & 0x00000001u) { |
12015 | 0 | _this->_internal_mutable_block()->::solidity::yul::test::yul_fuzzer::Block::MergeFrom( |
12016 | 0 | from._internal_block()); |
12017 | 0 | } |
12018 | 0 | if (cached_has_bits & 0x00000002u) { |
12019 | 0 | _this->_impl_.num_input_params_ = from._impl_.num_input_params_; |
12020 | 0 | } |
12021 | 0 | if (cached_has_bits & 0x00000004u) { |
12022 | 0 | _this->_impl_.num_output_params_ = from._impl_.num_output_params_; |
12023 | 0 | } |
12024 | 0 | if (cached_has_bits & 0x00000008u) { |
12025 | 0 | _this->_impl_.force_call_ = from._impl_.force_call_; |
12026 | 0 | } |
12027 | 0 | _this->_impl_._has_bits_[0] |= cached_has_bits; |
12028 | 0 | } |
12029 | 0 | _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); |
12030 | 0 | } |
12031 | | |
12032 | 0 | void FunctionDef::CopyFrom(const FunctionDef& from) { |
12033 | | // @@protoc_insertion_point(class_specific_copy_from_start:solidity.yul.test.yul_fuzzer.FunctionDef) |
12034 | 0 | if (&from == this) return; |
12035 | 0 | Clear(); |
12036 | 0 | MergeFrom(from); |
12037 | 0 | } |
12038 | | |
12039 | 0 | bool FunctionDef::IsInitialized() const { |
12040 | 0 | if (_Internal::MissingRequiredFields(_impl_._has_bits_)) return false; |
12041 | 0 | if (_internal_has_block()) { |
12042 | 0 | if (!_impl_.block_->IsInitialized()) return false; |
12043 | 0 | } |
12044 | 0 | return true; |
12045 | 0 | } |
12046 | | |
12047 | 0 | void FunctionDef::InternalSwap(FunctionDef* other) { |
12048 | 0 | using std::swap; |
12049 | 0 | _internal_metadata_.InternalSwap(&other->_internal_metadata_); |
12050 | 0 | swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); |
12051 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::memswap< |
12052 | 0 | PROTOBUF_FIELD_OFFSET(FunctionDef, _impl_.force_call_) |
12053 | 0 | + sizeof(FunctionDef::_impl_.force_call_) |
12054 | 0 | - PROTOBUF_FIELD_OFFSET(FunctionDef, _impl_.block_)>( |
12055 | 0 | reinterpret_cast<char*>(&_impl_.block_), |
12056 | 0 | reinterpret_cast<char*>(&other->_impl_.block_)); |
12057 | 0 | } |
12058 | | |
12059 | 4.06M | ::PROTOBUF_NAMESPACE_ID::Metadata FunctionDef::GetMetadata() const { |
12060 | 4.06M | return ::_pbi::AssignDescriptors( |
12061 | 4.06M | &descriptor_table_yulProto_2eproto_getter, &descriptor_table_yulProto_2eproto_once, |
12062 | 4.06M | file_level_metadata_yulProto_2eproto[31]); |
12063 | 4.06M | } |
12064 | | |
12065 | | // =================================================================== |
12066 | | |
12067 | | class PopStmt::_Internal { |
12068 | | public: |
12069 | | using HasBits = decltype(std::declval<PopStmt>()._impl_._has_bits_); |
12070 | | static const ::solidity::yul::test::yul_fuzzer::Expression& expr(const PopStmt* msg); |
12071 | 0 | static void set_has_expr(HasBits* has_bits) { |
12072 | 0 | (*has_bits)[0] |= 1u; |
12073 | 0 | } |
12074 | 0 | static bool MissingRequiredFields(const HasBits& has_bits) { |
12075 | 0 | return ((has_bits[0] & 0x00000001) ^ 0x00000001) != 0; |
12076 | 0 | } |
12077 | | }; |
12078 | | |
12079 | | const ::solidity::yul::test::yul_fuzzer::Expression& |
12080 | 0 | PopStmt::_Internal::expr(const PopStmt* msg) { |
12081 | 0 | return *msg->_impl_.expr_; |
12082 | 0 | } |
12083 | | PopStmt::PopStmt(::PROTOBUF_NAMESPACE_ID::Arena* arena, |
12084 | | bool is_message_owned) |
12085 | 28.0k | : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { |
12086 | 28.0k | SharedCtor(arena, is_message_owned); |
12087 | | // @@protoc_insertion_point(arena_constructor:solidity.yul.test.yul_fuzzer.PopStmt) |
12088 | 28.0k | } |
12089 | | PopStmt::PopStmt(const PopStmt& from) |
12090 | 0 | : ::PROTOBUF_NAMESPACE_ID::Message() { |
12091 | 0 | PopStmt* const _this = this; (void)_this; |
12092 | 0 | new (&_impl_) Impl_{ |
12093 | 0 | decltype(_impl_._has_bits_){from._impl_._has_bits_} |
12094 | 0 | , /*decltype(_impl_._cached_size_)*/{} |
12095 | 0 | , decltype(_impl_.expr_){nullptr}}; |
12096 | |
|
12097 | 0 | _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); |
12098 | 0 | if (from._internal_has_expr()) { |
12099 | 0 | _this->_impl_.expr_ = new ::solidity::yul::test::yul_fuzzer::Expression(*from._impl_.expr_); |
12100 | 0 | } |
12101 | | // @@protoc_insertion_point(copy_constructor:solidity.yul.test.yul_fuzzer.PopStmt) |
12102 | 0 | } |
12103 | | |
12104 | | inline void PopStmt::SharedCtor( |
12105 | 28.0k | ::_pb::Arena* arena, bool is_message_owned) { |
12106 | 28.0k | (void)arena; |
12107 | 28.0k | (void)is_message_owned; |
12108 | 28.0k | new (&_impl_) Impl_{ |
12109 | 28.0k | decltype(_impl_._has_bits_){} |
12110 | 28.0k | , /*decltype(_impl_._cached_size_)*/{} |
12111 | 28.0k | , decltype(_impl_.expr_){nullptr} |
12112 | 28.0k | }; |
12113 | 28.0k | } |
12114 | | |
12115 | 28.0k | PopStmt::~PopStmt() { |
12116 | | // @@protoc_insertion_point(destructor:solidity.yul.test.yul_fuzzer.PopStmt) |
12117 | 28.0k | if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { |
12118 | 0 | (void)arena; |
12119 | 0 | return; |
12120 | 0 | } |
12121 | 28.0k | SharedDtor(); |
12122 | 28.0k | } |
12123 | | |
12124 | 28.0k | inline void PopStmt::SharedDtor() { |
12125 | 28.0k | GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); |
12126 | 28.0k | if (this != internal_default_instance()) delete _impl_.expr_; |
12127 | 28.0k | } |
12128 | | |
12129 | 0 | void PopStmt::SetCachedSize(int size) const { |
12130 | 0 | _impl_._cached_size_.Set(size); |
12131 | 0 | } |
12132 | | |
12133 | 0 | void PopStmt::Clear() { |
12134 | | // @@protoc_insertion_point(message_clear_start:solidity.yul.test.yul_fuzzer.PopStmt) |
12135 | 0 | uint32_t cached_has_bits = 0; |
12136 | | // Prevent compiler warnings about cached_has_bits being unused |
12137 | 0 | (void) cached_has_bits; |
12138 | |
|
12139 | 0 | cached_has_bits = _impl_._has_bits_[0]; |
12140 | 0 | if (cached_has_bits & 0x00000001u) { |
12141 | 0 | GOOGLE_DCHECK(_impl_.expr_ != nullptr); |
12142 | 0 | _impl_.expr_->Clear(); |
12143 | 0 | } |
12144 | 0 | _impl_._has_bits_.Clear(); |
12145 | 0 | _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); |
12146 | 0 | } |
12147 | | |
12148 | 0 | const char* PopStmt::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { |
12149 | 0 | #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure |
12150 | 0 | _Internal::HasBits has_bits{}; |
12151 | 0 | while (!ctx->Done(&ptr)) { |
12152 | 0 | uint32_t tag; |
12153 | 0 | ptr = ::_pbi::ReadTag(ptr, &tag); |
12154 | 0 | switch (tag >> 3) { |
12155 | | // required .solidity.yul.test.yul_fuzzer.Expression expr = 1; |
12156 | 0 | case 1: |
12157 | 0 | if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 10)) { |
12158 | 0 | ptr = ctx->ParseMessage(_internal_mutable_expr(), ptr); |
12159 | 0 | CHK_(ptr); |
12160 | 0 | } else |
12161 | 0 | goto handle_unusual; |
12162 | 0 | continue; |
12163 | 0 | default: |
12164 | 0 | goto handle_unusual; |
12165 | 0 | } // switch |
12166 | 0 | handle_unusual: |
12167 | 0 | if ((tag == 0) || ((tag & 7) == 4)) { |
12168 | 0 | CHK_(ptr); |
12169 | 0 | ctx->SetLastTag(tag); |
12170 | 0 | goto message_done; |
12171 | 0 | } |
12172 | 0 | ptr = UnknownFieldParse( |
12173 | 0 | tag, |
12174 | 0 | _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), |
12175 | 0 | ptr, ctx); |
12176 | 0 | CHK_(ptr != nullptr); |
12177 | 0 | } // while |
12178 | 0 | message_done: |
12179 | 0 | _impl_._has_bits_.Or(has_bits); |
12180 | 0 | return ptr; |
12181 | 0 | failure: |
12182 | 0 | ptr = nullptr; |
12183 | 0 | goto message_done; |
12184 | 0 | #undef CHK_ |
12185 | 0 | } |
12186 | | |
12187 | | uint8_t* PopStmt::_InternalSerialize( |
12188 | 0 | uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { |
12189 | | // @@protoc_insertion_point(serialize_to_array_start:solidity.yul.test.yul_fuzzer.PopStmt) |
12190 | 0 | uint32_t cached_has_bits = 0; |
12191 | 0 | (void) cached_has_bits; |
12192 | |
|
12193 | 0 | cached_has_bits = _impl_._has_bits_[0]; |
12194 | | // required .solidity.yul.test.yul_fuzzer.Expression expr = 1; |
12195 | 0 | if (cached_has_bits & 0x00000001u) { |
12196 | 0 | target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: |
12197 | 0 | InternalWriteMessage(1, _Internal::expr(this), |
12198 | 0 | _Internal::expr(this).GetCachedSize(), target, stream); |
12199 | 0 | } |
12200 | |
|
12201 | 0 | if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { |
12202 | 0 | target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( |
12203 | 0 | _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); |
12204 | 0 | } |
12205 | | // @@protoc_insertion_point(serialize_to_array_end:solidity.yul.test.yul_fuzzer.PopStmt) |
12206 | 0 | return target; |
12207 | 0 | } |
12208 | | |
12209 | 25.4k | size_t PopStmt::ByteSizeLong() const { |
12210 | | // @@protoc_insertion_point(message_byte_size_start:solidity.yul.test.yul_fuzzer.PopStmt) |
12211 | 25.4k | size_t total_size = 0; |
12212 | | |
12213 | | // required .solidity.yul.test.yul_fuzzer.Expression expr = 1; |
12214 | 25.4k | if (_internal_has_expr()) { |
12215 | 25.4k | total_size += 1 + |
12216 | 25.4k | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
12217 | 25.4k | *_impl_.expr_); |
12218 | 25.4k | } |
12219 | 25.4k | uint32_t cached_has_bits = 0; |
12220 | | // Prevent compiler warnings about cached_has_bits being unused |
12221 | 25.4k | (void) cached_has_bits; |
12222 | | |
12223 | 25.4k | return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); |
12224 | 25.4k | } |
12225 | | |
12226 | | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData PopStmt::_class_data_ = { |
12227 | | ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, |
12228 | | PopStmt::MergeImpl |
12229 | | }; |
12230 | 0 | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*PopStmt::GetClassData() const { return &_class_data_; } |
12231 | | |
12232 | | |
12233 | 0 | void PopStmt::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { |
12234 | 0 | auto* const _this = static_cast<PopStmt*>(&to_msg); |
12235 | 0 | auto& from = static_cast<const PopStmt&>(from_msg); |
12236 | | // @@protoc_insertion_point(class_specific_merge_from_start:solidity.yul.test.yul_fuzzer.PopStmt) |
12237 | 0 | GOOGLE_DCHECK_NE(&from, _this); |
12238 | 0 | uint32_t cached_has_bits = 0; |
12239 | 0 | (void) cached_has_bits; |
12240 | |
|
12241 | 0 | if (from._internal_has_expr()) { |
12242 | 0 | _this->_internal_mutable_expr()->::solidity::yul::test::yul_fuzzer::Expression::MergeFrom( |
12243 | 0 | from._internal_expr()); |
12244 | 0 | } |
12245 | 0 | _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); |
12246 | 0 | } |
12247 | | |
12248 | 0 | void PopStmt::CopyFrom(const PopStmt& from) { |
12249 | | // @@protoc_insertion_point(class_specific_copy_from_start:solidity.yul.test.yul_fuzzer.PopStmt) |
12250 | 0 | if (&from == this) return; |
12251 | 0 | Clear(); |
12252 | 0 | MergeFrom(from); |
12253 | 0 | } |
12254 | | |
12255 | 0 | bool PopStmt::IsInitialized() const { |
12256 | 0 | if (_Internal::MissingRequiredFields(_impl_._has_bits_)) return false; |
12257 | 0 | if (_internal_has_expr()) { |
12258 | 0 | if (!_impl_.expr_->IsInitialized()) return false; |
12259 | 0 | } |
12260 | 0 | return true; |
12261 | 0 | } |
12262 | | |
12263 | 0 | void PopStmt::InternalSwap(PopStmt* other) { |
12264 | 0 | using std::swap; |
12265 | 0 | _internal_metadata_.InternalSwap(&other->_internal_metadata_); |
12266 | 0 | swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); |
12267 | 0 | swap(_impl_.expr_, other->_impl_.expr_); |
12268 | 0 | } |
12269 | | |
12270 | 344k | ::PROTOBUF_NAMESPACE_ID::Metadata PopStmt::GetMetadata() const { |
12271 | 344k | return ::_pbi::AssignDescriptors( |
12272 | 344k | &descriptor_table_yulProto_2eproto_getter, &descriptor_table_yulProto_2eproto_once, |
12273 | 344k | file_level_metadata_yulProto_2eproto[32]); |
12274 | 344k | } |
12275 | | |
12276 | | // =================================================================== |
12277 | | |
12278 | | class LeaveStmt::_Internal { |
12279 | | public: |
12280 | | }; |
12281 | | |
12282 | | LeaveStmt::LeaveStmt(::PROTOBUF_NAMESPACE_ID::Arena* arena, |
12283 | | bool is_message_owned) |
12284 | 319k | : ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase(arena, is_message_owned) { |
12285 | | // @@protoc_insertion_point(arena_constructor:solidity.yul.test.yul_fuzzer.LeaveStmt) |
12286 | 319k | } |
12287 | | LeaveStmt::LeaveStmt(const LeaveStmt& from) |
12288 | 0 | : ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase() { |
12289 | 0 | LeaveStmt* const _this = this; (void)_this; |
12290 | 0 | _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); |
12291 | | // @@protoc_insertion_point(copy_constructor:solidity.yul.test.yul_fuzzer.LeaveStmt) |
12292 | 0 | } |
12293 | | |
12294 | | |
12295 | | |
12296 | | |
12297 | | |
12298 | | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData LeaveStmt::_class_data_ = { |
12299 | | ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl, |
12300 | | ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl, |
12301 | | }; |
12302 | 0 | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*LeaveStmt::GetClassData() const { return &_class_data_; } |
12303 | | |
12304 | | |
12305 | | |
12306 | | |
12307 | | |
12308 | | |
12309 | | |
12310 | 9.99M | ::PROTOBUF_NAMESPACE_ID::Metadata LeaveStmt::GetMetadata() const { |
12311 | 9.99M | return ::_pbi::AssignDescriptors( |
12312 | 9.99M | &descriptor_table_yulProto_2eproto_getter, &descriptor_table_yulProto_2eproto_once, |
12313 | 9.99M | file_level_metadata_yulProto_2eproto[33]); |
12314 | 9.99M | } |
12315 | | |
12316 | | // =================================================================== |
12317 | | |
12318 | | class Statement::_Internal { |
12319 | | public: |
12320 | | static const ::solidity::yul::test::yul_fuzzer::VarDecl& decl(const Statement* msg); |
12321 | | static const ::solidity::yul::test::yul_fuzzer::AssignmentStatement& assignment(const Statement* msg); |
12322 | | static const ::solidity::yul::test::yul_fuzzer::IfStmt& ifstmt(const Statement* msg); |
12323 | | static const ::solidity::yul::test::yul_fuzzer::StoreFunc& storage_func(const Statement* msg); |
12324 | | static const ::solidity::yul::test::yul_fuzzer::Block& blockstmt(const Statement* msg); |
12325 | | static const ::solidity::yul::test::yul_fuzzer::ForStmt& forstmt(const Statement* msg); |
12326 | | static const ::solidity::yul::test::yul_fuzzer::SwitchStmt& switchstmt(const Statement* msg); |
12327 | | static const ::solidity::yul::test::yul_fuzzer::BreakStmt& breakstmt(const Statement* msg); |
12328 | | static const ::solidity::yul::test::yul_fuzzer::ContinueStmt& contstmt(const Statement* msg); |
12329 | | static const ::solidity::yul::test::yul_fuzzer::LogFunc& log_func(const Statement* msg); |
12330 | | static const ::solidity::yul::test::yul_fuzzer::CopyFunc& copy_func(const Statement* msg); |
12331 | | static const ::solidity::yul::test::yul_fuzzer::ExtCodeCopy& extcode_copy(const Statement* msg); |
12332 | | static const ::solidity::yul::test::yul_fuzzer::TerminatingStmt& terminatestmt(const Statement* msg); |
12333 | | static const ::solidity::yul::test::yul_fuzzer::FunctionCall& functioncall(const Statement* msg); |
12334 | | static const ::solidity::yul::test::yul_fuzzer::BoundedForStmt& boundedforstmt(const Statement* msg); |
12335 | | static const ::solidity::yul::test::yul_fuzzer::FunctionDef& funcdef(const Statement* msg); |
12336 | | static const ::solidity::yul::test::yul_fuzzer::PopStmt& pop(const Statement* msg); |
12337 | | static const ::solidity::yul::test::yul_fuzzer::LeaveStmt& leave(const Statement* msg); |
12338 | | static const ::solidity::yul::test::yul_fuzzer::MultiVarDecl& multidecl(const Statement* msg); |
12339 | | }; |
12340 | | |
12341 | | const ::solidity::yul::test::yul_fuzzer::VarDecl& |
12342 | 0 | Statement::_Internal::decl(const Statement* msg) { |
12343 | 0 | return *msg->_impl_.stmt_oneof_.decl_; |
12344 | 0 | } |
12345 | | const ::solidity::yul::test::yul_fuzzer::AssignmentStatement& |
12346 | 0 | Statement::_Internal::assignment(const Statement* msg) { |
12347 | 0 | return *msg->_impl_.stmt_oneof_.assignment_; |
12348 | 0 | } |
12349 | | const ::solidity::yul::test::yul_fuzzer::IfStmt& |
12350 | 0 | Statement::_Internal::ifstmt(const Statement* msg) { |
12351 | 0 | return *msg->_impl_.stmt_oneof_.ifstmt_; |
12352 | 0 | } |
12353 | | const ::solidity::yul::test::yul_fuzzer::StoreFunc& |
12354 | 0 | Statement::_Internal::storage_func(const Statement* msg) { |
12355 | 0 | return *msg->_impl_.stmt_oneof_.storage_func_; |
12356 | 0 | } |
12357 | | const ::solidity::yul::test::yul_fuzzer::Block& |
12358 | 0 | Statement::_Internal::blockstmt(const Statement* msg) { |
12359 | 0 | return *msg->_impl_.stmt_oneof_.blockstmt_; |
12360 | 0 | } |
12361 | | const ::solidity::yul::test::yul_fuzzer::ForStmt& |
12362 | 0 | Statement::_Internal::forstmt(const Statement* msg) { |
12363 | 0 | return *msg->_impl_.stmt_oneof_.forstmt_; |
12364 | 0 | } |
12365 | | const ::solidity::yul::test::yul_fuzzer::SwitchStmt& |
12366 | 0 | Statement::_Internal::switchstmt(const Statement* msg) { |
12367 | 0 | return *msg->_impl_.stmt_oneof_.switchstmt_; |
12368 | 0 | } |
12369 | | const ::solidity::yul::test::yul_fuzzer::BreakStmt& |
12370 | 0 | Statement::_Internal::breakstmt(const Statement* msg) { |
12371 | 0 | return *msg->_impl_.stmt_oneof_.breakstmt_; |
12372 | 0 | } |
12373 | | const ::solidity::yul::test::yul_fuzzer::ContinueStmt& |
12374 | 0 | Statement::_Internal::contstmt(const Statement* msg) { |
12375 | 0 | return *msg->_impl_.stmt_oneof_.contstmt_; |
12376 | 0 | } |
12377 | | const ::solidity::yul::test::yul_fuzzer::LogFunc& |
12378 | 0 | Statement::_Internal::log_func(const Statement* msg) { |
12379 | 0 | return *msg->_impl_.stmt_oneof_.log_func_; |
12380 | 0 | } |
12381 | | const ::solidity::yul::test::yul_fuzzer::CopyFunc& |
12382 | 0 | Statement::_Internal::copy_func(const Statement* msg) { |
12383 | 0 | return *msg->_impl_.stmt_oneof_.copy_func_; |
12384 | 0 | } |
12385 | | const ::solidity::yul::test::yul_fuzzer::ExtCodeCopy& |
12386 | 0 | Statement::_Internal::extcode_copy(const Statement* msg) { |
12387 | 0 | return *msg->_impl_.stmt_oneof_.extcode_copy_; |
12388 | 0 | } |
12389 | | const ::solidity::yul::test::yul_fuzzer::TerminatingStmt& |
12390 | 0 | Statement::_Internal::terminatestmt(const Statement* msg) { |
12391 | 0 | return *msg->_impl_.stmt_oneof_.terminatestmt_; |
12392 | 0 | } |
12393 | | const ::solidity::yul::test::yul_fuzzer::FunctionCall& |
12394 | 0 | Statement::_Internal::functioncall(const Statement* msg) { |
12395 | 0 | return *msg->_impl_.stmt_oneof_.functioncall_; |
12396 | 0 | } |
12397 | | const ::solidity::yul::test::yul_fuzzer::BoundedForStmt& |
12398 | 0 | Statement::_Internal::boundedforstmt(const Statement* msg) { |
12399 | 0 | return *msg->_impl_.stmt_oneof_.boundedforstmt_; |
12400 | 0 | } |
12401 | | const ::solidity::yul::test::yul_fuzzer::FunctionDef& |
12402 | 0 | Statement::_Internal::funcdef(const Statement* msg) { |
12403 | 0 | return *msg->_impl_.stmt_oneof_.funcdef_; |
12404 | 0 | } |
12405 | | const ::solidity::yul::test::yul_fuzzer::PopStmt& |
12406 | 0 | Statement::_Internal::pop(const Statement* msg) { |
12407 | 0 | return *msg->_impl_.stmt_oneof_.pop_; |
12408 | 0 | } |
12409 | | const ::solidity::yul::test::yul_fuzzer::LeaveStmt& |
12410 | 0 | Statement::_Internal::leave(const Statement* msg) { |
12411 | 0 | return *msg->_impl_.stmt_oneof_.leave_; |
12412 | 0 | } |
12413 | | const ::solidity::yul::test::yul_fuzzer::MultiVarDecl& |
12414 | 0 | Statement::_Internal::multidecl(const Statement* msg) { |
12415 | 0 | return *msg->_impl_.stmt_oneof_.multidecl_; |
12416 | 0 | } |
12417 | 0 | void Statement::set_allocated_decl(::solidity::yul::test::yul_fuzzer::VarDecl* decl) { |
12418 | 0 | ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); |
12419 | 0 | clear_stmt_oneof(); |
12420 | 0 | if (decl) { |
12421 | 0 | ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = |
12422 | 0 | ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(decl); |
12423 | 0 | if (message_arena != submessage_arena) { |
12424 | 0 | decl = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( |
12425 | 0 | message_arena, decl, submessage_arena); |
12426 | 0 | } |
12427 | 0 | set_has_decl(); |
12428 | 0 | _impl_.stmt_oneof_.decl_ = decl; |
12429 | 0 | } |
12430 | | // @@protoc_insertion_point(field_set_allocated:solidity.yul.test.yul_fuzzer.Statement.decl) |
12431 | 0 | } |
12432 | 0 | void Statement::set_allocated_assignment(::solidity::yul::test::yul_fuzzer::AssignmentStatement* assignment) { |
12433 | 0 | ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); |
12434 | 0 | clear_stmt_oneof(); |
12435 | 0 | if (assignment) { |
12436 | 0 | ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = |
12437 | 0 | ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(assignment); |
12438 | 0 | if (message_arena != submessage_arena) { |
12439 | 0 | assignment = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( |
12440 | 0 | message_arena, assignment, submessage_arena); |
12441 | 0 | } |
12442 | 0 | set_has_assignment(); |
12443 | 0 | _impl_.stmt_oneof_.assignment_ = assignment; |
12444 | 0 | } |
12445 | | // @@protoc_insertion_point(field_set_allocated:solidity.yul.test.yul_fuzzer.Statement.assignment) |
12446 | 0 | } |
12447 | 94.1k | void Statement::set_allocated_ifstmt(::solidity::yul::test::yul_fuzzer::IfStmt* ifstmt) { |
12448 | 94.1k | ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); |
12449 | 94.1k | clear_stmt_oneof(); |
12450 | 94.1k | if (ifstmt) { |
12451 | 94.1k | ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = |
12452 | 94.1k | ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(ifstmt); |
12453 | 94.1k | if (message_arena != submessage_arena) { |
12454 | 0 | ifstmt = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( |
12455 | 0 | message_arena, ifstmt, submessage_arena); |
12456 | 0 | } |
12457 | 94.1k | set_has_ifstmt(); |
12458 | 94.1k | _impl_.stmt_oneof_.ifstmt_ = ifstmt; |
12459 | 94.1k | } |
12460 | | // @@protoc_insertion_point(field_set_allocated:solidity.yul.test.yul_fuzzer.Statement.ifstmt) |
12461 | 94.1k | } |
12462 | 50.6k | void Statement::set_allocated_storage_func(::solidity::yul::test::yul_fuzzer::StoreFunc* storage_func) { |
12463 | 50.6k | ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); |
12464 | 50.6k | clear_stmt_oneof(); |
12465 | 50.6k | if (storage_func) { |
12466 | 50.6k | ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = |
12467 | 50.6k | ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(storage_func); |
12468 | 50.6k | if (message_arena != submessage_arena) { |
12469 | 0 | storage_func = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( |
12470 | 0 | message_arena, storage_func, submessage_arena); |
12471 | 0 | } |
12472 | 50.6k | set_has_storage_func(); |
12473 | 50.6k | _impl_.stmt_oneof_.storage_func_ = storage_func; |
12474 | 50.6k | } |
12475 | | // @@protoc_insertion_point(field_set_allocated:solidity.yul.test.yul_fuzzer.Statement.storage_func) |
12476 | 50.6k | } |
12477 | 0 | void Statement::set_allocated_blockstmt(::solidity::yul::test::yul_fuzzer::Block* blockstmt) { |
12478 | 0 | ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); |
12479 | 0 | clear_stmt_oneof(); |
12480 | 0 | if (blockstmt) { |
12481 | 0 | ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = |
12482 | 0 | ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(blockstmt); |
12483 | 0 | if (message_arena != submessage_arena) { |
12484 | 0 | blockstmt = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( |
12485 | 0 | message_arena, blockstmt, submessage_arena); |
12486 | 0 | } |
12487 | 0 | set_has_blockstmt(); |
12488 | 0 | _impl_.stmt_oneof_.blockstmt_ = blockstmt; |
12489 | 0 | } |
12490 | | // @@protoc_insertion_point(field_set_allocated:solidity.yul.test.yul_fuzzer.Statement.blockstmt) |
12491 | 0 | } |
12492 | 94.3k | void Statement::set_allocated_forstmt(::solidity::yul::test::yul_fuzzer::ForStmt* forstmt) { |
12493 | 94.3k | ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); |
12494 | 94.3k | clear_stmt_oneof(); |
12495 | 94.3k | if (forstmt) { |
12496 | 94.3k | ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = |
12497 | 94.3k | ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(forstmt); |
12498 | 94.3k | if (message_arena != submessage_arena) { |
12499 | 0 | forstmt = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( |
12500 | 0 | message_arena, forstmt, submessage_arena); |
12501 | 0 | } |
12502 | 94.3k | set_has_forstmt(); |
12503 | 94.3k | _impl_.stmt_oneof_.forstmt_ = forstmt; |
12504 | 94.3k | } |
12505 | | // @@protoc_insertion_point(field_set_allocated:solidity.yul.test.yul_fuzzer.Statement.forstmt) |
12506 | 94.3k | } |
12507 | 94.1k | void Statement::set_allocated_switchstmt(::solidity::yul::test::yul_fuzzer::SwitchStmt* switchstmt) { |
12508 | 94.1k | ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); |
12509 | 94.1k | clear_stmt_oneof(); |
12510 | 94.1k | if (switchstmt) { |
12511 | 94.1k | ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = |
12512 | 94.1k | ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(switchstmt); |
12513 | 94.1k | if (message_arena != submessage_arena) { |
12514 | 0 | switchstmt = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( |
12515 | 0 | message_arena, switchstmt, submessage_arena); |
12516 | 0 | } |
12517 | 94.1k | set_has_switchstmt(); |
12518 | 94.1k | _impl_.stmt_oneof_.switchstmt_ = switchstmt; |
12519 | 94.1k | } |
12520 | | // @@protoc_insertion_point(field_set_allocated:solidity.yul.test.yul_fuzzer.Statement.switchstmt) |
12521 | 94.1k | } |
12522 | 93.9k | void Statement::set_allocated_breakstmt(::solidity::yul::test::yul_fuzzer::BreakStmt* breakstmt) { |
12523 | 93.9k | ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); |
12524 | 93.9k | clear_stmt_oneof(); |
12525 | 93.9k | if (breakstmt) { |
12526 | 93.9k | ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = |
12527 | 93.9k | ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(breakstmt); |
12528 | 93.9k | if (message_arena != submessage_arena) { |
12529 | 0 | breakstmt = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( |
12530 | 0 | message_arena, breakstmt, submessage_arena); |
12531 | 0 | } |
12532 | 93.9k | set_has_breakstmt(); |
12533 | 93.9k | _impl_.stmt_oneof_.breakstmt_ = breakstmt; |
12534 | 93.9k | } |
12535 | | // @@protoc_insertion_point(field_set_allocated:solidity.yul.test.yul_fuzzer.Statement.breakstmt) |
12536 | 93.9k | } |
12537 | 94.2k | void Statement::set_allocated_contstmt(::solidity::yul::test::yul_fuzzer::ContinueStmt* contstmt) { |
12538 | 94.2k | ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); |
12539 | 94.2k | clear_stmt_oneof(); |
12540 | 94.2k | if (contstmt) { |
12541 | 94.2k | ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = |
12542 | 94.2k | ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(contstmt); |
12543 | 94.2k | if (message_arena != submessage_arena) { |
12544 | 0 | contstmt = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( |
12545 | 0 | message_arena, contstmt, submessage_arena); |
12546 | 0 | } |
12547 | 94.2k | set_has_contstmt(); |
12548 | 94.2k | _impl_.stmt_oneof_.contstmt_ = contstmt; |
12549 | 94.2k | } |
12550 | | // @@protoc_insertion_point(field_set_allocated:solidity.yul.test.yul_fuzzer.Statement.contstmt) |
12551 | 94.2k | } |
12552 | 0 | void Statement::set_allocated_log_func(::solidity::yul::test::yul_fuzzer::LogFunc* log_func) { |
12553 | 0 | ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); |
12554 | 0 | clear_stmt_oneof(); |
12555 | 0 | if (log_func) { |
12556 | 0 | ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = |
12557 | 0 | ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(log_func); |
12558 | 0 | if (message_arena != submessage_arena) { |
12559 | 0 | log_func = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( |
12560 | 0 | message_arena, log_func, submessage_arena); |
12561 | 0 | } |
12562 | 0 | set_has_log_func(); |
12563 | 0 | _impl_.stmt_oneof_.log_func_ = log_func; |
12564 | 0 | } |
12565 | | // @@protoc_insertion_point(field_set_allocated:solidity.yul.test.yul_fuzzer.Statement.log_func) |
12566 | 0 | } |
12567 | 0 | void Statement::set_allocated_copy_func(::solidity::yul::test::yul_fuzzer::CopyFunc* copy_func) { |
12568 | 0 | ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); |
12569 | 0 | clear_stmt_oneof(); |
12570 | 0 | if (copy_func) { |
12571 | 0 | ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = |
12572 | 0 | ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(copy_func); |
12573 | 0 | if (message_arena != submessage_arena) { |
12574 | 0 | copy_func = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( |
12575 | 0 | message_arena, copy_func, submessage_arena); |
12576 | 0 | } |
12577 | 0 | set_has_copy_func(); |
12578 | 0 | _impl_.stmt_oneof_.copy_func_ = copy_func; |
12579 | 0 | } |
12580 | | // @@protoc_insertion_point(field_set_allocated:solidity.yul.test.yul_fuzzer.Statement.copy_func) |
12581 | 0 | } |
12582 | 0 | void Statement::set_allocated_extcode_copy(::solidity::yul::test::yul_fuzzer::ExtCodeCopy* extcode_copy) { |
12583 | 0 | ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); |
12584 | 0 | clear_stmt_oneof(); |
12585 | 0 | if (extcode_copy) { |
12586 | 0 | ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = |
12587 | 0 | ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(extcode_copy); |
12588 | 0 | if (message_arena != submessage_arena) { |
12589 | 0 | extcode_copy = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( |
12590 | 0 | message_arena, extcode_copy, submessage_arena); |
12591 | 0 | } |
12592 | 0 | set_has_extcode_copy(); |
12593 | 0 | _impl_.stmt_oneof_.extcode_copy_ = extcode_copy; |
12594 | 0 | } |
12595 | | // @@protoc_insertion_point(field_set_allocated:solidity.yul.test.yul_fuzzer.Statement.extcode_copy) |
12596 | 0 | } |
12597 | 94.3k | void Statement::set_allocated_terminatestmt(::solidity::yul::test::yul_fuzzer::TerminatingStmt* terminatestmt) { |
12598 | 94.3k | ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); |
12599 | 94.3k | clear_stmt_oneof(); |
12600 | 94.3k | if (terminatestmt) { |
12601 | 94.3k | ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = |
12602 | 94.3k | ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(terminatestmt); |
12603 | 94.3k | if (message_arena != submessage_arena) { |
12604 | 0 | terminatestmt = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( |
12605 | 0 | message_arena, terminatestmt, submessage_arena); |
12606 | 0 | } |
12607 | 94.3k | set_has_terminatestmt(); |
12608 | 94.3k | _impl_.stmt_oneof_.terminatestmt_ = terminatestmt; |
12609 | 94.3k | } |
12610 | | // @@protoc_insertion_point(field_set_allocated:solidity.yul.test.yul_fuzzer.Statement.terminatestmt) |
12611 | 94.3k | } |
12612 | 95.8k | void Statement::set_allocated_functioncall(::solidity::yul::test::yul_fuzzer::FunctionCall* functioncall) { |
12613 | 95.8k | ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); |
12614 | 95.8k | clear_stmt_oneof(); |
12615 | 95.8k | if (functioncall) { |
12616 | 95.8k | ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = |
12617 | 95.8k | ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(functioncall); |
12618 | 95.8k | if (message_arena != submessage_arena) { |
12619 | 0 | functioncall = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( |
12620 | 0 | message_arena, functioncall, submessage_arena); |
12621 | 0 | } |
12622 | 95.8k | set_has_functioncall(); |
12623 | 95.8k | _impl_.stmt_oneof_.functioncall_ = functioncall; |
12624 | 95.8k | } |
12625 | | // @@protoc_insertion_point(field_set_allocated:solidity.yul.test.yul_fuzzer.Statement.functioncall) |
12626 | 95.8k | } |
12627 | 94.4k | void Statement::set_allocated_boundedforstmt(::solidity::yul::test::yul_fuzzer::BoundedForStmt* boundedforstmt) { |
12628 | 94.4k | ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); |
12629 | 94.4k | clear_stmt_oneof(); |
12630 | 94.4k | if (boundedforstmt) { |
12631 | 94.4k | ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = |
12632 | 94.4k | ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(boundedforstmt); |
12633 | 94.4k | if (message_arena != submessage_arena) { |
12634 | 0 | boundedforstmt = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( |
12635 | 0 | message_arena, boundedforstmt, submessage_arena); |
12636 | 0 | } |
12637 | 94.4k | set_has_boundedforstmt(); |
12638 | 94.4k | _impl_.stmt_oneof_.boundedforstmt_ = boundedforstmt; |
12639 | 94.4k | } |
12640 | | // @@protoc_insertion_point(field_set_allocated:solidity.yul.test.yul_fuzzer.Statement.boundedforstmt) |
12641 | 94.4k | } |
12642 | 0 | void Statement::set_allocated_funcdef(::solidity::yul::test::yul_fuzzer::FunctionDef* funcdef) { |
12643 | 0 | ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); |
12644 | 0 | clear_stmt_oneof(); |
12645 | 0 | if (funcdef) { |
12646 | 0 | ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = |
12647 | 0 | ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(funcdef); |
12648 | 0 | if (message_arena != submessage_arena) { |
12649 | 0 | funcdef = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( |
12650 | 0 | message_arena, funcdef, submessage_arena); |
12651 | 0 | } |
12652 | 0 | set_has_funcdef(); |
12653 | 0 | _impl_.stmt_oneof_.funcdef_ = funcdef; |
12654 | 0 | } |
12655 | | // @@protoc_insertion_point(field_set_allocated:solidity.yul.test.yul_fuzzer.Statement.funcdef) |
12656 | 0 | } |
12657 | 0 | void Statement::set_allocated_pop(::solidity::yul::test::yul_fuzzer::PopStmt* pop) { |
12658 | 0 | ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); |
12659 | 0 | clear_stmt_oneof(); |
12660 | 0 | if (pop) { |
12661 | 0 | ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = |
12662 | 0 | ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(pop); |
12663 | 0 | if (message_arena != submessage_arena) { |
12664 | 0 | pop = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( |
12665 | 0 | message_arena, pop, submessage_arena); |
12666 | 0 | } |
12667 | 0 | set_has_pop(); |
12668 | 0 | _impl_.stmt_oneof_.pop_ = pop; |
12669 | 0 | } |
12670 | | // @@protoc_insertion_point(field_set_allocated:solidity.yul.test.yul_fuzzer.Statement.pop) |
12671 | 0 | } |
12672 | 94.7k | void Statement::set_allocated_leave(::solidity::yul::test::yul_fuzzer::LeaveStmt* leave) { |
12673 | 94.7k | ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); |
12674 | 94.7k | clear_stmt_oneof(); |
12675 | 94.7k | if (leave) { |
12676 | 94.7k | ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = |
12677 | 94.7k | ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(leave); |
12678 | 94.7k | if (message_arena != submessage_arena) { |
12679 | 0 | leave = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( |
12680 | 0 | message_arena, leave, submessage_arena); |
12681 | 0 | } |
12682 | 94.7k | set_has_leave(); |
12683 | 94.7k | _impl_.stmt_oneof_.leave_ = leave; |
12684 | 94.7k | } |
12685 | | // @@protoc_insertion_point(field_set_allocated:solidity.yul.test.yul_fuzzer.Statement.leave) |
12686 | 94.7k | } |
12687 | 0 | void Statement::set_allocated_multidecl(::solidity::yul::test::yul_fuzzer::MultiVarDecl* multidecl) { |
12688 | 0 | ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); |
12689 | 0 | clear_stmt_oneof(); |
12690 | 0 | if (multidecl) { |
12691 | 0 | ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = |
12692 | 0 | ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(multidecl); |
12693 | 0 | if (message_arena != submessage_arena) { |
12694 | 0 | multidecl = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( |
12695 | 0 | message_arena, multidecl, submessage_arena); |
12696 | 0 | } |
12697 | 0 | set_has_multidecl(); |
12698 | 0 | _impl_.stmt_oneof_.multidecl_ = multidecl; |
12699 | 0 | } |
12700 | | // @@protoc_insertion_point(field_set_allocated:solidity.yul.test.yul_fuzzer.Statement.multidecl) |
12701 | 0 | } |
12702 | | Statement::Statement(::PROTOBUF_NAMESPACE_ID::Arena* arena, |
12703 | | bool is_message_owned) |
12704 | 3.81M | : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { |
12705 | 3.81M | SharedCtor(arena, is_message_owned); |
12706 | | // @@protoc_insertion_point(arena_constructor:solidity.yul.test.yul_fuzzer.Statement) |
12707 | 3.81M | } |
12708 | | Statement::Statement(const Statement& from) |
12709 | 0 | : ::PROTOBUF_NAMESPACE_ID::Message() { |
12710 | 0 | Statement* const _this = this; (void)_this; |
12711 | 0 | new (&_impl_) Impl_{ |
12712 | 0 | decltype(_impl_.stmt_oneof_){} |
12713 | 0 | , /*decltype(_impl_._cached_size_)*/{} |
12714 | 0 | , /*decltype(_impl_._oneof_case_)*/{}}; |
12715 | |
|
12716 | 0 | _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); |
12717 | 0 | clear_has_stmt_oneof(); |
12718 | 0 | switch (from.stmt_oneof_case()) { |
12719 | 0 | case kDecl: { |
12720 | 0 | _this->_internal_mutable_decl()->::solidity::yul::test::yul_fuzzer::VarDecl::MergeFrom( |
12721 | 0 | from._internal_decl()); |
12722 | 0 | break; |
12723 | 0 | } |
12724 | 0 | case kAssignment: { |
12725 | 0 | _this->_internal_mutable_assignment()->::solidity::yul::test::yul_fuzzer::AssignmentStatement::MergeFrom( |
12726 | 0 | from._internal_assignment()); |
12727 | 0 | break; |
12728 | 0 | } |
12729 | 0 | case kIfstmt: { |
12730 | 0 | _this->_internal_mutable_ifstmt()->::solidity::yul::test::yul_fuzzer::IfStmt::MergeFrom( |
12731 | 0 | from._internal_ifstmt()); |
12732 | 0 | break; |
12733 | 0 | } |
12734 | 0 | case kStorageFunc: { |
12735 | 0 | _this->_internal_mutable_storage_func()->::solidity::yul::test::yul_fuzzer::StoreFunc::MergeFrom( |
12736 | 0 | from._internal_storage_func()); |
12737 | 0 | break; |
12738 | 0 | } |
12739 | 0 | case kBlockstmt: { |
12740 | 0 | _this->_internal_mutable_blockstmt()->::solidity::yul::test::yul_fuzzer::Block::MergeFrom( |
12741 | 0 | from._internal_blockstmt()); |
12742 | 0 | break; |
12743 | 0 | } |
12744 | 0 | case kForstmt: { |
12745 | 0 | _this->_internal_mutable_forstmt()->::solidity::yul::test::yul_fuzzer::ForStmt::MergeFrom( |
12746 | 0 | from._internal_forstmt()); |
12747 | 0 | break; |
12748 | 0 | } |
12749 | 0 | case kSwitchstmt: { |
12750 | 0 | _this->_internal_mutable_switchstmt()->::solidity::yul::test::yul_fuzzer::SwitchStmt::MergeFrom( |
12751 | 0 | from._internal_switchstmt()); |
12752 | 0 | break; |
12753 | 0 | } |
12754 | 0 | case kBreakstmt: { |
12755 | 0 | _this->_internal_mutable_breakstmt()->::solidity::yul::test::yul_fuzzer::BreakStmt::MergeFrom( |
12756 | 0 | from._internal_breakstmt()); |
12757 | 0 | break; |
12758 | 0 | } |
12759 | 0 | case kContstmt: { |
12760 | 0 | _this->_internal_mutable_contstmt()->::solidity::yul::test::yul_fuzzer::ContinueStmt::MergeFrom( |
12761 | 0 | from._internal_contstmt()); |
12762 | 0 | break; |
12763 | 0 | } |
12764 | 0 | case kLogFunc: { |
12765 | 0 | _this->_internal_mutable_log_func()->::solidity::yul::test::yul_fuzzer::LogFunc::MergeFrom( |
12766 | 0 | from._internal_log_func()); |
12767 | 0 | break; |
12768 | 0 | } |
12769 | 0 | case kCopyFunc: { |
12770 | 0 | _this->_internal_mutable_copy_func()->::solidity::yul::test::yul_fuzzer::CopyFunc::MergeFrom( |
12771 | 0 | from._internal_copy_func()); |
12772 | 0 | break; |
12773 | 0 | } |
12774 | 0 | case kExtcodeCopy: { |
12775 | 0 | _this->_internal_mutable_extcode_copy()->::solidity::yul::test::yul_fuzzer::ExtCodeCopy::MergeFrom( |
12776 | 0 | from._internal_extcode_copy()); |
12777 | 0 | break; |
12778 | 0 | } |
12779 | 0 | case kTerminatestmt: { |
12780 | 0 | _this->_internal_mutable_terminatestmt()->::solidity::yul::test::yul_fuzzer::TerminatingStmt::MergeFrom( |
12781 | 0 | from._internal_terminatestmt()); |
12782 | 0 | break; |
12783 | 0 | } |
12784 | 0 | case kFunctioncall: { |
12785 | 0 | _this->_internal_mutable_functioncall()->::solidity::yul::test::yul_fuzzer::FunctionCall::MergeFrom( |
12786 | 0 | from._internal_functioncall()); |
12787 | 0 | break; |
12788 | 0 | } |
12789 | 0 | case kBoundedforstmt: { |
12790 | 0 | _this->_internal_mutable_boundedforstmt()->::solidity::yul::test::yul_fuzzer::BoundedForStmt::MergeFrom( |
12791 | 0 | from._internal_boundedforstmt()); |
12792 | 0 | break; |
12793 | 0 | } |
12794 | 0 | case kFuncdef: { |
12795 | 0 | _this->_internal_mutable_funcdef()->::solidity::yul::test::yul_fuzzer::FunctionDef::MergeFrom( |
12796 | 0 | from._internal_funcdef()); |
12797 | 0 | break; |
12798 | 0 | } |
12799 | 0 | case kPop: { |
12800 | 0 | _this->_internal_mutable_pop()->::solidity::yul::test::yul_fuzzer::PopStmt::MergeFrom( |
12801 | 0 | from._internal_pop()); |
12802 | 0 | break; |
12803 | 0 | } |
12804 | 0 | case kLeave: { |
12805 | 0 | _this->_internal_mutable_leave()->::solidity::yul::test::yul_fuzzer::LeaveStmt::MergeFrom( |
12806 | 0 | from._internal_leave()); |
12807 | 0 | break; |
12808 | 0 | } |
12809 | 0 | case kMultidecl: { |
12810 | 0 | _this->_internal_mutable_multidecl()->::solidity::yul::test::yul_fuzzer::MultiVarDecl::MergeFrom( |
12811 | 0 | from._internal_multidecl()); |
12812 | 0 | break; |
12813 | 0 | } |
12814 | 0 | case STMT_ONEOF_NOT_SET: { |
12815 | 0 | break; |
12816 | 0 | } |
12817 | 0 | } |
12818 | | // @@protoc_insertion_point(copy_constructor:solidity.yul.test.yul_fuzzer.Statement) |
12819 | 0 | } |
12820 | | |
12821 | | inline void Statement::SharedCtor( |
12822 | 3.81M | ::_pb::Arena* arena, bool is_message_owned) { |
12823 | 3.81M | (void)arena; |
12824 | 3.81M | (void)is_message_owned; |
12825 | 3.81M | new (&_impl_) Impl_{ |
12826 | 3.81M | decltype(_impl_.stmt_oneof_){} |
12827 | 3.81M | , /*decltype(_impl_._cached_size_)*/{} |
12828 | 3.81M | , /*decltype(_impl_._oneof_case_)*/{} |
12829 | 3.81M | }; |
12830 | 3.81M | clear_has_stmt_oneof(); |
12831 | 3.81M | } |
12832 | | |
12833 | 3.81M | Statement::~Statement() { |
12834 | | // @@protoc_insertion_point(destructor:solidity.yul.test.yul_fuzzer.Statement) |
12835 | 3.81M | if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { |
12836 | 0 | (void)arena; |
12837 | 0 | return; |
12838 | 0 | } |
12839 | 3.81M | SharedDtor(); |
12840 | 3.81M | } |
12841 | | |
12842 | 3.81M | inline void Statement::SharedDtor() { |
12843 | 3.81M | GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); |
12844 | 3.81M | if (has_stmt_oneof()) { |
12845 | 3.54M | clear_stmt_oneof(); |
12846 | 3.54M | } |
12847 | 3.81M | } |
12848 | | |
12849 | 0 | void Statement::SetCachedSize(int size) const { |
12850 | 0 | _impl_._cached_size_.Set(size); |
12851 | 0 | } |
12852 | | |
12853 | 4.44M | void Statement::clear_stmt_oneof() { |
12854 | | // @@protoc_insertion_point(one_of_clear_start:solidity.yul.test.yul_fuzzer.Statement) |
12855 | 4.44M | switch (stmt_oneof_case()) { |
12856 | 20.9k | case kDecl: { |
12857 | 20.9k | if (GetArenaForAllocation() == nullptr) { |
12858 | 20.9k | delete _impl_.stmt_oneof_.decl_; |
12859 | 20.9k | } |
12860 | 20.9k | break; |
12861 | 0 | } |
12862 | 47.5k | case kAssignment: { |
12863 | 47.5k | if (GetArenaForAllocation() == nullptr) { |
12864 | 47.5k | delete _impl_.stmt_oneof_.assignment_; |
12865 | 47.5k | } |
12866 | 47.5k | break; |
12867 | 0 | } |
12868 | 307k | case kIfstmt: { |
12869 | 307k | if (GetArenaForAllocation() == nullptr) { |
12870 | 307k | delete _impl_.stmt_oneof_.ifstmt_; |
12871 | 307k | } |
12872 | 307k | break; |
12873 | 0 | } |
12874 | 224k | case kStorageFunc: { |
12875 | 224k | if (GetArenaForAllocation() == nullptr) { |
12876 | 224k | delete _impl_.stmt_oneof_.storage_func_; |
12877 | 224k | } |
12878 | 224k | break; |
12879 | 0 | } |
12880 | 18.9k | case kBlockstmt: { |
12881 | 18.9k | if (GetArenaForAllocation() == nullptr) { |
12882 | 18.9k | delete _impl_.stmt_oneof_.blockstmt_; |
12883 | 18.9k | } |
12884 | 18.9k | break; |
12885 | 0 | } |
12886 | 295k | case kForstmt: { |
12887 | 295k | if (GetArenaForAllocation() == nullptr) { |
12888 | 295k | delete _impl_.stmt_oneof_.forstmt_; |
12889 | 295k | } |
12890 | 295k | break; |
12891 | 0 | } |
12892 | 334k | case kSwitchstmt: { |
12893 | 334k | if (GetArenaForAllocation() == nullptr) { |
12894 | 334k | delete _impl_.stmt_oneof_.switchstmt_; |
12895 | 334k | } |
12896 | 334k | break; |
12897 | 0 | } |
12898 | 324k | case kBreakstmt: { |
12899 | 324k | if (GetArenaForAllocation() == nullptr) { |
12900 | 324k | delete _impl_.stmt_oneof_.breakstmt_; |
12901 | 324k | } |
12902 | 324k | break; |
12903 | 0 | } |
12904 | 316k | case kContstmt: { |
12905 | 316k | if (GetArenaForAllocation() == nullptr) { |
12906 | 316k | delete _impl_.stmt_oneof_.contstmt_; |
12907 | 316k | } |
12908 | 316k | break; |
12909 | 0 | } |
12910 | 18.5k | case kLogFunc: { |
12911 | 18.5k | if (GetArenaForAllocation() == nullptr) { |
12912 | 18.5k | delete _impl_.stmt_oneof_.log_func_; |
12913 | 18.5k | } |
12914 | 18.5k | break; |
12915 | 0 | } |
12916 | 22.5k | case kCopyFunc: { |
12917 | 22.5k | if (GetArenaForAllocation() == nullptr) { |
12918 | 22.5k | delete _impl_.stmt_oneof_.copy_func_; |
12919 | 22.5k | } |
12920 | 22.5k | break; |
12921 | 0 | } |
12922 | 28.6k | case kExtcodeCopy: { |
12923 | 28.6k | if (GetArenaForAllocation() == nullptr) { |
12924 | 28.6k | delete _impl_.stmt_oneof_.extcode_copy_; |
12925 | 28.6k | } |
12926 | 28.6k | break; |
12927 | 0 | } |
12928 | 322k | case kTerminatestmt: { |
12929 | 322k | if (GetArenaForAllocation() == nullptr) { |
12930 | 322k | delete _impl_.stmt_oneof_.terminatestmt_; |
12931 | 322k | } |
12932 | 322k | break; |
12933 | 0 | } |
12934 | 386k | case kFunctioncall: { |
12935 | 386k | if (GetArenaForAllocation() == nullptr) { |
12936 | 386k | delete _impl_.stmt_oneof_.functioncall_; |
12937 | 386k | } |
12938 | 386k | break; |
12939 | 0 | } |
12940 | 315k | case kBoundedforstmt: { |
12941 | 315k | if (GetArenaForAllocation() == nullptr) { |
12942 | 315k | delete _impl_.stmt_oneof_.boundedforstmt_; |
12943 | 315k | } |
12944 | 315k | break; |
12945 | 0 | } |
12946 | 188k | case kFuncdef: { |
12947 | 188k | if (GetArenaForAllocation() == nullptr) { |
12948 | 188k | delete _impl_.stmt_oneof_.funcdef_; |
12949 | 188k | } |
12950 | 188k | break; |
12951 | 0 | } |
12952 | 28.0k | case kPop: { |
12953 | 28.0k | if (GetArenaForAllocation() == nullptr) { |
12954 | 28.0k | delete _impl_.stmt_oneof_.pop_; |
12955 | 28.0k | } |
12956 | 28.0k | break; |
12957 | 0 | } |
12958 | 319k | case kLeave: { |
12959 | 319k | if (GetArenaForAllocation() == nullptr) { |
12960 | 319k | delete _impl_.stmt_oneof_.leave_; |
12961 | 319k | } |
12962 | 319k | break; |
12963 | 0 | } |
12964 | 26.4k | case kMultidecl: { |
12965 | 26.4k | if (GetArenaForAllocation() == nullptr) { |
12966 | 26.4k | delete _impl_.stmt_oneof_.multidecl_; |
12967 | 26.4k | } |
12968 | 26.4k | break; |
12969 | 0 | } |
12970 | 900k | case STMT_ONEOF_NOT_SET: { |
12971 | 900k | break; |
12972 | 0 | } |
12973 | 4.44M | } |
12974 | 4.44M | _impl_._oneof_case_[0] = STMT_ONEOF_NOT_SET; |
12975 | 4.44M | } |
12976 | | |
12977 | | |
12978 | 0 | void Statement::Clear() { |
12979 | | // @@protoc_insertion_point(message_clear_start:solidity.yul.test.yul_fuzzer.Statement) |
12980 | 0 | uint32_t cached_has_bits = 0; |
12981 | | // Prevent compiler warnings about cached_has_bits being unused |
12982 | 0 | (void) cached_has_bits; |
12983 | |
|
12984 | 0 | clear_stmt_oneof(); |
12985 | 0 | _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); |
12986 | 0 | } |
12987 | | |
12988 | 0 | const char* Statement::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { |
12989 | 0 | #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure |
12990 | 0 | while (!ctx->Done(&ptr)) { |
12991 | 0 | uint32_t tag; |
12992 | 0 | ptr = ::_pbi::ReadTag(ptr, &tag); |
12993 | 0 | switch (tag >> 3) { |
12994 | | // .solidity.yul.test.yul_fuzzer.VarDecl decl = 1; |
12995 | 0 | case 1: |
12996 | 0 | if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 10)) { |
12997 | 0 | ptr = ctx->ParseMessage(_internal_mutable_decl(), ptr); |
12998 | 0 | CHK_(ptr); |
12999 | 0 | } else |
13000 | 0 | goto handle_unusual; |
13001 | 0 | continue; |
13002 | | // .solidity.yul.test.yul_fuzzer.AssignmentStatement assignment = 2; |
13003 | 0 | case 2: |
13004 | 0 | if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 18)) { |
13005 | 0 | ptr = ctx->ParseMessage(_internal_mutable_assignment(), ptr); |
13006 | 0 | CHK_(ptr); |
13007 | 0 | } else |
13008 | 0 | goto handle_unusual; |
13009 | 0 | continue; |
13010 | | // .solidity.yul.test.yul_fuzzer.IfStmt ifstmt = 3; |
13011 | 0 | case 3: |
13012 | 0 | if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 26)) { |
13013 | 0 | ptr = ctx->ParseMessage(_internal_mutable_ifstmt(), ptr); |
13014 | 0 | CHK_(ptr); |
13015 | 0 | } else |
13016 | 0 | goto handle_unusual; |
13017 | 0 | continue; |
13018 | | // .solidity.yul.test.yul_fuzzer.StoreFunc storage_func = 4; |
13019 | 0 | case 4: |
13020 | 0 | if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 34)) { |
13021 | 0 | ptr = ctx->ParseMessage(_internal_mutable_storage_func(), ptr); |
13022 | 0 | CHK_(ptr); |
13023 | 0 | } else |
13024 | 0 | goto handle_unusual; |
13025 | 0 | continue; |
13026 | | // .solidity.yul.test.yul_fuzzer.Block blockstmt = 5; |
13027 | 0 | case 5: |
13028 | 0 | if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 42)) { |
13029 | 0 | ptr = ctx->ParseMessage(_internal_mutable_blockstmt(), ptr); |
13030 | 0 | CHK_(ptr); |
13031 | 0 | } else |
13032 | 0 | goto handle_unusual; |
13033 | 0 | continue; |
13034 | | // .solidity.yul.test.yul_fuzzer.ForStmt forstmt = 6; |
13035 | 0 | case 6: |
13036 | 0 | if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 50)) { |
13037 | 0 | ptr = ctx->ParseMessage(_internal_mutable_forstmt(), ptr); |
13038 | 0 | CHK_(ptr); |
13039 | 0 | } else |
13040 | 0 | goto handle_unusual; |
13041 | 0 | continue; |
13042 | | // .solidity.yul.test.yul_fuzzer.SwitchStmt switchstmt = 7; |
13043 | 0 | case 7: |
13044 | 0 | if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 58)) { |
13045 | 0 | ptr = ctx->ParseMessage(_internal_mutable_switchstmt(), ptr); |
13046 | 0 | CHK_(ptr); |
13047 | 0 | } else |
13048 | 0 | goto handle_unusual; |
13049 | 0 | continue; |
13050 | | // .solidity.yul.test.yul_fuzzer.BreakStmt breakstmt = 8; |
13051 | 0 | case 8: |
13052 | 0 | if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 66)) { |
13053 | 0 | ptr = ctx->ParseMessage(_internal_mutable_breakstmt(), ptr); |
13054 | 0 | CHK_(ptr); |
13055 | 0 | } else |
13056 | 0 | goto handle_unusual; |
13057 | 0 | continue; |
13058 | | // .solidity.yul.test.yul_fuzzer.ContinueStmt contstmt = 9; |
13059 | 0 | case 9: |
13060 | 0 | if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 74)) { |
13061 | 0 | ptr = ctx->ParseMessage(_internal_mutable_contstmt(), ptr); |
13062 | 0 | CHK_(ptr); |
13063 | 0 | } else |
13064 | 0 | goto handle_unusual; |
13065 | 0 | continue; |
13066 | | // .solidity.yul.test.yul_fuzzer.LogFunc log_func = 10; |
13067 | 0 | case 10: |
13068 | 0 | if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 82)) { |
13069 | 0 | ptr = ctx->ParseMessage(_internal_mutable_log_func(), ptr); |
13070 | 0 | CHK_(ptr); |
13071 | 0 | } else |
13072 | 0 | goto handle_unusual; |
13073 | 0 | continue; |
13074 | | // .solidity.yul.test.yul_fuzzer.CopyFunc copy_func = 11; |
13075 | 0 | case 11: |
13076 | 0 | if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 90)) { |
13077 | 0 | ptr = ctx->ParseMessage(_internal_mutable_copy_func(), ptr); |
13078 | 0 | CHK_(ptr); |
13079 | 0 | } else |
13080 | 0 | goto handle_unusual; |
13081 | 0 | continue; |
13082 | | // .solidity.yul.test.yul_fuzzer.ExtCodeCopy extcode_copy = 12; |
13083 | 0 | case 12: |
13084 | 0 | if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 98)) { |
13085 | 0 | ptr = ctx->ParseMessage(_internal_mutable_extcode_copy(), ptr); |
13086 | 0 | CHK_(ptr); |
13087 | 0 | } else |
13088 | 0 | goto handle_unusual; |
13089 | 0 | continue; |
13090 | | // .solidity.yul.test.yul_fuzzer.TerminatingStmt terminatestmt = 13; |
13091 | 0 | case 13: |
13092 | 0 | if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 106)) { |
13093 | 0 | ptr = ctx->ParseMessage(_internal_mutable_terminatestmt(), ptr); |
13094 | 0 | CHK_(ptr); |
13095 | 0 | } else |
13096 | 0 | goto handle_unusual; |
13097 | 0 | continue; |
13098 | | // .solidity.yul.test.yul_fuzzer.FunctionCall functioncall = 14; |
13099 | 0 | case 14: |
13100 | 0 | if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 114)) { |
13101 | 0 | ptr = ctx->ParseMessage(_internal_mutable_functioncall(), ptr); |
13102 | 0 | CHK_(ptr); |
13103 | 0 | } else |
13104 | 0 | goto handle_unusual; |
13105 | 0 | continue; |
13106 | | // .solidity.yul.test.yul_fuzzer.BoundedForStmt boundedforstmt = 15; |
13107 | 0 | case 15: |
13108 | 0 | if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 122)) { |
13109 | 0 | ptr = ctx->ParseMessage(_internal_mutable_boundedforstmt(), ptr); |
13110 | 0 | CHK_(ptr); |
13111 | 0 | } else |
13112 | 0 | goto handle_unusual; |
13113 | 0 | continue; |
13114 | | // .solidity.yul.test.yul_fuzzer.FunctionDef funcdef = 16; |
13115 | 0 | case 16: |
13116 | 0 | if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 130)) { |
13117 | 0 | ptr = ctx->ParseMessage(_internal_mutable_funcdef(), ptr); |
13118 | 0 | CHK_(ptr); |
13119 | 0 | } else |
13120 | 0 | goto handle_unusual; |
13121 | 0 | continue; |
13122 | | // .solidity.yul.test.yul_fuzzer.PopStmt pop = 17; |
13123 | 0 | case 17: |
13124 | 0 | if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 138)) { |
13125 | 0 | ptr = ctx->ParseMessage(_internal_mutable_pop(), ptr); |
13126 | 0 | CHK_(ptr); |
13127 | 0 | } else |
13128 | 0 | goto handle_unusual; |
13129 | 0 | continue; |
13130 | | // .solidity.yul.test.yul_fuzzer.LeaveStmt leave = 18; |
13131 | 0 | case 18: |
13132 | 0 | if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 146)) { |
13133 | 0 | ptr = ctx->ParseMessage(_internal_mutable_leave(), ptr); |
13134 | 0 | CHK_(ptr); |
13135 | 0 | } else |
13136 | 0 | goto handle_unusual; |
13137 | 0 | continue; |
13138 | | // .solidity.yul.test.yul_fuzzer.MultiVarDecl multidecl = 19; |
13139 | 0 | case 19: |
13140 | 0 | if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 154)) { |
13141 | 0 | ptr = ctx->ParseMessage(_internal_mutable_multidecl(), ptr); |
13142 | 0 | CHK_(ptr); |
13143 | 0 | } else |
13144 | 0 | goto handle_unusual; |
13145 | 0 | continue; |
13146 | 0 | default: |
13147 | 0 | goto handle_unusual; |
13148 | 0 | } // switch |
13149 | 0 | handle_unusual: |
13150 | 0 | if ((tag == 0) || ((tag & 7) == 4)) { |
13151 | 0 | CHK_(ptr); |
13152 | 0 | ctx->SetLastTag(tag); |
13153 | 0 | goto message_done; |
13154 | 0 | } |
13155 | 0 | ptr = UnknownFieldParse( |
13156 | 0 | tag, |
13157 | 0 | _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), |
13158 | 0 | ptr, ctx); |
13159 | 0 | CHK_(ptr != nullptr); |
13160 | 0 | } // while |
13161 | 0 | message_done: |
13162 | 0 | return ptr; |
13163 | 0 | failure: |
13164 | 0 | ptr = nullptr; |
13165 | 0 | goto message_done; |
13166 | 0 | #undef CHK_ |
13167 | 0 | } |
13168 | | |
13169 | | uint8_t* Statement::_InternalSerialize( |
13170 | 0 | uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { |
13171 | | // @@protoc_insertion_point(serialize_to_array_start:solidity.yul.test.yul_fuzzer.Statement) |
13172 | 0 | uint32_t cached_has_bits = 0; |
13173 | 0 | (void) cached_has_bits; |
13174 | |
|
13175 | 0 | switch (stmt_oneof_case()) { |
13176 | 0 | case kDecl: { |
13177 | 0 | target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: |
13178 | 0 | InternalWriteMessage(1, _Internal::decl(this), |
13179 | 0 | _Internal::decl(this).GetCachedSize(), target, stream); |
13180 | 0 | break; |
13181 | 0 | } |
13182 | 0 | case kAssignment: { |
13183 | 0 | target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: |
13184 | 0 | InternalWriteMessage(2, _Internal::assignment(this), |
13185 | 0 | _Internal::assignment(this).GetCachedSize(), target, stream); |
13186 | 0 | break; |
13187 | 0 | } |
13188 | 0 | case kIfstmt: { |
13189 | 0 | target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: |
13190 | 0 | InternalWriteMessage(3, _Internal::ifstmt(this), |
13191 | 0 | _Internal::ifstmt(this).GetCachedSize(), target, stream); |
13192 | 0 | break; |
13193 | 0 | } |
13194 | 0 | case kStorageFunc: { |
13195 | 0 | target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: |
13196 | 0 | InternalWriteMessage(4, _Internal::storage_func(this), |
13197 | 0 | _Internal::storage_func(this).GetCachedSize(), target, stream); |
13198 | 0 | break; |
13199 | 0 | } |
13200 | 0 | case kBlockstmt: { |
13201 | 0 | target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: |
13202 | 0 | InternalWriteMessage(5, _Internal::blockstmt(this), |
13203 | 0 | _Internal::blockstmt(this).GetCachedSize(), target, stream); |
13204 | 0 | break; |
13205 | 0 | } |
13206 | 0 | case kForstmt: { |
13207 | 0 | target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: |
13208 | 0 | InternalWriteMessage(6, _Internal::forstmt(this), |
13209 | 0 | _Internal::forstmt(this).GetCachedSize(), target, stream); |
13210 | 0 | break; |
13211 | 0 | } |
13212 | 0 | case kSwitchstmt: { |
13213 | 0 | target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: |
13214 | 0 | InternalWriteMessage(7, _Internal::switchstmt(this), |
13215 | 0 | _Internal::switchstmt(this).GetCachedSize(), target, stream); |
13216 | 0 | break; |
13217 | 0 | } |
13218 | 0 | case kBreakstmt: { |
13219 | 0 | target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: |
13220 | 0 | InternalWriteMessage(8, _Internal::breakstmt(this), |
13221 | 0 | _Internal::breakstmt(this).GetCachedSize(), target, stream); |
13222 | 0 | break; |
13223 | 0 | } |
13224 | 0 | case kContstmt: { |
13225 | 0 | target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: |
13226 | 0 | InternalWriteMessage(9, _Internal::contstmt(this), |
13227 | 0 | _Internal::contstmt(this).GetCachedSize(), target, stream); |
13228 | 0 | break; |
13229 | 0 | } |
13230 | 0 | case kLogFunc: { |
13231 | 0 | target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: |
13232 | 0 | InternalWriteMessage(10, _Internal::log_func(this), |
13233 | 0 | _Internal::log_func(this).GetCachedSize(), target, stream); |
13234 | 0 | break; |
13235 | 0 | } |
13236 | 0 | case kCopyFunc: { |
13237 | 0 | target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: |
13238 | 0 | InternalWriteMessage(11, _Internal::copy_func(this), |
13239 | 0 | _Internal::copy_func(this).GetCachedSize(), target, stream); |
13240 | 0 | break; |
13241 | 0 | } |
13242 | 0 | case kExtcodeCopy: { |
13243 | 0 | target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: |
13244 | 0 | InternalWriteMessage(12, _Internal::extcode_copy(this), |
13245 | 0 | _Internal::extcode_copy(this).GetCachedSize(), target, stream); |
13246 | 0 | break; |
13247 | 0 | } |
13248 | 0 | case kTerminatestmt: { |
13249 | 0 | target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: |
13250 | 0 | InternalWriteMessage(13, _Internal::terminatestmt(this), |
13251 | 0 | _Internal::terminatestmt(this).GetCachedSize(), target, stream); |
13252 | 0 | break; |
13253 | 0 | } |
13254 | 0 | case kFunctioncall: { |
13255 | 0 | target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: |
13256 | 0 | InternalWriteMessage(14, _Internal::functioncall(this), |
13257 | 0 | _Internal::functioncall(this).GetCachedSize(), target, stream); |
13258 | 0 | break; |
13259 | 0 | } |
13260 | 0 | case kBoundedforstmt: { |
13261 | 0 | target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: |
13262 | 0 | InternalWriteMessage(15, _Internal::boundedforstmt(this), |
13263 | 0 | _Internal::boundedforstmt(this).GetCachedSize(), target, stream); |
13264 | 0 | break; |
13265 | 0 | } |
13266 | 0 | case kFuncdef: { |
13267 | 0 | target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: |
13268 | 0 | InternalWriteMessage(16, _Internal::funcdef(this), |
13269 | 0 | _Internal::funcdef(this).GetCachedSize(), target, stream); |
13270 | 0 | break; |
13271 | 0 | } |
13272 | 0 | case kPop: { |
13273 | 0 | target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: |
13274 | 0 | InternalWriteMessage(17, _Internal::pop(this), |
13275 | 0 | _Internal::pop(this).GetCachedSize(), target, stream); |
13276 | 0 | break; |
13277 | 0 | } |
13278 | 0 | case kLeave: { |
13279 | 0 | target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: |
13280 | 0 | InternalWriteMessage(18, _Internal::leave(this), |
13281 | 0 | _Internal::leave(this).GetCachedSize(), target, stream); |
13282 | 0 | break; |
13283 | 0 | } |
13284 | 0 | case kMultidecl: { |
13285 | 0 | target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: |
13286 | 0 | InternalWriteMessage(19, _Internal::multidecl(this), |
13287 | 0 | _Internal::multidecl(this).GetCachedSize(), target, stream); |
13288 | 0 | break; |
13289 | 0 | } |
13290 | 0 | default: ; |
13291 | 0 | } |
13292 | 0 | if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { |
13293 | 0 | target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( |
13294 | 0 | _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); |
13295 | 0 | } |
13296 | | // @@protoc_insertion_point(serialize_to_array_end:solidity.yul.test.yul_fuzzer.Statement) |
13297 | 0 | return target; |
13298 | 0 | } |
13299 | | |
13300 | 3.71M | size_t Statement::ByteSizeLong() const { |
13301 | | // @@protoc_insertion_point(message_byte_size_start:solidity.yul.test.yul_fuzzer.Statement) |
13302 | 3.71M | size_t total_size = 0; |
13303 | | |
13304 | 3.71M | uint32_t cached_has_bits = 0; |
13305 | | // Prevent compiler warnings about cached_has_bits being unused |
13306 | 3.71M | (void) cached_has_bits; |
13307 | | |
13308 | 3.71M | switch (stmt_oneof_case()) { |
13309 | | // .solidity.yul.test.yul_fuzzer.VarDecl decl = 1; |
13310 | 18.7k | case kDecl: { |
13311 | 18.7k | total_size += 1 + |
13312 | 18.7k | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
13313 | 18.7k | *_impl_.stmt_oneof_.decl_); |
13314 | 18.7k | break; |
13315 | 0 | } |
13316 | | // .solidity.yul.test.yul_fuzzer.AssignmentStatement assignment = 2; |
13317 | 42.6k | case kAssignment: { |
13318 | 42.6k | total_size += 1 + |
13319 | 42.6k | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
13320 | 42.6k | *_impl_.stmt_oneof_.assignment_); |
13321 | 42.6k | break; |
13322 | 0 | } |
13323 | | // .solidity.yul.test.yul_fuzzer.IfStmt ifstmt = 3; |
13324 | 302k | case kIfstmt: { |
13325 | 302k | total_size += 1 + |
13326 | 302k | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
13327 | 302k | *_impl_.stmt_oneof_.ifstmt_); |
13328 | 302k | break; |
13329 | 0 | } |
13330 | | // .solidity.yul.test.yul_fuzzer.StoreFunc storage_func = 4; |
13331 | 219k | case kStorageFunc: { |
13332 | 219k | total_size += 1 + |
13333 | 219k | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
13334 | 219k | *_impl_.stmt_oneof_.storage_func_); |
13335 | 219k | break; |
13336 | 0 | } |
13337 | | // .solidity.yul.test.yul_fuzzer.Block blockstmt = 5; |
13338 | 16.2k | case kBlockstmt: { |
13339 | 16.2k | total_size += 1 + |
13340 | 16.2k | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
13341 | 16.2k | *_impl_.stmt_oneof_.blockstmt_); |
13342 | 16.2k | break; |
13343 | 0 | } |
13344 | | // .solidity.yul.test.yul_fuzzer.ForStmt forstmt = 6; |
13345 | 291k | case kForstmt: { |
13346 | 291k | total_size += 1 + |
13347 | 291k | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
13348 | 291k | *_impl_.stmt_oneof_.forstmt_); |
13349 | 291k | break; |
13350 | 0 | } |
13351 | | // .solidity.yul.test.yul_fuzzer.SwitchStmt switchstmt = 7; |
13352 | 331k | case kSwitchstmt: { |
13353 | 331k | total_size += 1 + |
13354 | 331k | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
13355 | 331k | *_impl_.stmt_oneof_.switchstmt_); |
13356 | 331k | break; |
13357 | 0 | } |
13358 | | // .solidity.yul.test.yul_fuzzer.BreakStmt breakstmt = 8; |
13359 | 322k | case kBreakstmt: { |
13360 | 322k | total_size += 1 + |
13361 | 322k | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
13362 | 322k | *_impl_.stmt_oneof_.breakstmt_); |
13363 | 322k | break; |
13364 | 0 | } |
13365 | | // .solidity.yul.test.yul_fuzzer.ContinueStmt contstmt = 9; |
13366 | 314k | case kContstmt: { |
13367 | 314k | total_size += 1 + |
13368 | 314k | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
13369 | 314k | *_impl_.stmt_oneof_.contstmt_); |
13370 | 314k | break; |
13371 | 0 | } |
13372 | | // .solidity.yul.test.yul_fuzzer.LogFunc log_func = 10; |
13373 | 13.9k | case kLogFunc: { |
13374 | 13.9k | total_size += 1 + |
13375 | 13.9k | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
13376 | 13.9k | *_impl_.stmt_oneof_.log_func_); |
13377 | 13.9k | break; |
13378 | 0 | } |
13379 | | // .solidity.yul.test.yul_fuzzer.CopyFunc copy_func = 11; |
13380 | 15.4k | case kCopyFunc: { |
13381 | 15.4k | total_size += 1 + |
13382 | 15.4k | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
13383 | 15.4k | *_impl_.stmt_oneof_.copy_func_); |
13384 | 15.4k | break; |
13385 | 0 | } |
13386 | | // .solidity.yul.test.yul_fuzzer.ExtCodeCopy extcode_copy = 12; |
13387 | 21.2k | case kExtcodeCopy: { |
13388 | 21.2k | total_size += 1 + |
13389 | 21.2k | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
13390 | 21.2k | *_impl_.stmt_oneof_.extcode_copy_); |
13391 | 21.2k | break; |
13392 | 0 | } |
13393 | | // .solidity.yul.test.yul_fuzzer.TerminatingStmt terminatestmt = 13; |
13394 | 312k | case kTerminatestmt: { |
13395 | 312k | total_size += 1 + |
13396 | 312k | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
13397 | 312k | *_impl_.stmt_oneof_.terminatestmt_); |
13398 | 312k | break; |
13399 | 0 | } |
13400 | | // .solidity.yul.test.yul_fuzzer.FunctionCall functioncall = 14; |
13401 | 382k | case kFunctioncall: { |
13402 | 382k | total_size += 1 + |
13403 | 382k | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
13404 | 382k | *_impl_.stmt_oneof_.functioncall_); |
13405 | 382k | break; |
13406 | 0 | } |
13407 | | // .solidity.yul.test.yul_fuzzer.BoundedForStmt boundedforstmt = 15; |
13408 | 313k | case kBoundedforstmt: { |
13409 | 313k | total_size += 1 + |
13410 | 313k | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
13411 | 313k | *_impl_.stmt_oneof_.boundedforstmt_); |
13412 | 313k | break; |
13413 | 0 | } |
13414 | | // .solidity.yul.test.yul_fuzzer.FunctionDef funcdef = 16; |
13415 | 184k | case kFuncdef: { |
13416 | 184k | total_size += 2 + |
13417 | 184k | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
13418 | 184k | *_impl_.stmt_oneof_.funcdef_); |
13419 | 184k | break; |
13420 | 0 | } |
13421 | | // .solidity.yul.test.yul_fuzzer.PopStmt pop = 17; |
13422 | 25.4k | case kPop: { |
13423 | 25.4k | total_size += 2 + |
13424 | 25.4k | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
13425 | 25.4k | *_impl_.stmt_oneof_.pop_); |
13426 | 25.4k | break; |
13427 | 0 | } |
13428 | | // .solidity.yul.test.yul_fuzzer.LeaveStmt leave = 18; |
13429 | 317k | case kLeave: { |
13430 | 317k | total_size += 2 + |
13431 | 317k | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
13432 | 317k | *_impl_.stmt_oneof_.leave_); |
13433 | 317k | break; |
13434 | 0 | } |
13435 | | // .solidity.yul.test.yul_fuzzer.MultiVarDecl multidecl = 19; |
13436 | 25.0k | case kMultidecl: { |
13437 | 25.0k | total_size += 2 + |
13438 | 25.0k | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
13439 | 25.0k | *_impl_.stmt_oneof_.multidecl_); |
13440 | 25.0k | break; |
13441 | 0 | } |
13442 | 242k | case STMT_ONEOF_NOT_SET: { |
13443 | 242k | break; |
13444 | 0 | } |
13445 | 3.71M | } |
13446 | 3.71M | return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); |
13447 | 3.71M | } |
13448 | | |
13449 | | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData Statement::_class_data_ = { |
13450 | | ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, |
13451 | | Statement::MergeImpl |
13452 | | }; |
13453 | 0 | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*Statement::GetClassData() const { return &_class_data_; } |
13454 | | |
13455 | | |
13456 | 0 | void Statement::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { |
13457 | 0 | auto* const _this = static_cast<Statement*>(&to_msg); |
13458 | 0 | auto& from = static_cast<const Statement&>(from_msg); |
13459 | | // @@protoc_insertion_point(class_specific_merge_from_start:solidity.yul.test.yul_fuzzer.Statement) |
13460 | 0 | GOOGLE_DCHECK_NE(&from, _this); |
13461 | 0 | uint32_t cached_has_bits = 0; |
13462 | 0 | (void) cached_has_bits; |
13463 | |
|
13464 | 0 | switch (from.stmt_oneof_case()) { |
13465 | 0 | case kDecl: { |
13466 | 0 | _this->_internal_mutable_decl()->::solidity::yul::test::yul_fuzzer::VarDecl::MergeFrom( |
13467 | 0 | from._internal_decl()); |
13468 | 0 | break; |
13469 | 0 | } |
13470 | 0 | case kAssignment: { |
13471 | 0 | _this->_internal_mutable_assignment()->::solidity::yul::test::yul_fuzzer::AssignmentStatement::MergeFrom( |
13472 | 0 | from._internal_assignment()); |
13473 | 0 | break; |
13474 | 0 | } |
13475 | 0 | case kIfstmt: { |
13476 | 0 | _this->_internal_mutable_ifstmt()->::solidity::yul::test::yul_fuzzer::IfStmt::MergeFrom( |
13477 | 0 | from._internal_ifstmt()); |
13478 | 0 | break; |
13479 | 0 | } |
13480 | 0 | case kStorageFunc: { |
13481 | 0 | _this->_internal_mutable_storage_func()->::solidity::yul::test::yul_fuzzer::StoreFunc::MergeFrom( |
13482 | 0 | from._internal_storage_func()); |
13483 | 0 | break; |
13484 | 0 | } |
13485 | 0 | case kBlockstmt: { |
13486 | 0 | _this->_internal_mutable_blockstmt()->::solidity::yul::test::yul_fuzzer::Block::MergeFrom( |
13487 | 0 | from._internal_blockstmt()); |
13488 | 0 | break; |
13489 | 0 | } |
13490 | 0 | case kForstmt: { |
13491 | 0 | _this->_internal_mutable_forstmt()->::solidity::yul::test::yul_fuzzer::ForStmt::MergeFrom( |
13492 | 0 | from._internal_forstmt()); |
13493 | 0 | break; |
13494 | 0 | } |
13495 | 0 | case kSwitchstmt: { |
13496 | 0 | _this->_internal_mutable_switchstmt()->::solidity::yul::test::yul_fuzzer::SwitchStmt::MergeFrom( |
13497 | 0 | from._internal_switchstmt()); |
13498 | 0 | break; |
13499 | 0 | } |
13500 | 0 | case kBreakstmt: { |
13501 | 0 | _this->_internal_mutable_breakstmt()->::solidity::yul::test::yul_fuzzer::BreakStmt::MergeFrom( |
13502 | 0 | from._internal_breakstmt()); |
13503 | 0 | break; |
13504 | 0 | } |
13505 | 0 | case kContstmt: { |
13506 | 0 | _this->_internal_mutable_contstmt()->::solidity::yul::test::yul_fuzzer::ContinueStmt::MergeFrom( |
13507 | 0 | from._internal_contstmt()); |
13508 | 0 | break; |
13509 | 0 | } |
13510 | 0 | case kLogFunc: { |
13511 | 0 | _this->_internal_mutable_log_func()->::solidity::yul::test::yul_fuzzer::LogFunc::MergeFrom( |
13512 | 0 | from._internal_log_func()); |
13513 | 0 | break; |
13514 | 0 | } |
13515 | 0 | case kCopyFunc: { |
13516 | 0 | _this->_internal_mutable_copy_func()->::solidity::yul::test::yul_fuzzer::CopyFunc::MergeFrom( |
13517 | 0 | from._internal_copy_func()); |
13518 | 0 | break; |
13519 | 0 | } |
13520 | 0 | case kExtcodeCopy: { |
13521 | 0 | _this->_internal_mutable_extcode_copy()->::solidity::yul::test::yul_fuzzer::ExtCodeCopy::MergeFrom( |
13522 | 0 | from._internal_extcode_copy()); |
13523 | 0 | break; |
13524 | 0 | } |
13525 | 0 | case kTerminatestmt: { |
13526 | 0 | _this->_internal_mutable_terminatestmt()->::solidity::yul::test::yul_fuzzer::TerminatingStmt::MergeFrom( |
13527 | 0 | from._internal_terminatestmt()); |
13528 | 0 | break; |
13529 | 0 | } |
13530 | 0 | case kFunctioncall: { |
13531 | 0 | _this->_internal_mutable_functioncall()->::solidity::yul::test::yul_fuzzer::FunctionCall::MergeFrom( |
13532 | 0 | from._internal_functioncall()); |
13533 | 0 | break; |
13534 | 0 | } |
13535 | 0 | case kBoundedforstmt: { |
13536 | 0 | _this->_internal_mutable_boundedforstmt()->::solidity::yul::test::yul_fuzzer::BoundedForStmt::MergeFrom( |
13537 | 0 | from._internal_boundedforstmt()); |
13538 | 0 | break; |
13539 | 0 | } |
13540 | 0 | case kFuncdef: { |
13541 | 0 | _this->_internal_mutable_funcdef()->::solidity::yul::test::yul_fuzzer::FunctionDef::MergeFrom( |
13542 | 0 | from._internal_funcdef()); |
13543 | 0 | break; |
13544 | 0 | } |
13545 | 0 | case kPop: { |
13546 | 0 | _this->_internal_mutable_pop()->::solidity::yul::test::yul_fuzzer::PopStmt::MergeFrom( |
13547 | 0 | from._internal_pop()); |
13548 | 0 | break; |
13549 | 0 | } |
13550 | 0 | case kLeave: { |
13551 | 0 | _this->_internal_mutable_leave()->::solidity::yul::test::yul_fuzzer::LeaveStmt::MergeFrom( |
13552 | 0 | from._internal_leave()); |
13553 | 0 | break; |
13554 | 0 | } |
13555 | 0 | case kMultidecl: { |
13556 | 0 | _this->_internal_mutable_multidecl()->::solidity::yul::test::yul_fuzzer::MultiVarDecl::MergeFrom( |
13557 | 0 | from._internal_multidecl()); |
13558 | 0 | break; |
13559 | 0 | } |
13560 | 0 | case STMT_ONEOF_NOT_SET: { |
13561 | 0 | break; |
13562 | 0 | } |
13563 | 0 | } |
13564 | 0 | _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); |
13565 | 0 | } |
13566 | | |
13567 | 0 | void Statement::CopyFrom(const Statement& from) { |
13568 | | // @@protoc_insertion_point(class_specific_copy_from_start:solidity.yul.test.yul_fuzzer.Statement) |
13569 | 0 | if (&from == this) return; |
13570 | 0 | Clear(); |
13571 | 0 | MergeFrom(from); |
13572 | 0 | } |
13573 | | |
13574 | 0 | bool Statement::IsInitialized() const { |
13575 | 0 | switch (stmt_oneof_case()) { |
13576 | 0 | case kDecl: { |
13577 | 0 | if (_internal_has_decl()) { |
13578 | 0 | if (!_impl_.stmt_oneof_.decl_->IsInitialized()) return false; |
13579 | 0 | } |
13580 | 0 | break; |
13581 | 0 | } |
13582 | 0 | case kAssignment: { |
13583 | 0 | if (_internal_has_assignment()) { |
13584 | 0 | if (!_impl_.stmt_oneof_.assignment_->IsInitialized()) return false; |
13585 | 0 | } |
13586 | 0 | break; |
13587 | 0 | } |
13588 | 0 | case kIfstmt: { |
13589 | 0 | if (_internal_has_ifstmt()) { |
13590 | 0 | if (!_impl_.stmt_oneof_.ifstmt_->IsInitialized()) return false; |
13591 | 0 | } |
13592 | 0 | break; |
13593 | 0 | } |
13594 | 0 | case kStorageFunc: { |
13595 | 0 | if (_internal_has_storage_func()) { |
13596 | 0 | if (!_impl_.stmt_oneof_.storage_func_->IsInitialized()) return false; |
13597 | 0 | } |
13598 | 0 | break; |
13599 | 0 | } |
13600 | 0 | case kBlockstmt: { |
13601 | 0 | if (_internal_has_blockstmt()) { |
13602 | 0 | if (!_impl_.stmt_oneof_.blockstmt_->IsInitialized()) return false; |
13603 | 0 | } |
13604 | 0 | break; |
13605 | 0 | } |
13606 | 0 | case kForstmt: { |
13607 | 0 | if (_internal_has_forstmt()) { |
13608 | 0 | if (!_impl_.stmt_oneof_.forstmt_->IsInitialized()) return false; |
13609 | 0 | } |
13610 | 0 | break; |
13611 | 0 | } |
13612 | 0 | case kSwitchstmt: { |
13613 | 0 | if (_internal_has_switchstmt()) { |
13614 | 0 | if (!_impl_.stmt_oneof_.switchstmt_->IsInitialized()) return false; |
13615 | 0 | } |
13616 | 0 | break; |
13617 | 0 | } |
13618 | 0 | case kBreakstmt: { |
13619 | 0 | break; |
13620 | 0 | } |
13621 | 0 | case kContstmt: { |
13622 | 0 | break; |
13623 | 0 | } |
13624 | 0 | case kLogFunc: { |
13625 | 0 | if (_internal_has_log_func()) { |
13626 | 0 | if (!_impl_.stmt_oneof_.log_func_->IsInitialized()) return false; |
13627 | 0 | } |
13628 | 0 | break; |
13629 | 0 | } |
13630 | 0 | case kCopyFunc: { |
13631 | 0 | if (_internal_has_copy_func()) { |
13632 | 0 | if (!_impl_.stmt_oneof_.copy_func_->IsInitialized()) return false; |
13633 | 0 | } |
13634 | 0 | break; |
13635 | 0 | } |
13636 | 0 | case kExtcodeCopy: { |
13637 | 0 | if (_internal_has_extcode_copy()) { |
13638 | 0 | if (!_impl_.stmt_oneof_.extcode_copy_->IsInitialized()) return false; |
13639 | 0 | } |
13640 | 0 | break; |
13641 | 0 | } |
13642 | 0 | case kTerminatestmt: { |
13643 | 0 | if (_internal_has_terminatestmt()) { |
13644 | 0 | if (!_impl_.stmt_oneof_.terminatestmt_->IsInitialized()) return false; |
13645 | 0 | } |
13646 | 0 | break; |
13647 | 0 | } |
13648 | 0 | case kFunctioncall: { |
13649 | 0 | if (_internal_has_functioncall()) { |
13650 | 0 | if (!_impl_.stmt_oneof_.functioncall_->IsInitialized()) return false; |
13651 | 0 | } |
13652 | 0 | break; |
13653 | 0 | } |
13654 | 0 | case kBoundedforstmt: { |
13655 | 0 | if (_internal_has_boundedforstmt()) { |
13656 | 0 | if (!_impl_.stmt_oneof_.boundedforstmt_->IsInitialized()) return false; |
13657 | 0 | } |
13658 | 0 | break; |
13659 | 0 | } |
13660 | 0 | case kFuncdef: { |
13661 | 0 | if (_internal_has_funcdef()) { |
13662 | 0 | if (!_impl_.stmt_oneof_.funcdef_->IsInitialized()) return false; |
13663 | 0 | } |
13664 | 0 | break; |
13665 | 0 | } |
13666 | 0 | case kPop: { |
13667 | 0 | if (_internal_has_pop()) { |
13668 | 0 | if (!_impl_.stmt_oneof_.pop_->IsInitialized()) return false; |
13669 | 0 | } |
13670 | 0 | break; |
13671 | 0 | } |
13672 | 0 | case kLeave: { |
13673 | 0 | break; |
13674 | 0 | } |
13675 | 0 | case kMultidecl: { |
13676 | 0 | if (_internal_has_multidecl()) { |
13677 | 0 | if (!_impl_.stmt_oneof_.multidecl_->IsInitialized()) return false; |
13678 | 0 | } |
13679 | 0 | break; |
13680 | 0 | } |
13681 | 0 | case STMT_ONEOF_NOT_SET: { |
13682 | 0 | break; |
13683 | 0 | } |
13684 | 0 | } |
13685 | 0 | return true; |
13686 | 0 | } |
13687 | | |
13688 | 0 | void Statement::InternalSwap(Statement* other) { |
13689 | 0 | using std::swap; |
13690 | 0 | _internal_metadata_.InternalSwap(&other->_internal_metadata_); |
13691 | 0 | swap(_impl_.stmt_oneof_, other->_impl_.stmt_oneof_); |
13692 | 0 | swap(_impl_._oneof_case_[0], other->_impl_._oneof_case_[0]); |
13693 | 0 | } |
13694 | | |
13695 | 108M | ::PROTOBUF_NAMESPACE_ID::Metadata Statement::GetMetadata() const { |
13696 | 108M | return ::_pbi::AssignDescriptors( |
13697 | 108M | &descriptor_table_yulProto_2eproto_getter, &descriptor_table_yulProto_2eproto_once, |
13698 | 108M | file_level_metadata_yulProto_2eproto[34]); |
13699 | 108M | } |
13700 | | |
13701 | | // =================================================================== |
13702 | | |
13703 | | class Block::_Internal { |
13704 | | public: |
13705 | | }; |
13706 | | |
13707 | | Block::Block(::PROTOBUF_NAMESPACE_ID::Arena* arena, |
13708 | | bool is_message_owned) |
13709 | 2.06M | : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { |
13710 | 2.06M | SharedCtor(arena, is_message_owned); |
13711 | | // @@protoc_insertion_point(arena_constructor:solidity.yul.test.yul_fuzzer.Block) |
13712 | 2.06M | } |
13713 | | Block::Block(const Block& from) |
13714 | 0 | : ::PROTOBUF_NAMESPACE_ID::Message() { |
13715 | 0 | Block* const _this = this; (void)_this; |
13716 | 0 | new (&_impl_) Impl_{ |
13717 | 0 | decltype(_impl_.statements_){from._impl_.statements_} |
13718 | 0 | , /*decltype(_impl_._cached_size_)*/{}}; |
13719 | |
|
13720 | 0 | _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); |
13721 | | // @@protoc_insertion_point(copy_constructor:solidity.yul.test.yul_fuzzer.Block) |
13722 | 0 | } |
13723 | | |
13724 | | inline void Block::SharedCtor( |
13725 | 2.06M | ::_pb::Arena* arena, bool is_message_owned) { |
13726 | 2.06M | (void)arena; |
13727 | 2.06M | (void)is_message_owned; |
13728 | 2.06M | new (&_impl_) Impl_{ |
13729 | 2.06M | decltype(_impl_.statements_){arena} |
13730 | 2.06M | , /*decltype(_impl_._cached_size_)*/{} |
13731 | 2.06M | }; |
13732 | 2.06M | } |
13733 | | |
13734 | 2.06M | Block::~Block() { |
13735 | | // @@protoc_insertion_point(destructor:solidity.yul.test.yul_fuzzer.Block) |
13736 | 2.06M | if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { |
13737 | 0 | (void)arena; |
13738 | 0 | return; |
13739 | 0 | } |
13740 | 2.06M | SharedDtor(); |
13741 | 2.06M | } |
13742 | | |
13743 | 2.06M | inline void Block::SharedDtor() { |
13744 | 2.06M | GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); |
13745 | 2.06M | _impl_.statements_.~RepeatedPtrField(); |
13746 | 2.06M | } |
13747 | | |
13748 | 0 | void Block::SetCachedSize(int size) const { |
13749 | 0 | _impl_._cached_size_.Set(size); |
13750 | 0 | } |
13751 | | |
13752 | 706k | void Block::Clear() { |
13753 | | // @@protoc_insertion_point(message_clear_start:solidity.yul.test.yul_fuzzer.Block) |
13754 | 706k | uint32_t cached_has_bits = 0; |
13755 | | // Prevent compiler warnings about cached_has_bits being unused |
13756 | 706k | (void) cached_has_bits; |
13757 | | |
13758 | 706k | _impl_.statements_.Clear(); |
13759 | 706k | _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); |
13760 | 706k | } |
13761 | | |
13762 | 0 | const char* Block::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { |
13763 | 0 | #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure |
13764 | 0 | while (!ctx->Done(&ptr)) { |
13765 | 0 | uint32_t tag; |
13766 | 0 | ptr = ::_pbi::ReadTag(ptr, &tag); |
13767 | 0 | switch (tag >> 3) { |
13768 | | // repeated .solidity.yul.test.yul_fuzzer.Statement statements = 1; |
13769 | 0 | case 1: |
13770 | 0 | if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 10)) { |
13771 | 0 | ptr -= 1; |
13772 | 0 | do { |
13773 | 0 | ptr += 1; |
13774 | 0 | ptr = ctx->ParseMessage(_internal_add_statements(), ptr); |
13775 | 0 | CHK_(ptr); |
13776 | 0 | if (!ctx->DataAvailable(ptr)) break; |
13777 | 0 | } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<10>(ptr)); |
13778 | 0 | } else |
13779 | 0 | goto handle_unusual; |
13780 | 0 | continue; |
13781 | 0 | default: |
13782 | 0 | goto handle_unusual; |
13783 | 0 | } // switch |
13784 | 0 | handle_unusual: |
13785 | 0 | if ((tag == 0) || ((tag & 7) == 4)) { |
13786 | 0 | CHK_(ptr); |
13787 | 0 | ctx->SetLastTag(tag); |
13788 | 0 | goto message_done; |
13789 | 0 | } |
13790 | 0 | ptr = UnknownFieldParse( |
13791 | 0 | tag, |
13792 | 0 | _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), |
13793 | 0 | ptr, ctx); |
13794 | 0 | CHK_(ptr != nullptr); |
13795 | 0 | } // while |
13796 | 0 | message_done: |
13797 | 0 | return ptr; |
13798 | 0 | failure: |
13799 | 0 | ptr = nullptr; |
13800 | 0 | goto message_done; |
13801 | 0 | #undef CHK_ |
13802 | 0 | } |
13803 | | |
13804 | | uint8_t* Block::_InternalSerialize( |
13805 | 0 | uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { |
13806 | | // @@protoc_insertion_point(serialize_to_array_start:solidity.yul.test.yul_fuzzer.Block) |
13807 | 0 | uint32_t cached_has_bits = 0; |
13808 | 0 | (void) cached_has_bits; |
13809 | | |
13810 | | // repeated .solidity.yul.test.yul_fuzzer.Statement statements = 1; |
13811 | 0 | for (unsigned i = 0, |
13812 | 0 | n = static_cast<unsigned>(this->_internal_statements_size()); i < n; i++) { |
13813 | 0 | const auto& repfield = this->_internal_statements(i); |
13814 | 0 | target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: |
13815 | 0 | InternalWriteMessage(1, repfield, repfield.GetCachedSize(), target, stream); |
13816 | 0 | } |
13817 | |
|
13818 | 0 | if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { |
13819 | 0 | target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( |
13820 | 0 | _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); |
13821 | 0 | } |
13822 | | // @@protoc_insertion_point(serialize_to_array_end:solidity.yul.test.yul_fuzzer.Block) |
13823 | 0 | return target; |
13824 | 0 | } |
13825 | | |
13826 | 1.68M | size_t Block::ByteSizeLong() const { |
13827 | | // @@protoc_insertion_point(message_byte_size_start:solidity.yul.test.yul_fuzzer.Block) |
13828 | 1.68M | size_t total_size = 0; |
13829 | | |
13830 | 1.68M | uint32_t cached_has_bits = 0; |
13831 | | // Prevent compiler warnings about cached_has_bits being unused |
13832 | 1.68M | (void) cached_has_bits; |
13833 | | |
13834 | | // repeated .solidity.yul.test.yul_fuzzer.Statement statements = 1; |
13835 | 1.68M | total_size += 1UL * this->_internal_statements_size(); |
13836 | 3.71M | for (const auto& msg : this->_impl_.statements_) { |
13837 | 3.71M | total_size += |
13838 | 3.71M | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); |
13839 | 3.71M | } |
13840 | | |
13841 | 1.68M | return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); |
13842 | 1.68M | } |
13843 | | |
13844 | | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData Block::_class_data_ = { |
13845 | | ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, |
13846 | | Block::MergeImpl |
13847 | | }; |
13848 | 1.06M | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*Block::GetClassData() const { return &_class_data_; } |
13849 | | |
13850 | | |
13851 | 353k | void Block::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { |
13852 | 353k | auto* const _this = static_cast<Block*>(&to_msg); |
13853 | 353k | auto& from = static_cast<const Block&>(from_msg); |
13854 | | // @@protoc_insertion_point(class_specific_merge_from_start:solidity.yul.test.yul_fuzzer.Block) |
13855 | 353k | GOOGLE_DCHECK_NE(&from, _this); |
13856 | 353k | uint32_t cached_has_bits = 0; |
13857 | 353k | (void) cached_has_bits; |
13858 | | |
13859 | 353k | _this->_impl_.statements_.MergeFrom(from._impl_.statements_); |
13860 | 353k | _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); |
13861 | 353k | } |
13862 | | |
13863 | 0 | void Block::CopyFrom(const Block& from) { |
13864 | | // @@protoc_insertion_point(class_specific_copy_from_start:solidity.yul.test.yul_fuzzer.Block) |
13865 | 0 | if (&from == this) return; |
13866 | 0 | Clear(); |
13867 | 0 | MergeFrom(from); |
13868 | 0 | } |
13869 | | |
13870 | 0 | bool Block::IsInitialized() const { |
13871 | 0 | if (!::PROTOBUF_NAMESPACE_ID::internal::AllAreInitialized(_impl_.statements_)) |
13872 | 0 | return false; |
13873 | 0 | return true; |
13874 | 0 | } |
13875 | | |
13876 | 0 | void Block::InternalSwap(Block* other) { |
13877 | 0 | using std::swap; |
13878 | 0 | _internal_metadata_.InternalSwap(&other->_internal_metadata_); |
13879 | 0 | _impl_.statements_.InternalSwap(&other->_impl_.statements_); |
13880 | 0 | } |
13881 | | |
13882 | 59.2M | ::PROTOBUF_NAMESPACE_ID::Metadata Block::GetMetadata() const { |
13883 | 59.2M | return ::_pbi::AssignDescriptors( |
13884 | 59.2M | &descriptor_table_yulProto_2eproto_getter, &descriptor_table_yulProto_2eproto_once, |
13885 | 59.2M | file_level_metadata_yulProto_2eproto[35]); |
13886 | 59.2M | } |
13887 | | |
13888 | | // =================================================================== |
13889 | | |
13890 | | class Object::_Internal { |
13891 | | public: |
13892 | | using HasBits = decltype(std::declval<Object>()._impl_._has_bits_); |
13893 | | static const ::solidity::yul::test::yul_fuzzer::Code& code(const Object* msg); |
13894 | 0 | static void set_has_code(HasBits* has_bits) { |
13895 | 0 | (*has_bits)[0] |= 1u; |
13896 | 0 | } |
13897 | | static const ::solidity::yul::test::yul_fuzzer::Data& data(const Object* msg); |
13898 | 0 | static void set_has_data(HasBits* has_bits) { |
13899 | 0 | (*has_bits)[0] |= 2u; |
13900 | 0 | } |
13901 | 0 | static bool MissingRequiredFields(const HasBits& has_bits) { |
13902 | 0 | return ((has_bits[0] & 0x00000001) ^ 0x00000001) != 0; |
13903 | 0 | } |
13904 | | }; |
13905 | | |
13906 | | const ::solidity::yul::test::yul_fuzzer::Code& |
13907 | 0 | Object::_Internal::code(const Object* msg) { |
13908 | 0 | return *msg->_impl_.code_; |
13909 | 0 | } |
13910 | | const ::solidity::yul::test::yul_fuzzer::Data& |
13911 | 0 | Object::_Internal::data(const Object* msg) { |
13912 | 0 | return *msg->_impl_.data_; |
13913 | 0 | } |
13914 | | Object::Object(::PROTOBUF_NAMESPACE_ID::Arena* arena, |
13915 | | bool is_message_owned) |
13916 | 84.5k | : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { |
13917 | 84.5k | SharedCtor(arena, is_message_owned); |
13918 | | // @@protoc_insertion_point(arena_constructor:solidity.yul.test.yul_fuzzer.Object) |
13919 | 84.5k | } |
13920 | | Object::Object(const Object& from) |
13921 | 0 | : ::PROTOBUF_NAMESPACE_ID::Message() { |
13922 | 0 | Object* const _this = this; (void)_this; |
13923 | 0 | new (&_impl_) Impl_{ |
13924 | 0 | decltype(_impl_._has_bits_){from._impl_._has_bits_} |
13925 | 0 | , /*decltype(_impl_._cached_size_)*/{} |
13926 | 0 | , decltype(_impl_.sub_obj_){from._impl_.sub_obj_} |
13927 | 0 | , decltype(_impl_.code_){nullptr} |
13928 | 0 | , decltype(_impl_.data_){nullptr}}; |
13929 | |
|
13930 | 0 | _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); |
13931 | 0 | if (from._internal_has_code()) { |
13932 | 0 | _this->_impl_.code_ = new ::solidity::yul::test::yul_fuzzer::Code(*from._impl_.code_); |
13933 | 0 | } |
13934 | 0 | if (from._internal_has_data()) { |
13935 | 0 | _this->_impl_.data_ = new ::solidity::yul::test::yul_fuzzer::Data(*from._impl_.data_); |
13936 | 0 | } |
13937 | | // @@protoc_insertion_point(copy_constructor:solidity.yul.test.yul_fuzzer.Object) |
13938 | 0 | } |
13939 | | |
13940 | | inline void Object::SharedCtor( |
13941 | 84.5k | ::_pb::Arena* arena, bool is_message_owned) { |
13942 | 84.5k | (void)arena; |
13943 | 84.5k | (void)is_message_owned; |
13944 | 84.5k | new (&_impl_) Impl_{ |
13945 | 84.5k | decltype(_impl_._has_bits_){} |
13946 | 84.5k | , /*decltype(_impl_._cached_size_)*/{} |
13947 | 84.5k | , decltype(_impl_.sub_obj_){arena} |
13948 | 84.5k | , decltype(_impl_.code_){nullptr} |
13949 | 84.5k | , decltype(_impl_.data_){nullptr} |
13950 | 84.5k | }; |
13951 | 84.5k | } |
13952 | | |
13953 | 84.5k | Object::~Object() { |
13954 | | // @@protoc_insertion_point(destructor:solidity.yul.test.yul_fuzzer.Object) |
13955 | 84.5k | if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { |
13956 | 0 | (void)arena; |
13957 | 0 | return; |
13958 | 0 | } |
13959 | 84.5k | SharedDtor(); |
13960 | 84.5k | } |
13961 | | |
13962 | 84.5k | inline void Object::SharedDtor() { |
13963 | 84.5k | GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); |
13964 | 84.5k | _impl_.sub_obj_.~RepeatedPtrField(); |
13965 | 84.5k | if (this != internal_default_instance()) delete _impl_.code_; |
13966 | 84.5k | if (this != internal_default_instance()) delete _impl_.data_; |
13967 | 84.5k | } |
13968 | | |
13969 | 0 | void Object::SetCachedSize(int size) const { |
13970 | 0 | _impl_._cached_size_.Set(size); |
13971 | 0 | } |
13972 | | |
13973 | 0 | void Object::Clear() { |
13974 | | // @@protoc_insertion_point(message_clear_start:solidity.yul.test.yul_fuzzer.Object) |
13975 | 0 | uint32_t cached_has_bits = 0; |
13976 | | // Prevent compiler warnings about cached_has_bits being unused |
13977 | 0 | (void) cached_has_bits; |
13978 | |
|
13979 | 0 | _impl_.sub_obj_.Clear(); |
13980 | 0 | cached_has_bits = _impl_._has_bits_[0]; |
13981 | 0 | if (cached_has_bits & 0x00000003u) { |
13982 | 0 | if (cached_has_bits & 0x00000001u) { |
13983 | 0 | GOOGLE_DCHECK(_impl_.code_ != nullptr); |
13984 | 0 | _impl_.code_->Clear(); |
13985 | 0 | } |
13986 | 0 | if (cached_has_bits & 0x00000002u) { |
13987 | 0 | GOOGLE_DCHECK(_impl_.data_ != nullptr); |
13988 | 0 | _impl_.data_->Clear(); |
13989 | 0 | } |
13990 | 0 | } |
13991 | 0 | _impl_._has_bits_.Clear(); |
13992 | 0 | _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); |
13993 | 0 | } |
13994 | | |
13995 | 0 | const char* Object::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { |
13996 | 0 | #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure |
13997 | 0 | _Internal::HasBits has_bits{}; |
13998 | 0 | while (!ctx->Done(&ptr)) { |
13999 | 0 | uint32_t tag; |
14000 | 0 | ptr = ::_pbi::ReadTag(ptr, &tag); |
14001 | 0 | switch (tag >> 3) { |
14002 | | // required .solidity.yul.test.yul_fuzzer.Code code = 1; |
14003 | 0 | case 1: |
14004 | 0 | if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 10)) { |
14005 | 0 | ptr = ctx->ParseMessage(_internal_mutable_code(), ptr); |
14006 | 0 | CHK_(ptr); |
14007 | 0 | } else |
14008 | 0 | goto handle_unusual; |
14009 | 0 | continue; |
14010 | | // optional .solidity.yul.test.yul_fuzzer.Data data = 2; |
14011 | 0 | case 2: |
14012 | 0 | if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 18)) { |
14013 | 0 | ptr = ctx->ParseMessage(_internal_mutable_data(), ptr); |
14014 | 0 | CHK_(ptr); |
14015 | 0 | } else |
14016 | 0 | goto handle_unusual; |
14017 | 0 | continue; |
14018 | | // repeated .solidity.yul.test.yul_fuzzer.Object sub_obj = 3; |
14019 | 0 | case 3: |
14020 | 0 | if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 26)) { |
14021 | 0 | ptr -= 1; |
14022 | 0 | do { |
14023 | 0 | ptr += 1; |
14024 | 0 | ptr = ctx->ParseMessage(_internal_add_sub_obj(), ptr); |
14025 | 0 | CHK_(ptr); |
14026 | 0 | if (!ctx->DataAvailable(ptr)) break; |
14027 | 0 | } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<26>(ptr)); |
14028 | 0 | } else |
14029 | 0 | goto handle_unusual; |
14030 | 0 | continue; |
14031 | 0 | default: |
14032 | 0 | goto handle_unusual; |
14033 | 0 | } // switch |
14034 | 0 | handle_unusual: |
14035 | 0 | if ((tag == 0) || ((tag & 7) == 4)) { |
14036 | 0 | CHK_(ptr); |
14037 | 0 | ctx->SetLastTag(tag); |
14038 | 0 | goto message_done; |
14039 | 0 | } |
14040 | 0 | ptr = UnknownFieldParse( |
14041 | 0 | tag, |
14042 | 0 | _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), |
14043 | 0 | ptr, ctx); |
14044 | 0 | CHK_(ptr != nullptr); |
14045 | 0 | } // while |
14046 | 0 | message_done: |
14047 | 0 | _impl_._has_bits_.Or(has_bits); |
14048 | 0 | return ptr; |
14049 | 0 | failure: |
14050 | 0 | ptr = nullptr; |
14051 | 0 | goto message_done; |
14052 | 0 | #undef CHK_ |
14053 | 0 | } |
14054 | | |
14055 | | uint8_t* Object::_InternalSerialize( |
14056 | 0 | uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { |
14057 | | // @@protoc_insertion_point(serialize_to_array_start:solidity.yul.test.yul_fuzzer.Object) |
14058 | 0 | uint32_t cached_has_bits = 0; |
14059 | 0 | (void) cached_has_bits; |
14060 | |
|
14061 | 0 | cached_has_bits = _impl_._has_bits_[0]; |
14062 | | // required .solidity.yul.test.yul_fuzzer.Code code = 1; |
14063 | 0 | if (cached_has_bits & 0x00000001u) { |
14064 | 0 | target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: |
14065 | 0 | InternalWriteMessage(1, _Internal::code(this), |
14066 | 0 | _Internal::code(this).GetCachedSize(), target, stream); |
14067 | 0 | } |
14068 | | |
14069 | | // optional .solidity.yul.test.yul_fuzzer.Data data = 2; |
14070 | 0 | if (cached_has_bits & 0x00000002u) { |
14071 | 0 | target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: |
14072 | 0 | InternalWriteMessage(2, _Internal::data(this), |
14073 | 0 | _Internal::data(this).GetCachedSize(), target, stream); |
14074 | 0 | } |
14075 | | |
14076 | | // repeated .solidity.yul.test.yul_fuzzer.Object sub_obj = 3; |
14077 | 0 | for (unsigned i = 0, |
14078 | 0 | n = static_cast<unsigned>(this->_internal_sub_obj_size()); i < n; i++) { |
14079 | 0 | const auto& repfield = this->_internal_sub_obj(i); |
14080 | 0 | target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: |
14081 | 0 | InternalWriteMessage(3, repfield, repfield.GetCachedSize(), target, stream); |
14082 | 0 | } |
14083 | |
|
14084 | 0 | if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { |
14085 | 0 | target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( |
14086 | 0 | _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); |
14087 | 0 | } |
14088 | | // @@protoc_insertion_point(serialize_to_array_end:solidity.yul.test.yul_fuzzer.Object) |
14089 | 0 | return target; |
14090 | 0 | } |
14091 | | |
14092 | 78.5k | size_t Object::ByteSizeLong() const { |
14093 | | // @@protoc_insertion_point(message_byte_size_start:solidity.yul.test.yul_fuzzer.Object) |
14094 | 78.5k | size_t total_size = 0; |
14095 | | |
14096 | | // required .solidity.yul.test.yul_fuzzer.Code code = 1; |
14097 | 78.5k | if (_internal_has_code()) { |
14098 | 78.5k | total_size += 1 + |
14099 | 78.5k | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
14100 | 78.5k | *_impl_.code_); |
14101 | 78.5k | } |
14102 | 78.5k | uint32_t cached_has_bits = 0; |
14103 | | // Prevent compiler warnings about cached_has_bits being unused |
14104 | 78.5k | (void) cached_has_bits; |
14105 | | |
14106 | | // repeated .solidity.yul.test.yul_fuzzer.Object sub_obj = 3; |
14107 | 78.5k | total_size += 1UL * this->_internal_sub_obj_size(); |
14108 | 78.5k | for (const auto& msg : this->_impl_.sub_obj_) { |
14109 | 70.4k | total_size += |
14110 | 70.4k | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); |
14111 | 70.4k | } |
14112 | | |
14113 | | // optional .solidity.yul.test.yul_fuzzer.Data data = 2; |
14114 | 78.5k | cached_has_bits = _impl_._has_bits_[0]; |
14115 | 78.5k | if (cached_has_bits & 0x00000002u) { |
14116 | 20.4k | total_size += 1 + |
14117 | 20.4k | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
14118 | 20.4k | *_impl_.data_); |
14119 | 20.4k | } |
14120 | | |
14121 | 78.5k | return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); |
14122 | 78.5k | } |
14123 | | |
14124 | | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData Object::_class_data_ = { |
14125 | | ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, |
14126 | | Object::MergeImpl |
14127 | | }; |
14128 | 0 | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*Object::GetClassData() const { return &_class_data_; } |
14129 | | |
14130 | | |
14131 | 0 | void Object::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { |
14132 | 0 | auto* const _this = static_cast<Object*>(&to_msg); |
14133 | 0 | auto& from = static_cast<const Object&>(from_msg); |
14134 | | // @@protoc_insertion_point(class_specific_merge_from_start:solidity.yul.test.yul_fuzzer.Object) |
14135 | 0 | GOOGLE_DCHECK_NE(&from, _this); |
14136 | 0 | uint32_t cached_has_bits = 0; |
14137 | 0 | (void) cached_has_bits; |
14138 | |
|
14139 | 0 | _this->_impl_.sub_obj_.MergeFrom(from._impl_.sub_obj_); |
14140 | 0 | cached_has_bits = from._impl_._has_bits_[0]; |
14141 | 0 | if (cached_has_bits & 0x00000003u) { |
14142 | 0 | if (cached_has_bits & 0x00000001u) { |
14143 | 0 | _this->_internal_mutable_code()->::solidity::yul::test::yul_fuzzer::Code::MergeFrom( |
14144 | 0 | from._internal_code()); |
14145 | 0 | } |
14146 | 0 | if (cached_has_bits & 0x00000002u) { |
14147 | 0 | _this->_internal_mutable_data()->::solidity::yul::test::yul_fuzzer::Data::MergeFrom( |
14148 | 0 | from._internal_data()); |
14149 | 0 | } |
14150 | 0 | } |
14151 | 0 | _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); |
14152 | 0 | } |
14153 | | |
14154 | 0 | void Object::CopyFrom(const Object& from) { |
14155 | | // @@protoc_insertion_point(class_specific_copy_from_start:solidity.yul.test.yul_fuzzer.Object) |
14156 | 0 | if (&from == this) return; |
14157 | 0 | Clear(); |
14158 | 0 | MergeFrom(from); |
14159 | 0 | } |
14160 | | |
14161 | 0 | bool Object::IsInitialized() const { |
14162 | 0 | if (_Internal::MissingRequiredFields(_impl_._has_bits_)) return false; |
14163 | 0 | if (!::PROTOBUF_NAMESPACE_ID::internal::AllAreInitialized(_impl_.sub_obj_)) |
14164 | 0 | return false; |
14165 | 0 | if (_internal_has_code()) { |
14166 | 0 | if (!_impl_.code_->IsInitialized()) return false; |
14167 | 0 | } |
14168 | 0 | if (_internal_has_data()) { |
14169 | 0 | if (!_impl_.data_->IsInitialized()) return false; |
14170 | 0 | } |
14171 | 0 | return true; |
14172 | 0 | } |
14173 | | |
14174 | 0 | void Object::InternalSwap(Object* other) { |
14175 | 0 | using std::swap; |
14176 | 0 | _internal_metadata_.InternalSwap(&other->_internal_metadata_); |
14177 | 0 | swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); |
14178 | 0 | _impl_.sub_obj_.InternalSwap(&other->_impl_.sub_obj_); |
14179 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::memswap< |
14180 | 0 | PROTOBUF_FIELD_OFFSET(Object, _impl_.data_) |
14181 | 0 | + sizeof(Object::_impl_.data_) |
14182 | 0 | - PROTOBUF_FIELD_OFFSET(Object, _impl_.code_)>( |
14183 | 0 | reinterpret_cast<char*>(&_impl_.code_), |
14184 | 0 | reinterpret_cast<char*>(&other->_impl_.code_)); |
14185 | 0 | } |
14186 | | |
14187 | 1.12M | ::PROTOBUF_NAMESPACE_ID::Metadata Object::GetMetadata() const { |
14188 | 1.12M | return ::_pbi::AssignDescriptors( |
14189 | 1.12M | &descriptor_table_yulProto_2eproto_getter, &descriptor_table_yulProto_2eproto_once, |
14190 | 1.12M | file_level_metadata_yulProto_2eproto[36]); |
14191 | 1.12M | } |
14192 | | |
14193 | | // =================================================================== |
14194 | | |
14195 | | class Code::_Internal { |
14196 | | public: |
14197 | | using HasBits = decltype(std::declval<Code>()._impl_._has_bits_); |
14198 | | static const ::solidity::yul::test::yul_fuzzer::Block& block(const Code* msg); |
14199 | 0 | static void set_has_block(HasBits* has_bits) { |
14200 | 0 | (*has_bits)[0] |= 1u; |
14201 | 0 | } |
14202 | 0 | static bool MissingRequiredFields(const HasBits& has_bits) { |
14203 | 0 | return ((has_bits[0] & 0x00000001) ^ 0x00000001) != 0; |
14204 | 0 | } |
14205 | | }; |
14206 | | |
14207 | | const ::solidity::yul::test::yul_fuzzer::Block& |
14208 | 0 | Code::_Internal::block(const Code* msg) { |
14209 | 0 | return *msg->_impl_.block_; |
14210 | 0 | } |
14211 | | Code::Code(::PROTOBUF_NAMESPACE_ID::Arena* arena, |
14212 | | bool is_message_owned) |
14213 | 84.3k | : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { |
14214 | 84.3k | SharedCtor(arena, is_message_owned); |
14215 | | // @@protoc_insertion_point(arena_constructor:solidity.yul.test.yul_fuzzer.Code) |
14216 | 84.3k | } |
14217 | | Code::Code(const Code& from) |
14218 | 0 | : ::PROTOBUF_NAMESPACE_ID::Message() { |
14219 | 0 | Code* const _this = this; (void)_this; |
14220 | 0 | new (&_impl_) Impl_{ |
14221 | 0 | decltype(_impl_._has_bits_){from._impl_._has_bits_} |
14222 | 0 | , /*decltype(_impl_._cached_size_)*/{} |
14223 | 0 | , decltype(_impl_.block_){nullptr}}; |
14224 | |
|
14225 | 0 | _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); |
14226 | 0 | if (from._internal_has_block()) { |
14227 | 0 | _this->_impl_.block_ = new ::solidity::yul::test::yul_fuzzer::Block(*from._impl_.block_); |
14228 | 0 | } |
14229 | | // @@protoc_insertion_point(copy_constructor:solidity.yul.test.yul_fuzzer.Code) |
14230 | 0 | } |
14231 | | |
14232 | | inline void Code::SharedCtor( |
14233 | 84.3k | ::_pb::Arena* arena, bool is_message_owned) { |
14234 | 84.3k | (void)arena; |
14235 | 84.3k | (void)is_message_owned; |
14236 | 84.3k | new (&_impl_) Impl_{ |
14237 | 84.3k | decltype(_impl_._has_bits_){} |
14238 | 84.3k | , /*decltype(_impl_._cached_size_)*/{} |
14239 | 84.3k | , decltype(_impl_.block_){nullptr} |
14240 | 84.3k | }; |
14241 | 84.3k | } |
14242 | | |
14243 | 84.3k | Code::~Code() { |
14244 | | // @@protoc_insertion_point(destructor:solidity.yul.test.yul_fuzzer.Code) |
14245 | 84.3k | if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { |
14246 | 0 | (void)arena; |
14247 | 0 | return; |
14248 | 0 | } |
14249 | 84.3k | SharedDtor(); |
14250 | 84.3k | } |
14251 | | |
14252 | 84.3k | inline void Code::SharedDtor() { |
14253 | 84.3k | GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); |
14254 | 84.3k | if (this != internal_default_instance()) delete _impl_.block_; |
14255 | 84.3k | } |
14256 | | |
14257 | 0 | void Code::SetCachedSize(int size) const { |
14258 | 0 | _impl_._cached_size_.Set(size); |
14259 | 0 | } |
14260 | | |
14261 | 3.01k | void Code::Clear() { |
14262 | | // @@protoc_insertion_point(message_clear_start:solidity.yul.test.yul_fuzzer.Code) |
14263 | 3.01k | uint32_t cached_has_bits = 0; |
14264 | | // Prevent compiler warnings about cached_has_bits being unused |
14265 | 3.01k | (void) cached_has_bits; |
14266 | | |
14267 | 3.01k | cached_has_bits = _impl_._has_bits_[0]; |
14268 | 3.01k | if (cached_has_bits & 0x00000001u) { |
14269 | 0 | GOOGLE_DCHECK(_impl_.block_ != nullptr); |
14270 | 0 | _impl_.block_->Clear(); |
14271 | 0 | } |
14272 | 3.01k | _impl_._has_bits_.Clear(); |
14273 | 3.01k | _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); |
14274 | 3.01k | } |
14275 | | |
14276 | 0 | const char* Code::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { |
14277 | 0 | #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure |
14278 | 0 | _Internal::HasBits has_bits{}; |
14279 | 0 | while (!ctx->Done(&ptr)) { |
14280 | 0 | uint32_t tag; |
14281 | 0 | ptr = ::_pbi::ReadTag(ptr, &tag); |
14282 | 0 | switch (tag >> 3) { |
14283 | | // required .solidity.yul.test.yul_fuzzer.Block block = 1; |
14284 | 0 | case 1: |
14285 | 0 | if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 10)) { |
14286 | 0 | ptr = ctx->ParseMessage(_internal_mutable_block(), ptr); |
14287 | 0 | CHK_(ptr); |
14288 | 0 | } else |
14289 | 0 | goto handle_unusual; |
14290 | 0 | continue; |
14291 | 0 | default: |
14292 | 0 | goto handle_unusual; |
14293 | 0 | } // switch |
14294 | 0 | handle_unusual: |
14295 | 0 | if ((tag == 0) || ((tag & 7) == 4)) { |
14296 | 0 | CHK_(ptr); |
14297 | 0 | ctx->SetLastTag(tag); |
14298 | 0 | goto message_done; |
14299 | 0 | } |
14300 | 0 | ptr = UnknownFieldParse( |
14301 | 0 | tag, |
14302 | 0 | _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), |
14303 | 0 | ptr, ctx); |
14304 | 0 | CHK_(ptr != nullptr); |
14305 | 0 | } // while |
14306 | 0 | message_done: |
14307 | 0 | _impl_._has_bits_.Or(has_bits); |
14308 | 0 | return ptr; |
14309 | 0 | failure: |
14310 | 0 | ptr = nullptr; |
14311 | 0 | goto message_done; |
14312 | 0 | #undef CHK_ |
14313 | 0 | } |
14314 | | |
14315 | | uint8_t* Code::_InternalSerialize( |
14316 | 0 | uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { |
14317 | | // @@protoc_insertion_point(serialize_to_array_start:solidity.yul.test.yul_fuzzer.Code) |
14318 | 0 | uint32_t cached_has_bits = 0; |
14319 | 0 | (void) cached_has_bits; |
14320 | |
|
14321 | 0 | cached_has_bits = _impl_._has_bits_[0]; |
14322 | | // required .solidity.yul.test.yul_fuzzer.Block block = 1; |
14323 | 0 | if (cached_has_bits & 0x00000001u) { |
14324 | 0 | target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: |
14325 | 0 | InternalWriteMessage(1, _Internal::block(this), |
14326 | 0 | _Internal::block(this).GetCachedSize(), target, stream); |
14327 | 0 | } |
14328 | |
|
14329 | 0 | if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { |
14330 | 0 | target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( |
14331 | 0 | _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); |
14332 | 0 | } |
14333 | | // @@protoc_insertion_point(serialize_to_array_end:solidity.yul.test.yul_fuzzer.Code) |
14334 | 0 | return target; |
14335 | 0 | } |
14336 | | |
14337 | 78.5k | size_t Code::ByteSizeLong() const { |
14338 | | // @@protoc_insertion_point(message_byte_size_start:solidity.yul.test.yul_fuzzer.Code) |
14339 | 78.5k | size_t total_size = 0; |
14340 | | |
14341 | | // required .solidity.yul.test.yul_fuzzer.Block block = 1; |
14342 | 78.5k | if (_internal_has_block()) { |
14343 | 78.5k | total_size += 1 + |
14344 | 78.5k | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
14345 | 78.5k | *_impl_.block_); |
14346 | 78.5k | } |
14347 | 78.5k | uint32_t cached_has_bits = 0; |
14348 | | // Prevent compiler warnings about cached_has_bits being unused |
14349 | 78.5k | (void) cached_has_bits; |
14350 | | |
14351 | 78.5k | return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); |
14352 | 78.5k | } |
14353 | | |
14354 | | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData Code::_class_data_ = { |
14355 | | ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, |
14356 | | Code::MergeImpl |
14357 | | }; |
14358 | 4.52k | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*Code::GetClassData() const { return &_class_data_; } |
14359 | | |
14360 | | |
14361 | 1.50k | void Code::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { |
14362 | 1.50k | auto* const _this = static_cast<Code*>(&to_msg); |
14363 | 1.50k | auto& from = static_cast<const Code&>(from_msg); |
14364 | | // @@protoc_insertion_point(class_specific_merge_from_start:solidity.yul.test.yul_fuzzer.Code) |
14365 | 1.50k | GOOGLE_DCHECK_NE(&from, _this); |
14366 | 1.50k | uint32_t cached_has_bits = 0; |
14367 | 1.50k | (void) cached_has_bits; |
14368 | | |
14369 | 1.50k | if (from._internal_has_block()) { |
14370 | 0 | _this->_internal_mutable_block()->::solidity::yul::test::yul_fuzzer::Block::MergeFrom( |
14371 | 0 | from._internal_block()); |
14372 | 0 | } |
14373 | 1.50k | _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); |
14374 | 1.50k | } |
14375 | | |
14376 | 0 | void Code::CopyFrom(const Code& from) { |
14377 | | // @@protoc_insertion_point(class_specific_copy_from_start:solidity.yul.test.yul_fuzzer.Code) |
14378 | 0 | if (&from == this) return; |
14379 | 0 | Clear(); |
14380 | 0 | MergeFrom(from); |
14381 | 0 | } |
14382 | | |
14383 | 0 | bool Code::IsInitialized() const { |
14384 | 0 | if (_Internal::MissingRequiredFields(_impl_._has_bits_)) return false; |
14385 | 0 | if (_internal_has_block()) { |
14386 | 0 | if (!_impl_.block_->IsInitialized()) return false; |
14387 | 0 | } |
14388 | 0 | return true; |
14389 | 0 | } |
14390 | | |
14391 | 0 | void Code::InternalSwap(Code* other) { |
14392 | 0 | using std::swap; |
14393 | 0 | _internal_metadata_.InternalSwap(&other->_internal_metadata_); |
14394 | 0 | swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); |
14395 | 0 | swap(_impl_.block_, other->_impl_.block_); |
14396 | 0 | } |
14397 | | |
14398 | 913k | ::PROTOBUF_NAMESPACE_ID::Metadata Code::GetMetadata() const { |
14399 | 913k | return ::_pbi::AssignDescriptors( |
14400 | 913k | &descriptor_table_yulProto_2eproto_getter, &descriptor_table_yulProto_2eproto_once, |
14401 | 913k | file_level_metadata_yulProto_2eproto[37]); |
14402 | 913k | } |
14403 | | |
14404 | | // =================================================================== |
14405 | | |
14406 | | class Data::_Internal { |
14407 | | public: |
14408 | | using HasBits = decltype(std::declval<Data>()._impl_._has_bits_); |
14409 | 0 | static void set_has_hex(HasBits* has_bits) { |
14410 | 0 | (*has_bits)[0] |= 1u; |
14411 | 0 | } |
14412 | 0 | static bool MissingRequiredFields(const HasBits& has_bits) { |
14413 | 0 | return ((has_bits[0] & 0x00000001) ^ 0x00000001) != 0; |
14414 | 0 | } |
14415 | | }; |
14416 | | |
14417 | | Data::Data(::PROTOBUF_NAMESPACE_ID::Arena* arena, |
14418 | | bool is_message_owned) |
14419 | 21.5k | : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { |
14420 | 21.5k | SharedCtor(arena, is_message_owned); |
14421 | | // @@protoc_insertion_point(arena_constructor:solidity.yul.test.yul_fuzzer.Data) |
14422 | 21.5k | } |
14423 | | Data::Data(const Data& from) |
14424 | 0 | : ::PROTOBUF_NAMESPACE_ID::Message() { |
14425 | 0 | Data* const _this = this; (void)_this; |
14426 | 0 | new (&_impl_) Impl_{ |
14427 | 0 | decltype(_impl_._has_bits_){from._impl_._has_bits_} |
14428 | 0 | , /*decltype(_impl_._cached_size_)*/{} |
14429 | 0 | , decltype(_impl_.hex_){}}; |
14430 | |
|
14431 | 0 | _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); |
14432 | 0 | _impl_.hex_.InitDefault(); |
14433 | | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
14434 | | _impl_.hex_.Set("", GetArenaForAllocation()); |
14435 | | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
14436 | 0 | if (from._internal_has_hex()) { |
14437 | 0 | _this->_impl_.hex_.Set(from._internal_hex(), |
14438 | 0 | _this->GetArenaForAllocation()); |
14439 | 0 | } |
14440 | | // @@protoc_insertion_point(copy_constructor:solidity.yul.test.yul_fuzzer.Data) |
14441 | 0 | } |
14442 | | |
14443 | | inline void Data::SharedCtor( |
14444 | 21.5k | ::_pb::Arena* arena, bool is_message_owned) { |
14445 | 21.5k | (void)arena; |
14446 | 21.5k | (void)is_message_owned; |
14447 | 21.5k | new (&_impl_) Impl_{ |
14448 | 21.5k | decltype(_impl_._has_bits_){} |
14449 | 21.5k | , /*decltype(_impl_._cached_size_)*/{} |
14450 | 21.5k | , decltype(_impl_.hex_){} |
14451 | 21.5k | }; |
14452 | 21.5k | _impl_.hex_.InitDefault(); |
14453 | | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
14454 | | _impl_.hex_.Set("", GetArenaForAllocation()); |
14455 | | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
14456 | 21.5k | } |
14457 | | |
14458 | 21.5k | Data::~Data() { |
14459 | | // @@protoc_insertion_point(destructor:solidity.yul.test.yul_fuzzer.Data) |
14460 | 21.5k | if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { |
14461 | 0 | (void)arena; |
14462 | 0 | return; |
14463 | 0 | } |
14464 | 21.5k | SharedDtor(); |
14465 | 21.5k | } |
14466 | | |
14467 | 21.5k | inline void Data::SharedDtor() { |
14468 | 21.5k | GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); |
14469 | 21.5k | _impl_.hex_.Destroy(); |
14470 | 21.5k | } |
14471 | | |
14472 | 0 | void Data::SetCachedSize(int size) const { |
14473 | 0 | _impl_._cached_size_.Set(size); |
14474 | 0 | } |
14475 | | |
14476 | 0 | void Data::Clear() { |
14477 | | // @@protoc_insertion_point(message_clear_start:solidity.yul.test.yul_fuzzer.Data) |
14478 | 0 | uint32_t cached_has_bits = 0; |
14479 | | // Prevent compiler warnings about cached_has_bits being unused |
14480 | 0 | (void) cached_has_bits; |
14481 | |
|
14482 | 0 | cached_has_bits = _impl_._has_bits_[0]; |
14483 | 0 | if (cached_has_bits & 0x00000001u) { |
14484 | 0 | _impl_.hex_.ClearNonDefaultToEmpty(); |
14485 | 0 | } |
14486 | 0 | _impl_._has_bits_.Clear(); |
14487 | 0 | _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); |
14488 | 0 | } |
14489 | | |
14490 | 0 | const char* Data::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { |
14491 | 0 | #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure |
14492 | 0 | _Internal::HasBits has_bits{}; |
14493 | 0 | while (!ctx->Done(&ptr)) { |
14494 | 0 | uint32_t tag; |
14495 | 0 | ptr = ::_pbi::ReadTag(ptr, &tag); |
14496 | 0 | switch (tag >> 3) { |
14497 | | // required string hex = 1; |
14498 | 0 | case 1: |
14499 | 0 | if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 10)) { |
14500 | 0 | auto str = _internal_mutable_hex(); |
14501 | 0 | ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); |
14502 | 0 | CHK_(ptr); |
14503 | | #ifndef NDEBUG |
14504 | | ::_pbi::VerifyUTF8(str, "solidity.yul.test.yul_fuzzer.Data.hex"); |
14505 | | #endif // !NDEBUG |
14506 | 0 | } else |
14507 | 0 | goto handle_unusual; |
14508 | 0 | continue; |
14509 | 0 | default: |
14510 | 0 | goto handle_unusual; |
14511 | 0 | } // switch |
14512 | 0 | handle_unusual: |
14513 | 0 | if ((tag == 0) || ((tag & 7) == 4)) { |
14514 | 0 | CHK_(ptr); |
14515 | 0 | ctx->SetLastTag(tag); |
14516 | 0 | goto message_done; |
14517 | 0 | } |
14518 | 0 | ptr = UnknownFieldParse( |
14519 | 0 | tag, |
14520 | 0 | _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), |
14521 | 0 | ptr, ctx); |
14522 | 0 | CHK_(ptr != nullptr); |
14523 | 0 | } // while |
14524 | 0 | message_done: |
14525 | 0 | _impl_._has_bits_.Or(has_bits); |
14526 | 0 | return ptr; |
14527 | 0 | failure: |
14528 | 0 | ptr = nullptr; |
14529 | 0 | goto message_done; |
14530 | 0 | #undef CHK_ |
14531 | 0 | } |
14532 | | |
14533 | | uint8_t* Data::_InternalSerialize( |
14534 | 0 | uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { |
14535 | | // @@protoc_insertion_point(serialize_to_array_start:solidity.yul.test.yul_fuzzer.Data) |
14536 | 0 | uint32_t cached_has_bits = 0; |
14537 | 0 | (void) cached_has_bits; |
14538 | |
|
14539 | 0 | cached_has_bits = _impl_._has_bits_[0]; |
14540 | | // required string hex = 1; |
14541 | 0 | if (cached_has_bits & 0x00000001u) { |
14542 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( |
14543 | 0 | this->_internal_hex().data(), static_cast<int>(this->_internal_hex().length()), |
14544 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, |
14545 | 0 | "solidity.yul.test.yul_fuzzer.Data.hex"); |
14546 | 0 | target = stream->WriteStringMaybeAliased( |
14547 | 0 | 1, this->_internal_hex(), target); |
14548 | 0 | } |
14549 | |
|
14550 | 0 | if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { |
14551 | 0 | target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( |
14552 | 0 | _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); |
14553 | 0 | } |
14554 | | // @@protoc_insertion_point(serialize_to_array_end:solidity.yul.test.yul_fuzzer.Data) |
14555 | 0 | return target; |
14556 | 0 | } |
14557 | | |
14558 | 20.4k | size_t Data::ByteSizeLong() const { |
14559 | | // @@protoc_insertion_point(message_byte_size_start:solidity.yul.test.yul_fuzzer.Data) |
14560 | 20.4k | size_t total_size = 0; |
14561 | | |
14562 | | // required string hex = 1; |
14563 | 20.4k | if (_internal_has_hex()) { |
14564 | 20.4k | total_size += 1 + |
14565 | 20.4k | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( |
14566 | 20.4k | this->_internal_hex()); |
14567 | 20.4k | } |
14568 | 20.4k | uint32_t cached_has_bits = 0; |
14569 | | // Prevent compiler warnings about cached_has_bits being unused |
14570 | 20.4k | (void) cached_has_bits; |
14571 | | |
14572 | 20.4k | return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); |
14573 | 20.4k | } |
14574 | | |
14575 | | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData Data::_class_data_ = { |
14576 | | ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, |
14577 | | Data::MergeImpl |
14578 | | }; |
14579 | 0 | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*Data::GetClassData() const { return &_class_data_; } |
14580 | | |
14581 | | |
14582 | 0 | void Data::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { |
14583 | 0 | auto* const _this = static_cast<Data*>(&to_msg); |
14584 | 0 | auto& from = static_cast<const Data&>(from_msg); |
14585 | | // @@protoc_insertion_point(class_specific_merge_from_start:solidity.yul.test.yul_fuzzer.Data) |
14586 | 0 | GOOGLE_DCHECK_NE(&from, _this); |
14587 | 0 | uint32_t cached_has_bits = 0; |
14588 | 0 | (void) cached_has_bits; |
14589 | |
|
14590 | 0 | if (from._internal_has_hex()) { |
14591 | 0 | _this->_internal_set_hex(from._internal_hex()); |
14592 | 0 | } |
14593 | 0 | _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); |
14594 | 0 | } |
14595 | | |
14596 | 0 | void Data::CopyFrom(const Data& from) { |
14597 | | // @@protoc_insertion_point(class_specific_copy_from_start:solidity.yul.test.yul_fuzzer.Data) |
14598 | 0 | if (&from == this) return; |
14599 | 0 | Clear(); |
14600 | 0 | MergeFrom(from); |
14601 | 0 | } |
14602 | | |
14603 | 0 | bool Data::IsInitialized() const { |
14604 | 0 | if (_Internal::MissingRequiredFields(_impl_._has_bits_)) return false; |
14605 | 0 | return true; |
14606 | 0 | } |
14607 | | |
14608 | 0 | void Data::InternalSwap(Data* other) { |
14609 | 0 | using std::swap; |
14610 | 0 | auto* lhs_arena = GetArenaForAllocation(); |
14611 | 0 | auto* rhs_arena = other->GetArenaForAllocation(); |
14612 | 0 | _internal_metadata_.InternalSwap(&other->_internal_metadata_); |
14613 | 0 | swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); |
14614 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( |
14615 | 0 | &_impl_.hex_, lhs_arena, |
14616 | 0 | &other->_impl_.hex_, rhs_arena |
14617 | 0 | ); |
14618 | 0 | } |
14619 | | |
14620 | 215k | ::PROTOBUF_NAMESPACE_ID::Metadata Data::GetMetadata() const { |
14621 | 215k | return ::_pbi::AssignDescriptors( |
14622 | 215k | &descriptor_table_yulProto_2eproto_getter, &descriptor_table_yulProto_2eproto_once, |
14623 | 215k | file_level_metadata_yulProto_2eproto[38]); |
14624 | 215k | } |
14625 | | |
14626 | | // =================================================================== |
14627 | | |
14628 | | class Program::_Internal { |
14629 | | public: |
14630 | | using HasBits = decltype(std::declval<Program>()._impl_._has_bits_); |
14631 | | static const ::solidity::yul::test::yul_fuzzer::Block& block(const Program* msg); |
14632 | | static const ::solidity::yul::test::yul_fuzzer::Object& obj(const Program* msg); |
14633 | 0 | static void set_has_ver(HasBits* has_bits) { |
14634 | 0 | (*has_bits)[0] |= 1u; |
14635 | 0 | } |
14636 | 0 | static void set_has_step(HasBits* has_bits) { |
14637 | 0 | (*has_bits)[0] |= 2u; |
14638 | 0 | } |
14639 | 0 | static bool MissingRequiredFields(const HasBits& has_bits) { |
14640 | 0 | return ((has_bits[0] & 0x00000003) ^ 0x00000003) != 0; |
14641 | 0 | } |
14642 | | }; |
14643 | | |
14644 | | const ::solidity::yul::test::yul_fuzzer::Block& |
14645 | 0 | Program::_Internal::block(const Program* msg) { |
14646 | 0 | return *msg->_impl_.program_oneof_.block_; |
14647 | 0 | } |
14648 | | const ::solidity::yul::test::yul_fuzzer::Object& |
14649 | 0 | Program::_Internal::obj(const Program* msg) { |
14650 | 0 | return *msg->_impl_.program_oneof_.obj_; |
14651 | 0 | } |
14652 | 23 | void Program::set_allocated_block(::solidity::yul::test::yul_fuzzer::Block* block) { |
14653 | 23 | ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); |
14654 | 23 | clear_program_oneof(); |
14655 | 23 | if (block) { |
14656 | 23 | ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = |
14657 | 23 | ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(block); |
14658 | 23 | if (message_arena != submessage_arena) { |
14659 | 0 | block = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( |
14660 | 0 | message_arena, block, submessage_arena); |
14661 | 0 | } |
14662 | 23 | set_has_block(); |
14663 | 23 | _impl_.program_oneof_.block_ = block; |
14664 | 23 | } |
14665 | | // @@protoc_insertion_point(field_set_allocated:solidity.yul.test.yul_fuzzer.Program.block) |
14666 | 23 | } |
14667 | 0 | void Program::set_allocated_obj(::solidity::yul::test::yul_fuzzer::Object* obj) { |
14668 | 0 | ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); |
14669 | 0 | clear_program_oneof(); |
14670 | 0 | if (obj) { |
14671 | 0 | ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = |
14672 | 0 | ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(obj); |
14673 | 0 | if (message_arena != submessage_arena) { |
14674 | 0 | obj = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( |
14675 | 0 | message_arena, obj, submessage_arena); |
14676 | 0 | } |
14677 | 0 | set_has_obj(); |
14678 | 0 | _impl_.program_oneof_.obj_ = obj; |
14679 | 0 | } |
14680 | | // @@protoc_insertion_point(field_set_allocated:solidity.yul.test.yul_fuzzer.Program.obj) |
14681 | 0 | } |
14682 | | Program::Program(::PROTOBUF_NAMESPACE_ID::Arena* arena, |
14683 | | bool is_message_owned) |
14684 | 66.2k | : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { |
14685 | 66.2k | SharedCtor(arena, is_message_owned); |
14686 | | // @@protoc_insertion_point(arena_constructor:solidity.yul.test.yul_fuzzer.Program) |
14687 | 66.2k | } |
14688 | | Program::Program(const Program& from) |
14689 | 0 | : ::PROTOBUF_NAMESPACE_ID::Message() { |
14690 | 0 | Program* const _this = this; (void)_this; |
14691 | 0 | new (&_impl_) Impl_{ |
14692 | 0 | decltype(_impl_._has_bits_){from._impl_._has_bits_} |
14693 | 0 | , /*decltype(_impl_._cached_size_)*/{} |
14694 | 0 | , decltype(_impl_.ver_){} |
14695 | 0 | , decltype(_impl_.step_){} |
14696 | 0 | , decltype(_impl_.program_oneof_){} |
14697 | 0 | , /*decltype(_impl_._oneof_case_)*/{}}; |
14698 | |
|
14699 | 0 | _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); |
14700 | 0 | ::memcpy(&_impl_.ver_, &from._impl_.ver_, |
14701 | 0 | static_cast<size_t>(reinterpret_cast<char*>(&_impl_.step_) - |
14702 | 0 | reinterpret_cast<char*>(&_impl_.ver_)) + sizeof(_impl_.step_)); |
14703 | 0 | clear_has_program_oneof(); |
14704 | 0 | switch (from.program_oneof_case()) { |
14705 | 0 | case kBlock: { |
14706 | 0 | _this->_internal_mutable_block()->::solidity::yul::test::yul_fuzzer::Block::MergeFrom( |
14707 | 0 | from._internal_block()); |
14708 | 0 | break; |
14709 | 0 | } |
14710 | 0 | case kObj: { |
14711 | 0 | _this->_internal_mutable_obj()->::solidity::yul::test::yul_fuzzer::Object::MergeFrom( |
14712 | 0 | from._internal_obj()); |
14713 | 0 | break; |
14714 | 0 | } |
14715 | 0 | case PROGRAM_ONEOF_NOT_SET: { |
14716 | 0 | break; |
14717 | 0 | } |
14718 | 0 | } |
14719 | | // @@protoc_insertion_point(copy_constructor:solidity.yul.test.yul_fuzzer.Program) |
14720 | 0 | } |
14721 | | |
14722 | | inline void Program::SharedCtor( |
14723 | 66.2k | ::_pb::Arena* arena, bool is_message_owned) { |
14724 | 66.2k | (void)arena; |
14725 | 66.2k | (void)is_message_owned; |
14726 | 66.2k | new (&_impl_) Impl_{ |
14727 | 66.2k | decltype(_impl_._has_bits_){} |
14728 | 66.2k | , /*decltype(_impl_._cached_size_)*/{} |
14729 | 66.2k | , decltype(_impl_.ver_){0} |
14730 | 66.2k | , decltype(_impl_.step_){0u} |
14731 | 66.2k | , decltype(_impl_.program_oneof_){} |
14732 | 66.2k | , /*decltype(_impl_._oneof_case_)*/{} |
14733 | 66.2k | }; |
14734 | 66.2k | clear_has_program_oneof(); |
14735 | 66.2k | } |
14736 | | |
14737 | 66.2k | Program::~Program() { |
14738 | | // @@protoc_insertion_point(destructor:solidity.yul.test.yul_fuzzer.Program) |
14739 | 66.2k | if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { |
14740 | 0 | (void)arena; |
14741 | 0 | return; |
14742 | 0 | } |
14743 | 66.2k | SharedDtor(); |
14744 | 66.2k | } |
14745 | | |
14746 | 66.2k | inline void Program::SharedDtor() { |
14747 | 66.2k | GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); |
14748 | 66.2k | if (has_program_oneof()) { |
14749 | 64.4k | clear_program_oneof(); |
14750 | 64.4k | } |
14751 | 66.2k | } |
14752 | | |
14753 | 0 | void Program::SetCachedSize(int size) const { |
14754 | 0 | _impl_._cached_size_.Set(size); |
14755 | 0 | } |
14756 | | |
14757 | 198k | void Program::clear_program_oneof() { |
14758 | | // @@protoc_insertion_point(one_of_clear_start:solidity.yul.test.yul_fuzzer.Program) |
14759 | 198k | switch (program_oneof_case()) { |
14760 | 57.8k | case kBlock: { |
14761 | 57.8k | if (GetArenaForAllocation() == nullptr) { |
14762 | 57.8k | delete _impl_.program_oneof_.block_; |
14763 | 57.8k | } |
14764 | 57.8k | break; |
14765 | 0 | } |
14766 | 8.25k | case kObj: { |
14767 | 8.25k | if (GetArenaForAllocation() == nullptr) { |
14768 | 8.25k | delete _impl_.program_oneof_.obj_; |
14769 | 8.25k | } |
14770 | 8.25k | break; |
14771 | 0 | } |
14772 | 132k | case PROGRAM_ONEOF_NOT_SET: { |
14773 | 132k | break; |
14774 | 0 | } |
14775 | 198k | } |
14776 | 198k | _impl_._oneof_case_[0] = PROGRAM_ONEOF_NOT_SET; |
14777 | 198k | } |
14778 | | |
14779 | | |
14780 | 134k | void Program::Clear() { |
14781 | | // @@protoc_insertion_point(message_clear_start:solidity.yul.test.yul_fuzzer.Program) |
14782 | 134k | uint32_t cached_has_bits = 0; |
14783 | | // Prevent compiler warnings about cached_has_bits being unused |
14784 | 134k | (void) cached_has_bits; |
14785 | | |
14786 | 134k | cached_has_bits = _impl_._has_bits_[0]; |
14787 | 134k | if (cached_has_bits & 0x00000003u) { |
14788 | 14 | ::memset(&_impl_.ver_, 0, static_cast<size_t>( |
14789 | 14 | reinterpret_cast<char*>(&_impl_.step_) - |
14790 | 14 | reinterpret_cast<char*>(&_impl_.ver_)) + sizeof(_impl_.step_)); |
14791 | 14 | } |
14792 | 134k | clear_program_oneof(); |
14793 | 134k | _impl_._has_bits_.Clear(); |
14794 | 134k | _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); |
14795 | 134k | } |
14796 | | |
14797 | 0 | const char* Program::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { |
14798 | 0 | #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure |
14799 | 0 | _Internal::HasBits has_bits{}; |
14800 | 0 | while (!ctx->Done(&ptr)) { |
14801 | 0 | uint32_t tag; |
14802 | 0 | ptr = ::_pbi::ReadTag(ptr, &tag); |
14803 | 0 | switch (tag >> 3) { |
14804 | | // .solidity.yul.test.yul_fuzzer.Block block = 1; |
14805 | 0 | case 1: |
14806 | 0 | if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 10)) { |
14807 | 0 | ptr = ctx->ParseMessage(_internal_mutable_block(), ptr); |
14808 | 0 | CHK_(ptr); |
14809 | 0 | } else |
14810 | 0 | goto handle_unusual; |
14811 | 0 | continue; |
14812 | | // .solidity.yul.test.yul_fuzzer.Object obj = 2; |
14813 | 0 | case 2: |
14814 | 0 | if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 18)) { |
14815 | 0 | ptr = ctx->ParseMessage(_internal_mutable_obj(), ptr); |
14816 | 0 | CHK_(ptr); |
14817 | 0 | } else |
14818 | 0 | goto handle_unusual; |
14819 | 0 | continue; |
14820 | | // required .solidity.yul.test.yul_fuzzer.Program.Version ver = 3; |
14821 | 0 | case 3: |
14822 | 0 | if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 24)) { |
14823 | 0 | uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); |
14824 | 0 | CHK_(ptr); |
14825 | 0 | if (PROTOBUF_PREDICT_TRUE(::solidity::yul::test::yul_fuzzer::Program_Version_IsValid(val))) { |
14826 | 0 | _internal_set_ver(static_cast<::solidity::yul::test::yul_fuzzer::Program_Version>(val)); |
14827 | 0 | } else { |
14828 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::WriteVarint(3, val, mutable_unknown_fields()); |
14829 | 0 | } |
14830 | 0 | } else |
14831 | 0 | goto handle_unusual; |
14832 | 0 | continue; |
14833 | | // required uint32 step = 4; |
14834 | 0 | case 4: |
14835 | 0 | if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 32)) { |
14836 | 0 | _Internal::set_has_step(&has_bits); |
14837 | 0 | _impl_.step_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); |
14838 | 0 | CHK_(ptr); |
14839 | 0 | } else |
14840 | 0 | goto handle_unusual; |
14841 | 0 | continue; |
14842 | 0 | default: |
14843 | 0 | goto handle_unusual; |
14844 | 0 | } // switch |
14845 | 0 | handle_unusual: |
14846 | 0 | if ((tag == 0) || ((tag & 7) == 4)) { |
14847 | 0 | CHK_(ptr); |
14848 | 0 | ctx->SetLastTag(tag); |
14849 | 0 | goto message_done; |
14850 | 0 | } |
14851 | 0 | ptr = UnknownFieldParse( |
14852 | 0 | tag, |
14853 | 0 | _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), |
14854 | 0 | ptr, ctx); |
14855 | 0 | CHK_(ptr != nullptr); |
14856 | 0 | } // while |
14857 | 0 | message_done: |
14858 | 0 | _impl_._has_bits_.Or(has_bits); |
14859 | 0 | return ptr; |
14860 | 0 | failure: |
14861 | 0 | ptr = nullptr; |
14862 | 0 | goto message_done; |
14863 | 0 | #undef CHK_ |
14864 | 0 | } |
14865 | | |
14866 | | uint8_t* Program::_InternalSerialize( |
14867 | 0 | uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { |
14868 | | // @@protoc_insertion_point(serialize_to_array_start:solidity.yul.test.yul_fuzzer.Program) |
14869 | 0 | uint32_t cached_has_bits = 0; |
14870 | 0 | (void) cached_has_bits; |
14871 | |
|
14872 | 0 | switch (program_oneof_case()) { |
14873 | 0 | case kBlock: { |
14874 | 0 | target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: |
14875 | 0 | InternalWriteMessage(1, _Internal::block(this), |
14876 | 0 | _Internal::block(this).GetCachedSize(), target, stream); |
14877 | 0 | break; |
14878 | 0 | } |
14879 | 0 | case kObj: { |
14880 | 0 | target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: |
14881 | 0 | InternalWriteMessage(2, _Internal::obj(this), |
14882 | 0 | _Internal::obj(this).GetCachedSize(), target, stream); |
14883 | 0 | break; |
14884 | 0 | } |
14885 | 0 | default: ; |
14886 | 0 | } |
14887 | 0 | cached_has_bits = _impl_._has_bits_[0]; |
14888 | | // required .solidity.yul.test.yul_fuzzer.Program.Version ver = 3; |
14889 | 0 | if (cached_has_bits & 0x00000001u) { |
14890 | 0 | target = stream->EnsureSpace(target); |
14891 | 0 | target = ::_pbi::WireFormatLite::WriteEnumToArray( |
14892 | 0 | 3, this->_internal_ver(), target); |
14893 | 0 | } |
14894 | | |
14895 | | // required uint32 step = 4; |
14896 | 0 | if (cached_has_bits & 0x00000002u) { |
14897 | 0 | target = stream->EnsureSpace(target); |
14898 | 0 | target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_step(), target); |
14899 | 0 | } |
14900 | |
|
14901 | 0 | if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { |
14902 | 0 | target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( |
14903 | 0 | _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); |
14904 | 0 | } |
14905 | | // @@protoc_insertion_point(serialize_to_array_end:solidity.yul.test.yul_fuzzer.Program) |
14906 | 0 | return target; |
14907 | 0 | } |
14908 | | |
14909 | 0 | size_t Program::RequiredFieldsByteSizeFallback() const { |
14910 | | // @@protoc_insertion_point(required_fields_byte_size_fallback_start:solidity.yul.test.yul_fuzzer.Program) |
14911 | 0 | size_t total_size = 0; |
14912 | |
|
14913 | 0 | if (_internal_has_ver()) { |
14914 | | // required .solidity.yul.test.yul_fuzzer.Program.Version ver = 3; |
14915 | 0 | total_size += 1 + |
14916 | 0 | ::_pbi::WireFormatLite::EnumSize(this->_internal_ver()); |
14917 | 0 | } |
14918 | |
|
14919 | 0 | if (_internal_has_step()) { |
14920 | | // required uint32 step = 4; |
14921 | 0 | total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_step()); |
14922 | 0 | } |
14923 | |
|
14924 | 0 | return total_size; |
14925 | 0 | } |
14926 | 64.5k | size_t Program::ByteSizeLong() const { |
14927 | | // @@protoc_insertion_point(message_byte_size_start:solidity.yul.test.yul_fuzzer.Program) |
14928 | 64.5k | size_t total_size = 0; |
14929 | | |
14930 | 64.5k | if (((_impl_._has_bits_[0] & 0x00000003) ^ 0x00000003) == 0) { // All required fields are present. |
14931 | | // required .solidity.yul.test.yul_fuzzer.Program.Version ver = 3; |
14932 | 64.5k | total_size += 1 + |
14933 | 64.5k | ::_pbi::WireFormatLite::EnumSize(this->_internal_ver()); |
14934 | | |
14935 | | // required uint32 step = 4; |
14936 | 64.5k | total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_step()); |
14937 | | |
14938 | 64.5k | } else { |
14939 | 0 | total_size += RequiredFieldsByteSizeFallback(); |
14940 | 0 | } |
14941 | 64.5k | uint32_t cached_has_bits = 0; |
14942 | | // Prevent compiler warnings about cached_has_bits being unused |
14943 | 64.5k | (void) cached_has_bits; |
14944 | | |
14945 | 64.5k | switch (program_oneof_case()) { |
14946 | | // .solidity.yul.test.yul_fuzzer.Block block = 1; |
14947 | 56.4k | case kBlock: { |
14948 | 56.4k | total_size += 1 + |
14949 | 56.4k | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
14950 | 56.4k | *_impl_.program_oneof_.block_); |
14951 | 56.4k | break; |
14952 | 0 | } |
14953 | | // .solidity.yul.test.yul_fuzzer.Object obj = 2; |
14954 | 8.01k | case kObj: { |
14955 | 8.01k | total_size += 1 + |
14956 | 8.01k | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
14957 | 8.01k | *_impl_.program_oneof_.obj_); |
14958 | 8.01k | break; |
14959 | 0 | } |
14960 | 116 | case PROGRAM_ONEOF_NOT_SET: { |
14961 | 116 | break; |
14962 | 0 | } |
14963 | 64.5k | } |
14964 | 64.5k | return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); |
14965 | 64.5k | } |
14966 | | |
14967 | | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData Program::_class_data_ = { |
14968 | | ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, |
14969 | | Program::MergeImpl |
14970 | | }; |
14971 | 0 | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*Program::GetClassData() const { return &_class_data_; } |
14972 | | |
14973 | | |
14974 | 0 | void Program::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { |
14975 | 0 | auto* const _this = static_cast<Program*>(&to_msg); |
14976 | 0 | auto& from = static_cast<const Program&>(from_msg); |
14977 | | // @@protoc_insertion_point(class_specific_merge_from_start:solidity.yul.test.yul_fuzzer.Program) |
14978 | 0 | GOOGLE_DCHECK_NE(&from, _this); |
14979 | 0 | uint32_t cached_has_bits = 0; |
14980 | 0 | (void) cached_has_bits; |
14981 | |
|
14982 | 0 | cached_has_bits = from._impl_._has_bits_[0]; |
14983 | 0 | if (cached_has_bits & 0x00000003u) { |
14984 | 0 | if (cached_has_bits & 0x00000001u) { |
14985 | 0 | _this->_impl_.ver_ = from._impl_.ver_; |
14986 | 0 | } |
14987 | 0 | if (cached_has_bits & 0x00000002u) { |
14988 | 0 | _this->_impl_.step_ = from._impl_.step_; |
14989 | 0 | } |
14990 | 0 | _this->_impl_._has_bits_[0] |= cached_has_bits; |
14991 | 0 | } |
14992 | 0 | switch (from.program_oneof_case()) { |
14993 | 0 | case kBlock: { |
14994 | 0 | _this->_internal_mutable_block()->::solidity::yul::test::yul_fuzzer::Block::MergeFrom( |
14995 | 0 | from._internal_block()); |
14996 | 0 | break; |
14997 | 0 | } |
14998 | 0 | case kObj: { |
14999 | 0 | _this->_internal_mutable_obj()->::solidity::yul::test::yul_fuzzer::Object::MergeFrom( |
15000 | 0 | from._internal_obj()); |
15001 | 0 | break; |
15002 | 0 | } |
15003 | 0 | case PROGRAM_ONEOF_NOT_SET: { |
15004 | 0 | break; |
15005 | 0 | } |
15006 | 0 | } |
15007 | 0 | _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); |
15008 | 0 | } |
15009 | | |
15010 | 0 | void Program::CopyFrom(const Program& from) { |
15011 | | // @@protoc_insertion_point(class_specific_copy_from_start:solidity.yul.test.yul_fuzzer.Program) |
15012 | 0 | if (&from == this) return; |
15013 | 0 | Clear(); |
15014 | 0 | MergeFrom(from); |
15015 | 0 | } |
15016 | | |
15017 | 0 | bool Program::IsInitialized() const { |
15018 | 0 | if (_Internal::MissingRequiredFields(_impl_._has_bits_)) return false; |
15019 | 0 | switch (program_oneof_case()) { |
15020 | 0 | case kBlock: { |
15021 | 0 | if (_internal_has_block()) { |
15022 | 0 | if (!_impl_.program_oneof_.block_->IsInitialized()) return false; |
15023 | 0 | } |
15024 | 0 | break; |
15025 | 0 | } |
15026 | 0 | case kObj: { |
15027 | 0 | if (_internal_has_obj()) { |
15028 | 0 | if (!_impl_.program_oneof_.obj_->IsInitialized()) return false; |
15029 | 0 | } |
15030 | 0 | break; |
15031 | 0 | } |
15032 | 0 | case PROGRAM_ONEOF_NOT_SET: { |
15033 | 0 | break; |
15034 | 0 | } |
15035 | 0 | } |
15036 | 0 | return true; |
15037 | 0 | } |
15038 | | |
15039 | 0 | void Program::InternalSwap(Program* other) { |
15040 | 0 | using std::swap; |
15041 | 0 | _internal_metadata_.InternalSwap(&other->_internal_metadata_); |
15042 | 0 | swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); |
15043 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::memswap< |
15044 | 0 | PROTOBUF_FIELD_OFFSET(Program, _impl_.step_) |
15045 | 0 | + sizeof(Program::_impl_.step_) |
15046 | 0 | - PROTOBUF_FIELD_OFFSET(Program, _impl_.ver_)>( |
15047 | 0 | reinterpret_cast<char*>(&_impl_.ver_), |
15048 | 0 | reinterpret_cast<char*>(&other->_impl_.ver_)); |
15049 | 0 | swap(_impl_.program_oneof_, other->_impl_.program_oneof_); |
15050 | 0 | swap(_impl_._oneof_case_[0], other->_impl_._oneof_case_[0]); |
15051 | 0 | } |
15052 | | |
15053 | 1.12M | ::PROTOBUF_NAMESPACE_ID::Metadata Program::GetMetadata() const { |
15054 | 1.12M | return ::_pbi::AssignDescriptors( |
15055 | 1.12M | &descriptor_table_yulProto_2eproto_getter, &descriptor_table_yulProto_2eproto_once, |
15056 | 1.12M | file_level_metadata_yulProto_2eproto[39]); |
15057 | 1.12M | } |
15058 | | |
15059 | | // @@protoc_insertion_point(namespace_scope) |
15060 | | } // namespace yul_fuzzer |
15061 | | } // namespace test |
15062 | | } // namespace yul |
15063 | | } // namespace solidity |
15064 | | PROTOBUF_NAMESPACE_OPEN |
15065 | | template<> PROTOBUF_NOINLINE ::solidity::yul::test::yul_fuzzer::VarDecl* |
15066 | 20.9k | Arena::CreateMaybeMessage< ::solidity::yul::test::yul_fuzzer::VarDecl >(Arena* arena) { |
15067 | 20.9k | return Arena::CreateMessageInternal< ::solidity::yul::test::yul_fuzzer::VarDecl >(arena); |
15068 | 20.9k | } |
15069 | | template<> PROTOBUF_NOINLINE ::solidity::yul::test::yul_fuzzer::MultiVarDecl* |
15070 | 26.4k | Arena::CreateMaybeMessage< ::solidity::yul::test::yul_fuzzer::MultiVarDecl >(Arena* arena) { |
15071 | 26.4k | return Arena::CreateMessageInternal< ::solidity::yul::test::yul_fuzzer::MultiVarDecl >(arena); |
15072 | 26.4k | } |
15073 | | template<> PROTOBUF_NOINLINE ::solidity::yul::test::yul_fuzzer::LowLevelCall* |
15074 | 47.9k | Arena::CreateMaybeMessage< ::solidity::yul::test::yul_fuzzer::LowLevelCall >(Arena* arena) { |
15075 | 47.9k | return Arena::CreateMessageInternal< ::solidity::yul::test::yul_fuzzer::LowLevelCall >(arena); |
15076 | 47.9k | } |
15077 | | template<> PROTOBUF_NOINLINE ::solidity::yul::test::yul_fuzzer::Create* |
15078 | 23.3k | Arena::CreateMaybeMessage< ::solidity::yul::test::yul_fuzzer::Create >(Arena* arena) { |
15079 | 23.3k | return Arena::CreateMessageInternal< ::solidity::yul::test::yul_fuzzer::Create >(arena); |
15080 | 23.3k | } |
15081 | | template<> PROTOBUF_NOINLINE ::solidity::yul::test::yul_fuzzer::FunctionCall* |
15082 | 349k | Arena::CreateMaybeMessage< ::solidity::yul::test::yul_fuzzer::FunctionCall >(Arena* arena) { |
15083 | 349k | return Arena::CreateMessageInternal< ::solidity::yul::test::yul_fuzzer::FunctionCall >(arena); |
15084 | 349k | } |
15085 | | template<> PROTOBUF_NOINLINE ::solidity::yul::test::yul_fuzzer::TypedVarDecl* |
15086 | 0 | Arena::CreateMaybeMessage< ::solidity::yul::test::yul_fuzzer::TypedVarDecl >(Arena* arena) { |
15087 | 0 | return Arena::CreateMessageInternal< ::solidity::yul::test::yul_fuzzer::TypedVarDecl >(arena); |
15088 | 0 | } |
15089 | | template<> PROTOBUF_NOINLINE ::solidity::yul::test::yul_fuzzer::VarRef* |
15090 | 288k | Arena::CreateMaybeMessage< ::solidity::yul::test::yul_fuzzer::VarRef >(Arena* arena) { |
15091 | 288k | return Arena::CreateMessageInternal< ::solidity::yul::test::yul_fuzzer::VarRef >(arena); |
15092 | 288k | } |
15093 | | template<> PROTOBUF_NOINLINE ::solidity::yul::test::yul_fuzzer::Literal* |
15094 | 320k | Arena::CreateMaybeMessage< ::solidity::yul::test::yul_fuzzer::Literal >(Arena* arena) { |
15095 | 320k | return Arena::CreateMessageInternal< ::solidity::yul::test::yul_fuzzer::Literal >(arena); |
15096 | 320k | } |
15097 | | template<> PROTOBUF_NOINLINE ::solidity::yul::test::yul_fuzzer::TypedLiteral* |
15098 | 0 | Arena::CreateMaybeMessage< ::solidity::yul::test::yul_fuzzer::TypedLiteral >(Arena* arena) { |
15099 | 0 | return Arena::CreateMessageInternal< ::solidity::yul::test::yul_fuzzer::TypedLiteral >(arena); |
15100 | 0 | } |
15101 | | template<> PROTOBUF_NOINLINE ::solidity::yul::test::yul_fuzzer::BinaryOp* |
15102 | 213k | Arena::CreateMaybeMessage< ::solidity::yul::test::yul_fuzzer::BinaryOp >(Arena* arena) { |
15103 | 213k | return Arena::CreateMessageInternal< ::solidity::yul::test::yul_fuzzer::BinaryOp >(arena); |
15104 | 213k | } |
15105 | | template<> PROTOBUF_NOINLINE ::solidity::yul::test::yul_fuzzer::UnaryOp* |
15106 | 103k | Arena::CreateMaybeMessage< ::solidity::yul::test::yul_fuzzer::UnaryOp >(Arena* arena) { |
15107 | 103k | return Arena::CreateMessageInternal< ::solidity::yul::test::yul_fuzzer::UnaryOp >(arena); |
15108 | 103k | } |
15109 | | template<> PROTOBUF_NOINLINE ::solidity::yul::test::yul_fuzzer::UnaryOpData* |
15110 | 53.3k | Arena::CreateMaybeMessage< ::solidity::yul::test::yul_fuzzer::UnaryOpData >(Arena* arena) { |
15111 | 53.3k | return Arena::CreateMessageInternal< ::solidity::yul::test::yul_fuzzer::UnaryOpData >(arena); |
15112 | 53.3k | } |
15113 | | template<> PROTOBUF_NOINLINE ::solidity::yul::test::yul_fuzzer::TernaryOp* |
15114 | 46.2k | Arena::CreateMaybeMessage< ::solidity::yul::test::yul_fuzzer::TernaryOp >(Arena* arena) { |
15115 | 46.2k | return Arena::CreateMessageInternal< ::solidity::yul::test::yul_fuzzer::TernaryOp >(arena); |
15116 | 46.2k | } |
15117 | | template<> PROTOBUF_NOINLINE ::solidity::yul::test::yul_fuzzer::CopyFunc* |
15118 | 22.5k | Arena::CreateMaybeMessage< ::solidity::yul::test::yul_fuzzer::CopyFunc >(Arena* arena) { |
15119 | 22.5k | return Arena::CreateMessageInternal< ::solidity::yul::test::yul_fuzzer::CopyFunc >(arena); |
15120 | 22.5k | } |
15121 | | template<> PROTOBUF_NOINLINE ::solidity::yul::test::yul_fuzzer::ExtCodeCopy* |
15122 | 28.6k | Arena::CreateMaybeMessage< ::solidity::yul::test::yul_fuzzer::ExtCodeCopy >(Arena* arena) { |
15123 | 28.6k | return Arena::CreateMessageInternal< ::solidity::yul::test::yul_fuzzer::ExtCodeCopy >(arena); |
15124 | 28.6k | } |
15125 | | template<> PROTOBUF_NOINLINE ::solidity::yul::test::yul_fuzzer::NullaryOp* |
15126 | 97.1k | Arena::CreateMaybeMessage< ::solidity::yul::test::yul_fuzzer::NullaryOp >(Arena* arena) { |
15127 | 97.1k | return Arena::CreateMessageInternal< ::solidity::yul::test::yul_fuzzer::NullaryOp >(arena); |
15128 | 97.1k | } |
15129 | | template<> PROTOBUF_NOINLINE ::solidity::yul::test::yul_fuzzer::StoreFunc* |
15130 | 174k | Arena::CreateMaybeMessage< ::solidity::yul::test::yul_fuzzer::StoreFunc >(Arena* arena) { |
15131 | 174k | return Arena::CreateMessageInternal< ::solidity::yul::test::yul_fuzzer::StoreFunc >(arena); |
15132 | 174k | } |
15133 | | template<> PROTOBUF_NOINLINE ::solidity::yul::test::yul_fuzzer::LogFunc* |
15134 | 18.5k | Arena::CreateMaybeMessage< ::solidity::yul::test::yul_fuzzer::LogFunc >(Arena* arena) { |
15135 | 18.5k | return Arena::CreateMessageInternal< ::solidity::yul::test::yul_fuzzer::LogFunc >(arena); |
15136 | 18.5k | } |
15137 | | template<> PROTOBUF_NOINLINE ::solidity::yul::test::yul_fuzzer::Expression* |
15138 | 4.30M | Arena::CreateMaybeMessage< ::solidity::yul::test::yul_fuzzer::Expression >(Arena* arena) { |
15139 | 4.30M | return Arena::CreateMessageInternal< ::solidity::yul::test::yul_fuzzer::Expression >(arena); |
15140 | 4.30M | } |
15141 | | template<> PROTOBUF_NOINLINE ::solidity::yul::test::yul_fuzzer::AssignmentStatement* |
15142 | 47.5k | Arena::CreateMaybeMessage< ::solidity::yul::test::yul_fuzzer::AssignmentStatement >(Arena* arena) { |
15143 | 47.5k | return Arena::CreateMessageInternal< ::solidity::yul::test::yul_fuzzer::AssignmentStatement >(arena); |
15144 | 47.5k | } |
15145 | | template<> PROTOBUF_NOINLINE ::solidity::yul::test::yul_fuzzer::IfStmt* |
15146 | 213k | Arena::CreateMaybeMessage< ::solidity::yul::test::yul_fuzzer::IfStmt >(Arena* arena) { |
15147 | 213k | return Arena::CreateMessageInternal< ::solidity::yul::test::yul_fuzzer::IfStmt >(arena); |
15148 | 213k | } |
15149 | | template<> PROTOBUF_NOINLINE ::solidity::yul::test::yul_fuzzer::BoundedForStmt* |
15150 | 221k | Arena::CreateMaybeMessage< ::solidity::yul::test::yul_fuzzer::BoundedForStmt >(Arena* arena) { |
15151 | 221k | return Arena::CreateMessageInternal< ::solidity::yul::test::yul_fuzzer::BoundedForStmt >(arena); |
15152 | 221k | } |
15153 | | template<> PROTOBUF_NOINLINE ::solidity::yul::test::yul_fuzzer::ForStmt* |
15154 | 201k | Arena::CreateMaybeMessage< ::solidity::yul::test::yul_fuzzer::ForStmt >(Arena* arena) { |
15155 | 201k | return Arena::CreateMessageInternal< ::solidity::yul::test::yul_fuzzer::ForStmt >(arena); |
15156 | 201k | } |
15157 | | template<> PROTOBUF_NOINLINE ::solidity::yul::test::yul_fuzzer::CaseStmt* |
15158 | 108k | Arena::CreateMaybeMessage< ::solidity::yul::test::yul_fuzzer::CaseStmt >(Arena* arena) { |
15159 | 108k | return Arena::CreateMessageInternal< ::solidity::yul::test::yul_fuzzer::CaseStmt >(arena); |
15160 | 108k | } |
15161 | | template<> PROTOBUF_NOINLINE ::solidity::yul::test::yul_fuzzer::SwitchStmt* |
15162 | 240k | Arena::CreateMaybeMessage< ::solidity::yul::test::yul_fuzzer::SwitchStmt >(Arena* arena) { |
15163 | 240k | return Arena::CreateMessageInternal< ::solidity::yul::test::yul_fuzzer::SwitchStmt >(arena); |
15164 | 240k | } |
15165 | | template<> PROTOBUF_NOINLINE ::solidity::yul::test::yul_fuzzer::BreakStmt* |
15166 | 230k | Arena::CreateMaybeMessage< ::solidity::yul::test::yul_fuzzer::BreakStmt >(Arena* arena) { |
15167 | 230k | return Arena::CreateMessageInternal< ::solidity::yul::test::yul_fuzzer::BreakStmt >(arena); |
15168 | 230k | } |
15169 | | template<> PROTOBUF_NOINLINE ::solidity::yul::test::yul_fuzzer::ContinueStmt* |
15170 | 222k | Arena::CreateMaybeMessage< ::solidity::yul::test::yul_fuzzer::ContinueStmt >(Arena* arena) { |
15171 | 222k | return Arena::CreateMessageInternal< ::solidity::yul::test::yul_fuzzer::ContinueStmt >(arena); |
15172 | 222k | } |
15173 | | template<> PROTOBUF_NOINLINE ::solidity::yul::test::yul_fuzzer::StopInvalidStmt* |
15174 | 6.53k | Arena::CreateMaybeMessage< ::solidity::yul::test::yul_fuzzer::StopInvalidStmt >(Arena* arena) { |
15175 | 6.53k | return Arena::CreateMessageInternal< ::solidity::yul::test::yul_fuzzer::StopInvalidStmt >(arena); |
15176 | 6.53k | } |
15177 | | template<> PROTOBUF_NOINLINE ::solidity::yul::test::yul_fuzzer::RetRevStmt* |
15178 | 6.64k | Arena::CreateMaybeMessage< ::solidity::yul::test::yul_fuzzer::RetRevStmt >(Arena* arena) { |
15179 | 6.64k | return Arena::CreateMessageInternal< ::solidity::yul::test::yul_fuzzer::RetRevStmt >(arena); |
15180 | 6.64k | } |
15181 | | template<> PROTOBUF_NOINLINE ::solidity::yul::test::yul_fuzzer::SelfDestructStmt* |
15182 | 6.77k | Arena::CreateMaybeMessage< ::solidity::yul::test::yul_fuzzer::SelfDestructStmt >(Arena* arena) { |
15183 | 6.77k | return Arena::CreateMessageInternal< ::solidity::yul::test::yul_fuzzer::SelfDestructStmt >(arena); |
15184 | 6.77k | } |
15185 | | template<> PROTOBUF_NOINLINE ::solidity::yul::test::yul_fuzzer::TerminatingStmt* |
15186 | 227k | Arena::CreateMaybeMessage< ::solidity::yul::test::yul_fuzzer::TerminatingStmt >(Arena* arena) { |
15187 | 227k | return Arena::CreateMessageInternal< ::solidity::yul::test::yul_fuzzer::TerminatingStmt >(arena); |
15188 | 227k | } |
15189 | | template<> PROTOBUF_NOINLINE ::solidity::yul::test::yul_fuzzer::FunctionDef* |
15190 | 188k | Arena::CreateMaybeMessage< ::solidity::yul::test::yul_fuzzer::FunctionDef >(Arena* arena) { |
15191 | 188k | return Arena::CreateMessageInternal< ::solidity::yul::test::yul_fuzzer::FunctionDef >(arena); |
15192 | 188k | } |
15193 | | template<> PROTOBUF_NOINLINE ::solidity::yul::test::yul_fuzzer::PopStmt* |
15194 | 28.0k | Arena::CreateMaybeMessage< ::solidity::yul::test::yul_fuzzer::PopStmt >(Arena* arena) { |
15195 | 28.0k | return Arena::CreateMessageInternal< ::solidity::yul::test::yul_fuzzer::PopStmt >(arena); |
15196 | 28.0k | } |
15197 | | template<> PROTOBUF_NOINLINE ::solidity::yul::test::yul_fuzzer::LeaveStmt* |
15198 | 224k | Arena::CreateMaybeMessage< ::solidity::yul::test::yul_fuzzer::LeaveStmt >(Arena* arena) { |
15199 | 224k | return Arena::CreateMessageInternal< ::solidity::yul::test::yul_fuzzer::LeaveStmt >(arena); |
15200 | 224k | } |
15201 | | template<> PROTOBUF_NOINLINE ::solidity::yul::test::yul_fuzzer::Statement* |
15202 | 3.81M | Arena::CreateMaybeMessage< ::solidity::yul::test::yul_fuzzer::Statement >(Arena* arena) { |
15203 | 3.81M | return Arena::CreateMessageInternal< ::solidity::yul::test::yul_fuzzer::Statement >(arena); |
15204 | 3.81M | } |
15205 | | template<> PROTOBUF_NOINLINE ::solidity::yul::test::yul_fuzzer::Block* |
15206 | 2.06M | Arena::CreateMaybeMessage< ::solidity::yul::test::yul_fuzzer::Block >(Arena* arena) { |
15207 | 2.06M | return Arena::CreateMessageInternal< ::solidity::yul::test::yul_fuzzer::Block >(arena); |
15208 | 2.06M | } |
15209 | | template<> PROTOBUF_NOINLINE ::solidity::yul::test::yul_fuzzer::Object* |
15210 | 84.5k | Arena::CreateMaybeMessage< ::solidity::yul::test::yul_fuzzer::Object >(Arena* arena) { |
15211 | 84.5k | return Arena::CreateMessageInternal< ::solidity::yul::test::yul_fuzzer::Object >(arena); |
15212 | 84.5k | } |
15213 | | template<> PROTOBUF_NOINLINE ::solidity::yul::test::yul_fuzzer::Code* |
15214 | 84.3k | Arena::CreateMaybeMessage< ::solidity::yul::test::yul_fuzzer::Code >(Arena* arena) { |
15215 | 84.3k | return Arena::CreateMessageInternal< ::solidity::yul::test::yul_fuzzer::Code >(arena); |
15216 | 84.3k | } |
15217 | | template<> PROTOBUF_NOINLINE ::solidity::yul::test::yul_fuzzer::Data* |
15218 | 21.5k | Arena::CreateMaybeMessage< ::solidity::yul::test::yul_fuzzer::Data >(Arena* arena) { |
15219 | 21.5k | return Arena::CreateMessageInternal< ::solidity::yul::test::yul_fuzzer::Data >(arena); |
15220 | 21.5k | } |
15221 | | template<> PROTOBUF_NOINLINE ::solidity::yul::test::yul_fuzzer::Program* |
15222 | 0 | Arena::CreateMaybeMessage< ::solidity::yul::test::yul_fuzzer::Program >(Arena* arena) { |
15223 | 0 | return Arena::CreateMessageInternal< ::solidity::yul::test::yul_fuzzer::Program >(arena); |
15224 | 0 | } |
15225 | | PROTOBUF_NAMESPACE_CLOSE |
15226 | | |
15227 | | // @@protoc_insertion_point(global_scope) |
15228 | | #include <google/protobuf/port_undef.inc> |