/src/solidity/test/tools/ossfuzz/yulProto.pb.cc
Line | Count | Source (jump to first uncovered line) |
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\"\331" |
1276 | | "\002\n\tNullaryOp\0227\n\002op\030\001 \002(\0162+.solidity.yul." |
1277 | | "test.yul_fuzzer.NullaryOp.NOp\"\222\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\"\362\001\n\tStoreFunc" |
1285 | | "\0225\n\003loc\030\001 \002(\0132(.solidity.yul.test.yul_fu" |
1286 | | "zzer.Expression\0225\n\003val\030\002 \002(\0132(.solidity." |
1287 | | "yul.test.yul_fuzzer.Expression\022;\n\002st\030\003 \002" |
1288 | | "(\0162/.solidity.yul.test.yul_fuzzer.StoreF" |
1289 | | "unc.Storage\":\n\007Storage\022\n\n\006MSTORE\020\000\022\n\n\006SS" |
1290 | | "TORE\020\001\022\013\n\007MSTORE8\020\002\022\n\n\006TSTORE\020\003\"\323\003\n\007LogF" |
1291 | | "unc\0225\n\003pos\030\001 \002(\0132(.solidity.yul.test.yul" |
1292 | | "_fuzzer.Expression\0226\n\004size\030\002 \002(\0132(.solid" |
1293 | | "ity.yul.test.yul_fuzzer.Expression\022C\n\nnu" |
1294 | | "m_topics\030\003 \002(\0162/.solidity.yul.test.yul_f" |
1295 | | "uzzer.LogFunc.NumTopics\0224\n\002t1\030\004 \002(\0132(.so" |
1296 | | "lidity.yul.test.yul_fuzzer.Expression\0224\n" |
1297 | | "\002t2\030\005 \002(\0132(.solidity.yul.test.yul_fuzzer" |
1298 | | ".Expression\0224\n\002t3\030\006 \002(\0132(.solidity.yul.t" |
1299 | | "est.yul_fuzzer.Expression\0224\n\002t4\030\007 \002(\0132(." |
1300 | | "solidity.yul.test.yul_fuzzer.Expression\"" |
1301 | | "<\n\tNumTopics\022\010\n\004ZERO\020\000\022\007\n\003ONE\020\001\022\007\n\003TWO\020\002" |
1302 | | "\022\t\n\005THREE\020\003\022\010\n\004FOUR\020\004\"\340\004\n\nExpression\0226\n\006" |
1303 | | "varref\030\001 \001(\0132$.solidity.yul.test.yul_fuz" |
1304 | | "zer.VarRefH\000\0225\n\004cons\030\002 \001(\0132%.solidity.yu" |
1305 | | "l.test.yul_fuzzer.LiteralH\000\0227\n\005binop\030\003 \001" |
1306 | | "(\0132&.solidity.yul.test.yul_fuzzer.Binary" |
1307 | | "OpH\000\0225\n\004unop\030\004 \001(\0132%.solidity.yul.test.y" |
1308 | | "ul_fuzzer.UnaryOpH\000\0226\n\003top\030\005 \001(\0132\'.solid" |
1309 | | "ity.yul.test.yul_fuzzer.TernaryOpH\000\0226\n\003n" |
1310 | | "op\030\006 \001(\0132\'.solidity.yul.test.yul_fuzzer." |
1311 | | "NullaryOpH\000\022\?\n\tfunc_expr\030\007 \001(\0132*.solidit" |
1312 | | "y.yul.test.yul_fuzzer.FunctionCallH\000\022=\n\007" |
1313 | | "lowcall\030\010 \001(\0132*.solidity.yul.test.yul_fu" |
1314 | | "zzer.LowLevelCallH\000\0226\n\006create\030\t \001(\0132$.so" |
1315 | | "lidity.yul.test.yul_fuzzer.CreateH\000\022=\n\010u" |
1316 | | "nopdata\030\n \001(\0132).solidity.yul.test.yul_fu" |
1317 | | "zzer.UnaryOpDataH\000B\014\n\nexpr_oneof\"\203\001\n\023Ass" |
1318 | | "ignmentStatement\0224\n\006ref_id\030\001 \002(\0132$.solid" |
1319 | | "ity.yul.test.yul_fuzzer.VarRef\0226\n\004expr\030\002" |
1320 | | " \002(\0132(.solidity.yul.test.yul_fuzzer.Expr" |
1321 | | "ession\"v\n\006IfStmt\0226\n\004cond\030\001 \002(\0132(.solidit" |
1322 | | "y.yul.test.yul_fuzzer.Expression\0224\n\007if_b" |
1323 | | "ody\030\002 \002(\0132#.solidity.yul.test.yul_fuzzer" |
1324 | | ".Block\"G\n\016BoundedForStmt\0225\n\010for_body\030\001 \002" |
1325 | | "(\0132#.solidity.yul.test.yul_fuzzer.Block\"" |
1326 | | "\352\001\n\007ForStmt\0225\n\010for_body\030\001 \002(\0132#.solidity" |
1327 | | ".yul.test.yul_fuzzer.Block\0225\n\010for_init\030\002" |
1328 | | " \002(\0132#.solidity.yul.test.yul_fuzzer.Bloc" |
1329 | | "k\0225\n\010for_post\030\003 \002(\0132#.solidity.yul.test." |
1330 | | "yul_fuzzer.Block\022:\n\010for_cond\030\004 \002(\0132(.sol" |
1331 | | "idity.yul.test.yul_fuzzer.Expression\"|\n\010" |
1332 | | "CaseStmt\0227\n\010case_lit\030\001 \002(\0132%.solidity.yu" |
1333 | | "l.test.yul_fuzzer.Literal\0227\n\ncase_block\030" |
1334 | | "\002 \002(\0132#.solidity.yul.test.yul_fuzzer.Blo" |
1335 | | "ck\"\302\001\n\nSwitchStmt\022=\n\013switch_expr\030\001 \002(\0132(" |
1336 | | ".solidity.yul.test.yul_fuzzer.Expression" |
1337 | | "\0229\n\tcase_stmt\030\002 \003(\0132&.solidity.yul.test." |
1338 | | "yul_fuzzer.CaseStmt\022:\n\rdefault_block\030\003 \001" |
1339 | | "(\0132#.solidity.yul.test.yul_fuzzer.Block\"" |
1340 | | "\013\n\tBreakStmt\"\016\n\014ContinueStmt\"r\n\017StopInva" |
1341 | | "lidStmt\022@\n\004stmt\030\001 \002(\01622.solidity.yul.tes" |
1342 | | "t.yul_fuzzer.StopInvalidStmt.Type\"\035\n\004Typ" |
1343 | | "e\022\010\n\004STOP\020\000\022\013\n\007INVALID\020\001\"\330\001\n\nRetRevStmt\022" |
1344 | | ";\n\004stmt\030\001 \002(\0162-.solidity.yul.test.yul_fu" |
1345 | | "zzer.RetRevStmt.Type\0225\n\003pos\030\002 \002(\0132(.soli" |
1346 | | "dity.yul.test.yul_fuzzer.Expression\0226\n\004s" |
1347 | | "ize\030\003 \002(\0132(.solidity.yul.test.yul_fuzzer" |
1348 | | ".Expression\"\036\n\004Type\022\n\n\006RETURN\020\000\022\n\n\006REVER" |
1349 | | "T\020\001\"J\n\020SelfDestructStmt\0226\n\004addr\030\001 \002(\0132(." |
1350 | | "solidity.yul.test.yul_fuzzer.Expression\"" |
1351 | | "\347\001\n\017TerminatingStmt\022E\n\014stop_invalid\030\001 \001(" |
1352 | | "\0132-.solidity.yul.test.yul_fuzzer.StopInv" |
1353 | | "alidStmtH\000\022;\n\007ret_rev\030\002 \001(\0132(.solidity.y" |
1354 | | "ul.test.yul_fuzzer.RetRevStmtH\000\022B\n\010self_" |
1355 | | "des\030\003 \001(\0132..solidity.yul.test.yul_fuzzer" |
1356 | | ".SelfDestructStmtH\000B\014\n\nterm_oneof\"\212\001\n\013Fu" |
1357 | | "nctionDef\022\030\n\020num_input_params\030\001 \002(\r\022\031\n\021n" |
1358 | | "um_output_params\030\002 \002(\r\0222\n\005block\030\003 \002(\0132#." |
1359 | | "solidity.yul.test.yul_fuzzer.Block\022\022\n\nfo" |
1360 | | "rce_call\030\004 \002(\010\"A\n\007PopStmt\0226\n\004expr\030\001 \002(\0132" |
1361 | | "(.solidity.yul.test.yul_fuzzer.Expressio" |
1362 | | "n\"\013\n\tLeaveStmt\"\302\t\n\tStatement\0225\n\004decl\030\001 \001" |
1363 | | "(\0132%.solidity.yul.test.yul_fuzzer.VarDec" |
1364 | | "lH\000\022G\n\nassignment\030\002 \001(\01321.solidity.yul.t" |
1365 | | "est.yul_fuzzer.AssignmentStatementH\000\0226\n\006" |
1366 | | "ifstmt\030\003 \001(\0132$.solidity.yul.test.yul_fuz" |
1367 | | "zer.IfStmtH\000\022\?\n\014storage_func\030\004 \001(\0132\'.sol" |
1368 | | "idity.yul.test.yul_fuzzer.StoreFuncH\000\0228\n" |
1369 | | "\tblockstmt\030\005 \001(\0132#.solidity.yul.test.yul" |
1370 | | "_fuzzer.BlockH\000\0228\n\007forstmt\030\006 \001(\0132%.solid" |
1371 | | "ity.yul.test.yul_fuzzer.ForStmtH\000\022>\n\nswi" |
1372 | | "tchstmt\030\007 \001(\0132(.solidity.yul.test.yul_fu" |
1373 | | "zzer.SwitchStmtH\000\022<\n\tbreakstmt\030\010 \001(\0132\'.s" |
1374 | | "olidity.yul.test.yul_fuzzer.BreakStmtH\000\022" |
1375 | | ">\n\010contstmt\030\t \001(\0132*.solidity.yul.test.yu" |
1376 | | "l_fuzzer.ContinueStmtH\000\0229\n\010log_func\030\n \001(" |
1377 | | "\0132%.solidity.yul.test.yul_fuzzer.LogFunc" |
1378 | | "H\000\022;\n\tcopy_func\030\013 \001(\0132&.solidity.yul.tes" |
1379 | | "t.yul_fuzzer.CopyFuncH\000\022A\n\014extcode_copy\030" |
1380 | | "\014 \001(\0132).solidity.yul.test.yul_fuzzer.Ext" |
1381 | | "CodeCopyH\000\022F\n\rterminatestmt\030\r \001(\0132-.soli" |
1382 | | "dity.yul.test.yul_fuzzer.TerminatingStmt" |
1383 | | "H\000\022B\n\014functioncall\030\016 \001(\0132*.solidity.yul." |
1384 | | "test.yul_fuzzer.FunctionCallH\000\022F\n\016bounde" |
1385 | | "dforstmt\030\017 \001(\0132,.solidity.yul.test.yul_f" |
1386 | | "uzzer.BoundedForStmtH\000\022<\n\007funcdef\030\020 \001(\0132" |
1387 | | ").solidity.yul.test.yul_fuzzer.FunctionD" |
1388 | | "efH\000\0224\n\003pop\030\021 \001(\0132%.solidity.yul.test.yu" |
1389 | | "l_fuzzer.PopStmtH\000\0228\n\005leave\030\022 \001(\0132\'.soli" |
1390 | | "dity.yul.test.yul_fuzzer.LeaveStmtH\000\022\?\n\t" |
1391 | | "multidecl\030\023 \001(\0132*.solidity.yul.test.yul_" |
1392 | | "fuzzer.MultiVarDeclH\000B\014\n\nstmt_oneof\"D\n\005B" |
1393 | | "lock\022;\n\nstatements\030\001 \003(\0132\'.solidity.yul." |
1394 | | "test.yul_fuzzer.Statement\"\243\001\n\006Object\0220\n\004" |
1395 | | "code\030\001 \002(\0132\".solidity.yul.test.yul_fuzze" |
1396 | | "r.Code\0220\n\004data\030\002 \001(\0132\".solidity.yul.test" |
1397 | | ".yul_fuzzer.Data\0225\n\007sub_obj\030\003 \003(\0132$.soli" |
1398 | | "dity.yul.test.yul_fuzzer.Object\":\n\004Code\022" |
1399 | | "2\n\005block\030\001 \002(\0132#.solidity.yul.test.yul_f" |
1400 | | "uzzer.Block\"\023\n\004Data\022\013\n\003hex\030\001 \002(\t\"\234\003\n\007Pro" |
1401 | | "gram\0224\n\005block\030\001 \001(\0132#.solidity.yul.test." |
1402 | | "yul_fuzzer.BlockH\000\0223\n\003obj\030\002 \001(\0132$.solidi" |
1403 | | "ty.yul.test.yul_fuzzer.ObjectH\000\022:\n\003ver\030\003" |
1404 | | " \002(\0162-.solidity.yul.test.yul_fuzzer.Prog" |
1405 | | "ram.Version\022\014\n\004step\030\004 \002(\r\"\312\001\n\007Version\022\r\n" |
1406 | | "\tHOMESTEAD\020\000\022\r\n\tTANGERINE\020\001\022\014\n\010SPURIOUS\020" |
1407 | | "\002\022\r\n\tBYZANTIUM\020\003\022\022\n\016CONSTANTINOPLE\020\004\022\016\n\n" |
1408 | | "PETERSBURG\020\005\022\014\n\010ISTANBUL\020\006\022\n\n\006BERLIN\020\007\022\n" |
1409 | | "\n\006LONDON\020\010\022\t\n\005PARIS\020\t\022\014\n\010SHANGHAI\020\n\022\n\n\006C" |
1410 | | "ANCUN\020\013\022\n\n\006PRAGUE\020\014\022\t\n\005OSAKA\020\rB\017\n\rprogra" |
1411 | | "m_oneof" |
1412 | | ; |
1413 | | static ::_pbi::once_flag descriptor_table_yulProto_2eproto_once; |
1414 | | const ::_pbi::DescriptorTable descriptor_table_yulProto_2eproto = { |
1415 | | false, false, 8927, 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 | return true; |
1751 | 0 | default: |
1752 | 0 | return false; |
1753 | 0 | } |
1754 | 0 | } |
1755 | | |
1756 | | #if (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) |
1757 | | constexpr NullaryOp_NOp NullaryOp::MSIZE; |
1758 | | constexpr NullaryOp_NOp NullaryOp::GAS; |
1759 | | constexpr NullaryOp_NOp NullaryOp::CALLDATASIZE; |
1760 | | constexpr NullaryOp_NOp NullaryOp::CODESIZE; |
1761 | | constexpr NullaryOp_NOp NullaryOp::RETURNDATASIZE; |
1762 | | constexpr NullaryOp_NOp NullaryOp::ADDRESS; |
1763 | | constexpr NullaryOp_NOp NullaryOp::ORIGIN; |
1764 | | constexpr NullaryOp_NOp NullaryOp::CALLER; |
1765 | | constexpr NullaryOp_NOp NullaryOp::CALLVALUE; |
1766 | | constexpr NullaryOp_NOp NullaryOp::GASPRICE; |
1767 | | constexpr NullaryOp_NOp NullaryOp::COINBASE; |
1768 | | constexpr NullaryOp_NOp NullaryOp::TIMESTAMP; |
1769 | | constexpr NullaryOp_NOp NullaryOp::NUMBER; |
1770 | | constexpr NullaryOp_NOp NullaryOp::DIFFICULTY; |
1771 | | constexpr NullaryOp_NOp NullaryOp::GASLIMIT; |
1772 | | constexpr NullaryOp_NOp NullaryOp::SELFBALANCE; |
1773 | | constexpr NullaryOp_NOp NullaryOp::CHAINID; |
1774 | | constexpr NullaryOp_NOp NullaryOp::BASEFEE; |
1775 | | constexpr NullaryOp_NOp NullaryOp::BLOBBASEFEE; |
1776 | | constexpr NullaryOp_NOp NullaryOp::NOp_MIN; |
1777 | | constexpr NullaryOp_NOp NullaryOp::NOp_MAX; |
1778 | | constexpr int NullaryOp::NOp_ARRAYSIZE; |
1779 | | #endif // (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) |
1780 | 0 | const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* StoreFunc_Storage_descriptor() { |
1781 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_yulProto_2eproto); |
1782 | 0 | return file_level_enum_descriptors_yulProto_2eproto[10]; |
1783 | 0 | } |
1784 | 29.8k | bool StoreFunc_Storage_IsValid(int value) { |
1785 | 29.8k | switch (value) { |
1786 | 7.36k | case 0: |
1787 | 14.7k | case 1: |
1788 | 22.2k | case 2: |
1789 | 29.8k | case 3: |
1790 | 29.8k | return true; |
1791 | 0 | default: |
1792 | 0 | return false; |
1793 | 29.8k | } |
1794 | 29.8k | } |
1795 | | |
1796 | | #if (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) |
1797 | | constexpr StoreFunc_Storage StoreFunc::MSTORE; |
1798 | | constexpr StoreFunc_Storage StoreFunc::SSTORE; |
1799 | | constexpr StoreFunc_Storage StoreFunc::MSTORE8; |
1800 | | constexpr StoreFunc_Storage StoreFunc::TSTORE; |
1801 | | constexpr StoreFunc_Storage StoreFunc::Storage_MIN; |
1802 | | constexpr StoreFunc_Storage StoreFunc::Storage_MAX; |
1803 | | constexpr int StoreFunc::Storage_ARRAYSIZE; |
1804 | | #endif // (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) |
1805 | 0 | const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* LogFunc_NumTopics_descriptor() { |
1806 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_yulProto_2eproto); |
1807 | 0 | return file_level_enum_descriptors_yulProto_2eproto[11]; |
1808 | 0 | } |
1809 | 0 | bool LogFunc_NumTopics_IsValid(int value) { |
1810 | 0 | switch (value) { |
1811 | 0 | case 0: |
1812 | 0 | case 1: |
1813 | 0 | case 2: |
1814 | 0 | case 3: |
1815 | 0 | case 4: |
1816 | 0 | return true; |
1817 | 0 | default: |
1818 | 0 | return false; |
1819 | 0 | } |
1820 | 0 | } |
1821 | | |
1822 | | #if (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) |
1823 | | constexpr LogFunc_NumTopics LogFunc::ZERO; |
1824 | | constexpr LogFunc_NumTopics LogFunc::ONE; |
1825 | | constexpr LogFunc_NumTopics LogFunc::TWO; |
1826 | | constexpr LogFunc_NumTopics LogFunc::THREE; |
1827 | | constexpr LogFunc_NumTopics LogFunc::FOUR; |
1828 | | constexpr LogFunc_NumTopics LogFunc::NumTopics_MIN; |
1829 | | constexpr LogFunc_NumTopics LogFunc::NumTopics_MAX; |
1830 | | constexpr int LogFunc::NumTopics_ARRAYSIZE; |
1831 | | #endif // (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) |
1832 | 0 | const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* StopInvalidStmt_Type_descriptor() { |
1833 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_yulProto_2eproto); |
1834 | 0 | return file_level_enum_descriptors_yulProto_2eproto[12]; |
1835 | 0 | } |
1836 | 0 | bool StopInvalidStmt_Type_IsValid(int value) { |
1837 | 0 | switch (value) { |
1838 | 0 | case 0: |
1839 | 0 | case 1: |
1840 | 0 | return true; |
1841 | 0 | default: |
1842 | 0 | return false; |
1843 | 0 | } |
1844 | 0 | } |
1845 | | |
1846 | | #if (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) |
1847 | | constexpr StopInvalidStmt_Type StopInvalidStmt::STOP; |
1848 | | constexpr StopInvalidStmt_Type StopInvalidStmt::INVALID; |
1849 | | constexpr StopInvalidStmt_Type StopInvalidStmt::Type_MIN; |
1850 | | constexpr StopInvalidStmt_Type StopInvalidStmt::Type_MAX; |
1851 | | constexpr int StopInvalidStmt::Type_ARRAYSIZE; |
1852 | | #endif // (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) |
1853 | 0 | const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* RetRevStmt_Type_descriptor() { |
1854 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_yulProto_2eproto); |
1855 | 0 | return file_level_enum_descriptors_yulProto_2eproto[13]; |
1856 | 0 | } |
1857 | 0 | bool RetRevStmt_Type_IsValid(int value) { |
1858 | 0 | switch (value) { |
1859 | 0 | case 0: |
1860 | 0 | case 1: |
1861 | 0 | return true; |
1862 | 0 | default: |
1863 | 0 | return false; |
1864 | 0 | } |
1865 | 0 | } |
1866 | | |
1867 | | #if (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) |
1868 | | constexpr RetRevStmt_Type RetRevStmt::RETURN; |
1869 | | constexpr RetRevStmt_Type RetRevStmt::REVERT; |
1870 | | constexpr RetRevStmt_Type RetRevStmt::Type_MIN; |
1871 | | constexpr RetRevStmt_Type RetRevStmt::Type_MAX; |
1872 | | constexpr int RetRevStmt::Type_ARRAYSIZE; |
1873 | | #endif // (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) |
1874 | 0 | const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* Program_Version_descriptor() { |
1875 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_yulProto_2eproto); |
1876 | 0 | return file_level_enum_descriptors_yulProto_2eproto[14]; |
1877 | 0 | } |
1878 | 0 | bool Program_Version_IsValid(int value) { |
1879 | 0 | switch (value) { |
1880 | 0 | case 0: |
1881 | 0 | case 1: |
1882 | 0 | case 2: |
1883 | 0 | case 3: |
1884 | 0 | case 4: |
1885 | 0 | case 5: |
1886 | 0 | case 6: |
1887 | 0 | case 7: |
1888 | 0 | case 8: |
1889 | 0 | case 9: |
1890 | 0 | case 10: |
1891 | 0 | case 11: |
1892 | 0 | case 12: |
1893 | 0 | case 13: |
1894 | 0 | return true; |
1895 | 0 | default: |
1896 | 0 | return false; |
1897 | 0 | } |
1898 | 0 | } |
1899 | | |
1900 | | #if (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) |
1901 | | constexpr Program_Version Program::HOMESTEAD; |
1902 | | constexpr Program_Version Program::TANGERINE; |
1903 | | constexpr Program_Version Program::SPURIOUS; |
1904 | | constexpr Program_Version Program::BYZANTIUM; |
1905 | | constexpr Program_Version Program::CONSTANTINOPLE; |
1906 | | constexpr Program_Version Program::PETERSBURG; |
1907 | | constexpr Program_Version Program::ISTANBUL; |
1908 | | constexpr Program_Version Program::BERLIN; |
1909 | | constexpr Program_Version Program::LONDON; |
1910 | | constexpr Program_Version Program::PARIS; |
1911 | | constexpr Program_Version Program::SHANGHAI; |
1912 | | constexpr Program_Version Program::CANCUN; |
1913 | | constexpr Program_Version Program::PRAGUE; |
1914 | | constexpr Program_Version Program::OSAKA; |
1915 | | constexpr Program_Version Program::Version_MIN; |
1916 | | constexpr Program_Version Program::Version_MAX; |
1917 | | constexpr int Program::Version_ARRAYSIZE; |
1918 | | #endif // (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) |
1919 | | |
1920 | | // =================================================================== |
1921 | | |
1922 | | class VarDecl::_Internal { |
1923 | | public: |
1924 | | using HasBits = decltype(std::declval<VarDecl>()._impl_._has_bits_); |
1925 | | static const ::solidity::yul::test::yul_fuzzer::Expression& expr(const VarDecl* msg); |
1926 | 0 | static void set_has_expr(HasBits* has_bits) { |
1927 | 0 | (*has_bits)[0] |= 1u; |
1928 | 0 | } |
1929 | 0 | static bool MissingRequiredFields(const HasBits& has_bits) { |
1930 | 0 | return ((has_bits[0] & 0x00000001) ^ 0x00000001) != 0; |
1931 | 0 | } |
1932 | | }; |
1933 | | |
1934 | | const ::solidity::yul::test::yul_fuzzer::Expression& |
1935 | 0 | VarDecl::_Internal::expr(const VarDecl* msg) { |
1936 | 0 | return *msg->_impl_.expr_; |
1937 | 0 | } |
1938 | | VarDecl::VarDecl(::PROTOBUF_NAMESPACE_ID::Arena* arena, |
1939 | | bool is_message_owned) |
1940 | 14.8k | : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { |
1941 | 14.8k | SharedCtor(arena, is_message_owned); |
1942 | | // @@protoc_insertion_point(arena_constructor:solidity.yul.test.yul_fuzzer.VarDecl) |
1943 | 14.8k | } |
1944 | | VarDecl::VarDecl(const VarDecl& from) |
1945 | 0 | : ::PROTOBUF_NAMESPACE_ID::Message() { |
1946 | 0 | VarDecl* const _this = this; (void)_this; |
1947 | 0 | new (&_impl_) Impl_{ |
1948 | 0 | decltype(_impl_._has_bits_){from._impl_._has_bits_} |
1949 | 0 | , /*decltype(_impl_._cached_size_)*/{} |
1950 | 0 | , decltype(_impl_.expr_){nullptr}}; |
1951 | |
|
1952 | 0 | _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); |
1953 | 0 | if (from._internal_has_expr()) { |
1954 | 0 | _this->_impl_.expr_ = new ::solidity::yul::test::yul_fuzzer::Expression(*from._impl_.expr_); |
1955 | 0 | } |
1956 | | // @@protoc_insertion_point(copy_constructor:solidity.yul.test.yul_fuzzer.VarDecl) |
1957 | 0 | } |
1958 | | |
1959 | | inline void VarDecl::SharedCtor( |
1960 | 14.8k | ::_pb::Arena* arena, bool is_message_owned) { |
1961 | 14.8k | (void)arena; |
1962 | 14.8k | (void)is_message_owned; |
1963 | 14.8k | new (&_impl_) Impl_{ |
1964 | 14.8k | decltype(_impl_._has_bits_){} |
1965 | 14.8k | , /*decltype(_impl_._cached_size_)*/{} |
1966 | 14.8k | , decltype(_impl_.expr_){nullptr} |
1967 | 14.8k | }; |
1968 | 14.8k | } |
1969 | | |
1970 | 14.8k | VarDecl::~VarDecl() { |
1971 | | // @@protoc_insertion_point(destructor:solidity.yul.test.yul_fuzzer.VarDecl) |
1972 | 14.8k | if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { |
1973 | 0 | (void)arena; |
1974 | 0 | return; |
1975 | 0 | } |
1976 | 14.8k | SharedDtor(); |
1977 | 14.8k | } |
1978 | | |
1979 | 14.8k | inline void VarDecl::SharedDtor() { |
1980 | 14.8k | GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); |
1981 | 14.8k | if (this != internal_default_instance()) delete _impl_.expr_; |
1982 | 14.8k | } |
1983 | | |
1984 | 0 | void VarDecl::SetCachedSize(int size) const { |
1985 | 0 | _impl_._cached_size_.Set(size); |
1986 | 0 | } |
1987 | | |
1988 | 0 | void VarDecl::Clear() { |
1989 | | // @@protoc_insertion_point(message_clear_start:solidity.yul.test.yul_fuzzer.VarDecl) |
1990 | 0 | uint32_t cached_has_bits = 0; |
1991 | | // Prevent compiler warnings about cached_has_bits being unused |
1992 | 0 | (void) cached_has_bits; |
1993 | |
|
1994 | 0 | cached_has_bits = _impl_._has_bits_[0]; |
1995 | 0 | if (cached_has_bits & 0x00000001u) { |
1996 | 0 | GOOGLE_DCHECK(_impl_.expr_ != nullptr); |
1997 | 0 | _impl_.expr_->Clear(); |
1998 | 0 | } |
1999 | 0 | _impl_._has_bits_.Clear(); |
2000 | 0 | _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); |
2001 | 0 | } |
2002 | | |
2003 | 0 | const char* VarDecl::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { |
2004 | 0 | #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure |
2005 | 0 | _Internal::HasBits has_bits{}; |
2006 | 0 | while (!ctx->Done(&ptr)) { |
2007 | 0 | uint32_t tag; |
2008 | 0 | ptr = ::_pbi::ReadTag(ptr, &tag); |
2009 | 0 | switch (tag >> 3) { |
2010 | | // required .solidity.yul.test.yul_fuzzer.Expression expr = 1; |
2011 | 0 | case 1: |
2012 | 0 | if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 10)) { |
2013 | 0 | ptr = ctx->ParseMessage(_internal_mutable_expr(), ptr); |
2014 | 0 | CHK_(ptr); |
2015 | 0 | } else |
2016 | 0 | goto handle_unusual; |
2017 | 0 | continue; |
2018 | 0 | default: |
2019 | 0 | goto handle_unusual; |
2020 | 0 | } // switch |
2021 | 0 | handle_unusual: |
2022 | 0 | if ((tag == 0) || ((tag & 7) == 4)) { |
2023 | 0 | CHK_(ptr); |
2024 | 0 | ctx->SetLastTag(tag); |
2025 | 0 | goto message_done; |
2026 | 0 | } |
2027 | 0 | ptr = UnknownFieldParse( |
2028 | 0 | tag, |
2029 | 0 | _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), |
2030 | 0 | ptr, ctx); |
2031 | 0 | CHK_(ptr != nullptr); |
2032 | 0 | } // while |
2033 | 0 | message_done: |
2034 | 0 | _impl_._has_bits_.Or(has_bits); |
2035 | 0 | return ptr; |
2036 | 0 | failure: |
2037 | 0 | ptr = nullptr; |
2038 | 0 | goto message_done; |
2039 | 0 | #undef CHK_ |
2040 | 0 | } |
2041 | | |
2042 | | uint8_t* VarDecl::_InternalSerialize( |
2043 | 0 | uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { |
2044 | | // @@protoc_insertion_point(serialize_to_array_start:solidity.yul.test.yul_fuzzer.VarDecl) |
2045 | 0 | uint32_t cached_has_bits = 0; |
2046 | 0 | (void) cached_has_bits; |
2047 | |
|
2048 | 0 | cached_has_bits = _impl_._has_bits_[0]; |
2049 | | // required .solidity.yul.test.yul_fuzzer.Expression expr = 1; |
2050 | 0 | if (cached_has_bits & 0x00000001u) { |
2051 | 0 | target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: |
2052 | 0 | InternalWriteMessage(1, _Internal::expr(this), |
2053 | 0 | _Internal::expr(this).GetCachedSize(), target, stream); |
2054 | 0 | } |
2055 | |
|
2056 | 0 | if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { |
2057 | 0 | target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( |
2058 | 0 | _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); |
2059 | 0 | } |
2060 | | // @@protoc_insertion_point(serialize_to_array_end:solidity.yul.test.yul_fuzzer.VarDecl) |
2061 | 0 | return target; |
2062 | 0 | } |
2063 | | |
2064 | 13.3k | size_t VarDecl::ByteSizeLong() const { |
2065 | | // @@protoc_insertion_point(message_byte_size_start:solidity.yul.test.yul_fuzzer.VarDecl) |
2066 | 13.3k | size_t total_size = 0; |
2067 | | |
2068 | | // required .solidity.yul.test.yul_fuzzer.Expression expr = 1; |
2069 | 13.3k | if (_internal_has_expr()) { |
2070 | 13.3k | total_size += 1 + |
2071 | 13.3k | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
2072 | 13.3k | *_impl_.expr_); |
2073 | 13.3k | } |
2074 | 13.3k | uint32_t cached_has_bits = 0; |
2075 | | // Prevent compiler warnings about cached_has_bits being unused |
2076 | 13.3k | (void) cached_has_bits; |
2077 | | |
2078 | 13.3k | return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); |
2079 | 13.3k | } |
2080 | | |
2081 | | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VarDecl::_class_data_ = { |
2082 | | ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, |
2083 | | VarDecl::MergeImpl |
2084 | | }; |
2085 | 0 | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VarDecl::GetClassData() const { return &_class_data_; } |
2086 | | |
2087 | | |
2088 | 0 | void VarDecl::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { |
2089 | 0 | auto* const _this = static_cast<VarDecl*>(&to_msg); |
2090 | 0 | auto& from = static_cast<const VarDecl&>(from_msg); |
2091 | | // @@protoc_insertion_point(class_specific_merge_from_start:solidity.yul.test.yul_fuzzer.VarDecl) |
2092 | 0 | GOOGLE_DCHECK_NE(&from, _this); |
2093 | 0 | uint32_t cached_has_bits = 0; |
2094 | 0 | (void) cached_has_bits; |
2095 | |
|
2096 | 0 | if (from._internal_has_expr()) { |
2097 | 0 | _this->_internal_mutable_expr()->::solidity::yul::test::yul_fuzzer::Expression::MergeFrom( |
2098 | 0 | from._internal_expr()); |
2099 | 0 | } |
2100 | 0 | _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); |
2101 | 0 | } |
2102 | | |
2103 | 0 | void VarDecl::CopyFrom(const VarDecl& from) { |
2104 | | // @@protoc_insertion_point(class_specific_copy_from_start:solidity.yul.test.yul_fuzzer.VarDecl) |
2105 | 0 | if (&from == this) return; |
2106 | 0 | Clear(); |
2107 | 0 | MergeFrom(from); |
2108 | 0 | } |
2109 | | |
2110 | 0 | bool VarDecl::IsInitialized() const { |
2111 | 0 | if (_Internal::MissingRequiredFields(_impl_._has_bits_)) return false; |
2112 | 0 | if (_internal_has_expr()) { |
2113 | 0 | if (!_impl_.expr_->IsInitialized()) return false; |
2114 | 0 | } |
2115 | 0 | return true; |
2116 | 0 | } |
2117 | | |
2118 | 0 | void VarDecl::InternalSwap(VarDecl* other) { |
2119 | 0 | using std::swap; |
2120 | 0 | _internal_metadata_.InternalSwap(&other->_internal_metadata_); |
2121 | 0 | swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); |
2122 | 0 | swap(_impl_.expr_, other->_impl_.expr_); |
2123 | 0 | } |
2124 | | |
2125 | 185k | ::PROTOBUF_NAMESPACE_ID::Metadata VarDecl::GetMetadata() const { |
2126 | 185k | return ::_pbi::AssignDescriptors( |
2127 | 185k | &descriptor_table_yulProto_2eproto_getter, &descriptor_table_yulProto_2eproto_once, |
2128 | 185k | file_level_metadata_yulProto_2eproto[0]); |
2129 | 185k | } |
2130 | | |
2131 | | // =================================================================== |
2132 | | |
2133 | | class MultiVarDecl::_Internal { |
2134 | | public: |
2135 | | using HasBits = decltype(std::declval<MultiVarDecl>()._impl_._has_bits_); |
2136 | 0 | static void set_has_num_vars(HasBits* has_bits) { |
2137 | 0 | (*has_bits)[0] |= 1u; |
2138 | 0 | } |
2139 | 0 | static bool MissingRequiredFields(const HasBits& has_bits) { |
2140 | 0 | return ((has_bits[0] & 0x00000001) ^ 0x00000001) != 0; |
2141 | 0 | } |
2142 | | }; |
2143 | | |
2144 | | MultiVarDecl::MultiVarDecl(::PROTOBUF_NAMESPACE_ID::Arena* arena, |
2145 | | bool is_message_owned) |
2146 | 17.2k | : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { |
2147 | 17.2k | SharedCtor(arena, is_message_owned); |
2148 | | // @@protoc_insertion_point(arena_constructor:solidity.yul.test.yul_fuzzer.MultiVarDecl) |
2149 | 17.2k | } |
2150 | | MultiVarDecl::MultiVarDecl(const MultiVarDecl& from) |
2151 | 0 | : ::PROTOBUF_NAMESPACE_ID::Message() { |
2152 | 0 | MultiVarDecl* const _this = this; (void)_this; |
2153 | 0 | new (&_impl_) Impl_{ |
2154 | 0 | decltype(_impl_._has_bits_){from._impl_._has_bits_} |
2155 | 0 | , /*decltype(_impl_._cached_size_)*/{} |
2156 | 0 | , decltype(_impl_.num_vars_){}}; |
2157 | |
|
2158 | 0 | _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); |
2159 | 0 | _this->_impl_.num_vars_ = from._impl_.num_vars_; |
2160 | | // @@protoc_insertion_point(copy_constructor:solidity.yul.test.yul_fuzzer.MultiVarDecl) |
2161 | 0 | } |
2162 | | |
2163 | | inline void MultiVarDecl::SharedCtor( |
2164 | 17.2k | ::_pb::Arena* arena, bool is_message_owned) { |
2165 | 17.2k | (void)arena; |
2166 | 17.2k | (void)is_message_owned; |
2167 | 17.2k | new (&_impl_) Impl_{ |
2168 | 17.2k | decltype(_impl_._has_bits_){} |
2169 | 17.2k | , /*decltype(_impl_._cached_size_)*/{} |
2170 | 17.2k | , decltype(_impl_.num_vars_){0u} |
2171 | 17.2k | }; |
2172 | 17.2k | } |
2173 | | |
2174 | 17.2k | MultiVarDecl::~MultiVarDecl() { |
2175 | | // @@protoc_insertion_point(destructor:solidity.yul.test.yul_fuzzer.MultiVarDecl) |
2176 | 17.2k | if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { |
2177 | 0 | (void)arena; |
2178 | 0 | return; |
2179 | 0 | } |
2180 | 17.2k | SharedDtor(); |
2181 | 17.2k | } |
2182 | | |
2183 | 17.2k | inline void MultiVarDecl::SharedDtor() { |
2184 | 17.2k | GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); |
2185 | 17.2k | } |
2186 | | |
2187 | 0 | void MultiVarDecl::SetCachedSize(int size) const { |
2188 | 0 | _impl_._cached_size_.Set(size); |
2189 | 0 | } |
2190 | | |
2191 | 0 | void MultiVarDecl::Clear() { |
2192 | | // @@protoc_insertion_point(message_clear_start:solidity.yul.test.yul_fuzzer.MultiVarDecl) |
2193 | 0 | uint32_t cached_has_bits = 0; |
2194 | | // Prevent compiler warnings about cached_has_bits being unused |
2195 | 0 | (void) cached_has_bits; |
2196 | |
|
2197 | 0 | _impl_.num_vars_ = 0u; |
2198 | 0 | _impl_._has_bits_.Clear(); |
2199 | 0 | _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); |
2200 | 0 | } |
2201 | | |
2202 | 0 | const char* MultiVarDecl::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { |
2203 | 0 | #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure |
2204 | 0 | _Internal::HasBits has_bits{}; |
2205 | 0 | while (!ctx->Done(&ptr)) { |
2206 | 0 | uint32_t tag; |
2207 | 0 | ptr = ::_pbi::ReadTag(ptr, &tag); |
2208 | 0 | switch (tag >> 3) { |
2209 | | // required uint32 num_vars = 1; |
2210 | 0 | case 1: |
2211 | 0 | if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 8)) { |
2212 | 0 | _Internal::set_has_num_vars(&has_bits); |
2213 | 0 | _impl_.num_vars_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); |
2214 | 0 | CHK_(ptr); |
2215 | 0 | } else |
2216 | 0 | goto handle_unusual; |
2217 | 0 | continue; |
2218 | 0 | default: |
2219 | 0 | goto handle_unusual; |
2220 | 0 | } // switch |
2221 | 0 | handle_unusual: |
2222 | 0 | if ((tag == 0) || ((tag & 7) == 4)) { |
2223 | 0 | CHK_(ptr); |
2224 | 0 | ctx->SetLastTag(tag); |
2225 | 0 | goto message_done; |
2226 | 0 | } |
2227 | 0 | ptr = UnknownFieldParse( |
2228 | 0 | tag, |
2229 | 0 | _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), |
2230 | 0 | ptr, ctx); |
2231 | 0 | CHK_(ptr != nullptr); |
2232 | 0 | } // while |
2233 | 0 | message_done: |
2234 | 0 | _impl_._has_bits_.Or(has_bits); |
2235 | 0 | return ptr; |
2236 | 0 | failure: |
2237 | 0 | ptr = nullptr; |
2238 | 0 | goto message_done; |
2239 | 0 | #undef CHK_ |
2240 | 0 | } |
2241 | | |
2242 | | uint8_t* MultiVarDecl::_InternalSerialize( |
2243 | 0 | uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { |
2244 | | // @@protoc_insertion_point(serialize_to_array_start:solidity.yul.test.yul_fuzzer.MultiVarDecl) |
2245 | 0 | uint32_t cached_has_bits = 0; |
2246 | 0 | (void) cached_has_bits; |
2247 | |
|
2248 | 0 | cached_has_bits = _impl_._has_bits_[0]; |
2249 | | // required uint32 num_vars = 1; |
2250 | 0 | if (cached_has_bits & 0x00000001u) { |
2251 | 0 | target = stream->EnsureSpace(target); |
2252 | 0 | target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_num_vars(), target); |
2253 | 0 | } |
2254 | |
|
2255 | 0 | if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { |
2256 | 0 | target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( |
2257 | 0 | _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); |
2258 | 0 | } |
2259 | | // @@protoc_insertion_point(serialize_to_array_end:solidity.yul.test.yul_fuzzer.MultiVarDecl) |
2260 | 0 | return target; |
2261 | 0 | } |
2262 | | |
2263 | 16.9k | size_t MultiVarDecl::ByteSizeLong() const { |
2264 | | // @@protoc_insertion_point(message_byte_size_start:solidity.yul.test.yul_fuzzer.MultiVarDecl) |
2265 | 16.9k | size_t total_size = 0; |
2266 | | |
2267 | | // required uint32 num_vars = 1; |
2268 | 16.9k | if (_internal_has_num_vars()) { |
2269 | 16.9k | total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_num_vars()); |
2270 | 16.9k | } |
2271 | 16.9k | uint32_t cached_has_bits = 0; |
2272 | | // Prevent compiler warnings about cached_has_bits being unused |
2273 | 16.9k | (void) cached_has_bits; |
2274 | | |
2275 | 16.9k | return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); |
2276 | 16.9k | } |
2277 | | |
2278 | | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData MultiVarDecl::_class_data_ = { |
2279 | | ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, |
2280 | | MultiVarDecl::MergeImpl |
2281 | | }; |
2282 | 0 | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*MultiVarDecl::GetClassData() const { return &_class_data_; } |
2283 | | |
2284 | | |
2285 | 0 | void MultiVarDecl::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { |
2286 | 0 | auto* const _this = static_cast<MultiVarDecl*>(&to_msg); |
2287 | 0 | auto& from = static_cast<const MultiVarDecl&>(from_msg); |
2288 | | // @@protoc_insertion_point(class_specific_merge_from_start:solidity.yul.test.yul_fuzzer.MultiVarDecl) |
2289 | 0 | GOOGLE_DCHECK_NE(&from, _this); |
2290 | 0 | uint32_t cached_has_bits = 0; |
2291 | 0 | (void) cached_has_bits; |
2292 | |
|
2293 | 0 | if (from._internal_has_num_vars()) { |
2294 | 0 | _this->_internal_set_num_vars(from._internal_num_vars()); |
2295 | 0 | } |
2296 | 0 | _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); |
2297 | 0 | } |
2298 | | |
2299 | 0 | void MultiVarDecl::CopyFrom(const MultiVarDecl& from) { |
2300 | | // @@protoc_insertion_point(class_specific_copy_from_start:solidity.yul.test.yul_fuzzer.MultiVarDecl) |
2301 | 0 | if (&from == this) return; |
2302 | 0 | Clear(); |
2303 | 0 | MergeFrom(from); |
2304 | 0 | } |
2305 | | |
2306 | 0 | bool MultiVarDecl::IsInitialized() const { |
2307 | 0 | if (_Internal::MissingRequiredFields(_impl_._has_bits_)) return false; |
2308 | 0 | return true; |
2309 | 0 | } |
2310 | | |
2311 | 0 | void MultiVarDecl::InternalSwap(MultiVarDecl* other) { |
2312 | 0 | using std::swap; |
2313 | 0 | _internal_metadata_.InternalSwap(&other->_internal_metadata_); |
2314 | 0 | swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); |
2315 | 0 | swap(_impl_.num_vars_, other->_impl_.num_vars_); |
2316 | 0 | } |
2317 | | |
2318 | 227k | ::PROTOBUF_NAMESPACE_ID::Metadata MultiVarDecl::GetMetadata() const { |
2319 | 227k | return ::_pbi::AssignDescriptors( |
2320 | 227k | &descriptor_table_yulProto_2eproto_getter, &descriptor_table_yulProto_2eproto_once, |
2321 | 227k | file_level_metadata_yulProto_2eproto[1]); |
2322 | 227k | } |
2323 | | |
2324 | | // =================================================================== |
2325 | | |
2326 | | class LowLevelCall::_Internal { |
2327 | | public: |
2328 | | using HasBits = decltype(std::declval<LowLevelCall>()._impl_._has_bits_); |
2329 | 0 | static void set_has_callty(HasBits* has_bits) { |
2330 | 0 | (*has_bits)[0] |= 128u; |
2331 | 0 | } |
2332 | | static const ::solidity::yul::test::yul_fuzzer::Expression& gas(const LowLevelCall* msg); |
2333 | 0 | static void set_has_gas(HasBits* has_bits) { |
2334 | 0 | (*has_bits)[0] |= 1u; |
2335 | 0 | } |
2336 | | static const ::solidity::yul::test::yul_fuzzer::Expression& addr(const LowLevelCall* msg); |
2337 | 0 | static void set_has_addr(HasBits* has_bits) { |
2338 | 0 | (*has_bits)[0] |= 2u; |
2339 | 0 | } |
2340 | | static const ::solidity::yul::test::yul_fuzzer::Expression& wei(const LowLevelCall* msg); |
2341 | 0 | static void set_has_wei(HasBits* has_bits) { |
2342 | 0 | (*has_bits)[0] |= 4u; |
2343 | 0 | } |
2344 | | static const ::solidity::yul::test::yul_fuzzer::Expression& in(const LowLevelCall* msg); |
2345 | 0 | static void set_has_in(HasBits* has_bits) { |
2346 | 0 | (*has_bits)[0] |= 8u; |
2347 | 0 | } |
2348 | | static const ::solidity::yul::test::yul_fuzzer::Expression& insize(const LowLevelCall* msg); |
2349 | 0 | static void set_has_insize(HasBits* has_bits) { |
2350 | 0 | (*has_bits)[0] |= 16u; |
2351 | 0 | } |
2352 | | static const ::solidity::yul::test::yul_fuzzer::Expression& out(const LowLevelCall* msg); |
2353 | 0 | static void set_has_out(HasBits* has_bits) { |
2354 | 0 | (*has_bits)[0] |= 32u; |
2355 | 0 | } |
2356 | | static const ::solidity::yul::test::yul_fuzzer::Expression& outsize(const LowLevelCall* msg); |
2357 | 0 | static void set_has_outsize(HasBits* has_bits) { |
2358 | 0 | (*has_bits)[0] |= 64u; |
2359 | 0 | } |
2360 | 0 | static bool MissingRequiredFields(const HasBits& has_bits) { |
2361 | 0 | return ((has_bits[0] & 0x000000ff) ^ 0x000000ff) != 0; |
2362 | 0 | } |
2363 | | }; |
2364 | | |
2365 | | const ::solidity::yul::test::yul_fuzzer::Expression& |
2366 | 0 | LowLevelCall::_Internal::gas(const LowLevelCall* msg) { |
2367 | 0 | return *msg->_impl_.gas_; |
2368 | 0 | } |
2369 | | const ::solidity::yul::test::yul_fuzzer::Expression& |
2370 | 0 | LowLevelCall::_Internal::addr(const LowLevelCall* msg) { |
2371 | 0 | return *msg->_impl_.addr_; |
2372 | 0 | } |
2373 | | const ::solidity::yul::test::yul_fuzzer::Expression& |
2374 | 0 | LowLevelCall::_Internal::wei(const LowLevelCall* msg) { |
2375 | 0 | return *msg->_impl_.wei_; |
2376 | 0 | } |
2377 | | const ::solidity::yul::test::yul_fuzzer::Expression& |
2378 | 0 | LowLevelCall::_Internal::in(const LowLevelCall* msg) { |
2379 | 0 | return *msg->_impl_.in_; |
2380 | 0 | } |
2381 | | const ::solidity::yul::test::yul_fuzzer::Expression& |
2382 | 0 | LowLevelCall::_Internal::insize(const LowLevelCall* msg) { |
2383 | 0 | return *msg->_impl_.insize_; |
2384 | 0 | } |
2385 | | const ::solidity::yul::test::yul_fuzzer::Expression& |
2386 | 0 | LowLevelCall::_Internal::out(const LowLevelCall* msg) { |
2387 | 0 | return *msg->_impl_.out_; |
2388 | 0 | } |
2389 | | const ::solidity::yul::test::yul_fuzzer::Expression& |
2390 | 0 | LowLevelCall::_Internal::outsize(const LowLevelCall* msg) { |
2391 | 0 | return *msg->_impl_.outsize_; |
2392 | 0 | } |
2393 | | LowLevelCall::LowLevelCall(::PROTOBUF_NAMESPACE_ID::Arena* arena, |
2394 | | bool is_message_owned) |
2395 | 27.3k | : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { |
2396 | 27.3k | SharedCtor(arena, is_message_owned); |
2397 | | // @@protoc_insertion_point(arena_constructor:solidity.yul.test.yul_fuzzer.LowLevelCall) |
2398 | 27.3k | } |
2399 | | LowLevelCall::LowLevelCall(const LowLevelCall& from) |
2400 | 0 | : ::PROTOBUF_NAMESPACE_ID::Message() { |
2401 | 0 | LowLevelCall* const _this = this; (void)_this; |
2402 | 0 | new (&_impl_) Impl_{ |
2403 | 0 | decltype(_impl_._has_bits_){from._impl_._has_bits_} |
2404 | 0 | , /*decltype(_impl_._cached_size_)*/{} |
2405 | 0 | , decltype(_impl_.gas_){nullptr} |
2406 | 0 | , decltype(_impl_.addr_){nullptr} |
2407 | 0 | , decltype(_impl_.wei_){nullptr} |
2408 | 0 | , decltype(_impl_.in_){nullptr} |
2409 | 0 | , decltype(_impl_.insize_){nullptr} |
2410 | 0 | , decltype(_impl_.out_){nullptr} |
2411 | 0 | , decltype(_impl_.outsize_){nullptr} |
2412 | 0 | , decltype(_impl_.callty_){}}; |
2413 | |
|
2414 | 0 | _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); |
2415 | 0 | if (from._internal_has_gas()) { |
2416 | 0 | _this->_impl_.gas_ = new ::solidity::yul::test::yul_fuzzer::Expression(*from._impl_.gas_); |
2417 | 0 | } |
2418 | 0 | if (from._internal_has_addr()) { |
2419 | 0 | _this->_impl_.addr_ = new ::solidity::yul::test::yul_fuzzer::Expression(*from._impl_.addr_); |
2420 | 0 | } |
2421 | 0 | if (from._internal_has_wei()) { |
2422 | 0 | _this->_impl_.wei_ = new ::solidity::yul::test::yul_fuzzer::Expression(*from._impl_.wei_); |
2423 | 0 | } |
2424 | 0 | if (from._internal_has_in()) { |
2425 | 0 | _this->_impl_.in_ = new ::solidity::yul::test::yul_fuzzer::Expression(*from._impl_.in_); |
2426 | 0 | } |
2427 | 0 | if (from._internal_has_insize()) { |
2428 | 0 | _this->_impl_.insize_ = new ::solidity::yul::test::yul_fuzzer::Expression(*from._impl_.insize_); |
2429 | 0 | } |
2430 | 0 | if (from._internal_has_out()) { |
2431 | 0 | _this->_impl_.out_ = new ::solidity::yul::test::yul_fuzzer::Expression(*from._impl_.out_); |
2432 | 0 | } |
2433 | 0 | if (from._internal_has_outsize()) { |
2434 | 0 | _this->_impl_.outsize_ = new ::solidity::yul::test::yul_fuzzer::Expression(*from._impl_.outsize_); |
2435 | 0 | } |
2436 | 0 | _this->_impl_.callty_ = from._impl_.callty_; |
2437 | | // @@protoc_insertion_point(copy_constructor:solidity.yul.test.yul_fuzzer.LowLevelCall) |
2438 | 0 | } |
2439 | | |
2440 | | inline void LowLevelCall::SharedCtor( |
2441 | 27.3k | ::_pb::Arena* arena, bool is_message_owned) { |
2442 | 27.3k | (void)arena; |
2443 | 27.3k | (void)is_message_owned; |
2444 | 27.3k | new (&_impl_) Impl_{ |
2445 | 27.3k | decltype(_impl_._has_bits_){} |
2446 | 27.3k | , /*decltype(_impl_._cached_size_)*/{} |
2447 | 27.3k | , decltype(_impl_.gas_){nullptr} |
2448 | 27.3k | , decltype(_impl_.addr_){nullptr} |
2449 | 27.3k | , decltype(_impl_.wei_){nullptr} |
2450 | 27.3k | , decltype(_impl_.in_){nullptr} |
2451 | 27.3k | , decltype(_impl_.insize_){nullptr} |
2452 | 27.3k | , decltype(_impl_.out_){nullptr} |
2453 | 27.3k | , decltype(_impl_.outsize_){nullptr} |
2454 | 27.3k | , decltype(_impl_.callty_){0} |
2455 | 27.3k | }; |
2456 | 27.3k | } |
2457 | | |
2458 | 27.3k | LowLevelCall::~LowLevelCall() { |
2459 | | // @@protoc_insertion_point(destructor:solidity.yul.test.yul_fuzzer.LowLevelCall) |
2460 | 27.3k | if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { |
2461 | 0 | (void)arena; |
2462 | 0 | return; |
2463 | 0 | } |
2464 | 27.3k | SharedDtor(); |
2465 | 27.3k | } |
2466 | | |
2467 | 27.3k | inline void LowLevelCall::SharedDtor() { |
2468 | 27.3k | GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); |
2469 | 27.3k | if (this != internal_default_instance()) delete _impl_.gas_; |
2470 | 27.3k | if (this != internal_default_instance()) delete _impl_.addr_; |
2471 | 27.3k | if (this != internal_default_instance()) delete _impl_.wei_; |
2472 | 27.3k | if (this != internal_default_instance()) delete _impl_.in_; |
2473 | 27.3k | if (this != internal_default_instance()) delete _impl_.insize_; |
2474 | 27.3k | if (this != internal_default_instance()) delete _impl_.out_; |
2475 | 27.3k | if (this != internal_default_instance()) delete _impl_.outsize_; |
2476 | 27.3k | } |
2477 | | |
2478 | 0 | void LowLevelCall::SetCachedSize(int size) const { |
2479 | 0 | _impl_._cached_size_.Set(size); |
2480 | 0 | } |
2481 | | |
2482 | 0 | void LowLevelCall::Clear() { |
2483 | | // @@protoc_insertion_point(message_clear_start:solidity.yul.test.yul_fuzzer.LowLevelCall) |
2484 | 0 | uint32_t cached_has_bits = 0; |
2485 | | // Prevent compiler warnings about cached_has_bits being unused |
2486 | 0 | (void) cached_has_bits; |
2487 | |
|
2488 | 0 | cached_has_bits = _impl_._has_bits_[0]; |
2489 | 0 | if (cached_has_bits & 0x0000007fu) { |
2490 | 0 | if (cached_has_bits & 0x00000001u) { |
2491 | 0 | GOOGLE_DCHECK(_impl_.gas_ != nullptr); |
2492 | 0 | _impl_.gas_->Clear(); |
2493 | 0 | } |
2494 | 0 | if (cached_has_bits & 0x00000002u) { |
2495 | 0 | GOOGLE_DCHECK(_impl_.addr_ != nullptr); |
2496 | 0 | _impl_.addr_->Clear(); |
2497 | 0 | } |
2498 | 0 | if (cached_has_bits & 0x00000004u) { |
2499 | 0 | GOOGLE_DCHECK(_impl_.wei_ != nullptr); |
2500 | 0 | _impl_.wei_->Clear(); |
2501 | 0 | } |
2502 | 0 | if (cached_has_bits & 0x00000008u) { |
2503 | 0 | GOOGLE_DCHECK(_impl_.in_ != nullptr); |
2504 | 0 | _impl_.in_->Clear(); |
2505 | 0 | } |
2506 | 0 | if (cached_has_bits & 0x00000010u) { |
2507 | 0 | GOOGLE_DCHECK(_impl_.insize_ != nullptr); |
2508 | 0 | _impl_.insize_->Clear(); |
2509 | 0 | } |
2510 | 0 | if (cached_has_bits & 0x00000020u) { |
2511 | 0 | GOOGLE_DCHECK(_impl_.out_ != nullptr); |
2512 | 0 | _impl_.out_->Clear(); |
2513 | 0 | } |
2514 | 0 | if (cached_has_bits & 0x00000040u) { |
2515 | 0 | GOOGLE_DCHECK(_impl_.outsize_ != nullptr); |
2516 | 0 | _impl_.outsize_->Clear(); |
2517 | 0 | } |
2518 | 0 | } |
2519 | 0 | _impl_.callty_ = 0; |
2520 | 0 | _impl_._has_bits_.Clear(); |
2521 | 0 | _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); |
2522 | 0 | } |
2523 | | |
2524 | 0 | const char* LowLevelCall::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { |
2525 | 0 | #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure |
2526 | 0 | _Internal::HasBits has_bits{}; |
2527 | 0 | while (!ctx->Done(&ptr)) { |
2528 | 0 | uint32_t tag; |
2529 | 0 | ptr = ::_pbi::ReadTag(ptr, &tag); |
2530 | 0 | switch (tag >> 3) { |
2531 | | // required .solidity.yul.test.yul_fuzzer.LowLevelCall.Type callty = 1; |
2532 | 0 | case 1: |
2533 | 0 | if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 8)) { |
2534 | 0 | uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); |
2535 | 0 | CHK_(ptr); |
2536 | 0 | if (PROTOBUF_PREDICT_TRUE(::solidity::yul::test::yul_fuzzer::LowLevelCall_Type_IsValid(val))) { |
2537 | 0 | _internal_set_callty(static_cast<::solidity::yul::test::yul_fuzzer::LowLevelCall_Type>(val)); |
2538 | 0 | } else { |
2539 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::WriteVarint(1, val, mutable_unknown_fields()); |
2540 | 0 | } |
2541 | 0 | } else |
2542 | 0 | goto handle_unusual; |
2543 | 0 | continue; |
2544 | | // required .solidity.yul.test.yul_fuzzer.Expression gas = 2; |
2545 | 0 | case 2: |
2546 | 0 | if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 18)) { |
2547 | 0 | ptr = ctx->ParseMessage(_internal_mutable_gas(), ptr); |
2548 | 0 | CHK_(ptr); |
2549 | 0 | } else |
2550 | 0 | goto handle_unusual; |
2551 | 0 | continue; |
2552 | | // required .solidity.yul.test.yul_fuzzer.Expression addr = 3; |
2553 | 0 | case 3: |
2554 | 0 | if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 26)) { |
2555 | 0 | ptr = ctx->ParseMessage(_internal_mutable_addr(), ptr); |
2556 | 0 | CHK_(ptr); |
2557 | 0 | } else |
2558 | 0 | goto handle_unusual; |
2559 | 0 | continue; |
2560 | | // required .solidity.yul.test.yul_fuzzer.Expression wei = 4; |
2561 | 0 | case 4: |
2562 | 0 | if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 34)) { |
2563 | 0 | ptr = ctx->ParseMessage(_internal_mutable_wei(), ptr); |
2564 | 0 | CHK_(ptr); |
2565 | 0 | } else |
2566 | 0 | goto handle_unusual; |
2567 | 0 | continue; |
2568 | | // required .solidity.yul.test.yul_fuzzer.Expression in = 5; |
2569 | 0 | case 5: |
2570 | 0 | if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 42)) { |
2571 | 0 | ptr = ctx->ParseMessage(_internal_mutable_in(), ptr); |
2572 | 0 | CHK_(ptr); |
2573 | 0 | } else |
2574 | 0 | goto handle_unusual; |
2575 | 0 | continue; |
2576 | | // required .solidity.yul.test.yul_fuzzer.Expression insize = 6; |
2577 | 0 | case 6: |
2578 | 0 | if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 50)) { |
2579 | 0 | ptr = ctx->ParseMessage(_internal_mutable_insize(), ptr); |
2580 | 0 | CHK_(ptr); |
2581 | 0 | } else |
2582 | 0 | goto handle_unusual; |
2583 | 0 | continue; |
2584 | | // required .solidity.yul.test.yul_fuzzer.Expression out = 7; |
2585 | 0 | case 7: |
2586 | 0 | if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 58)) { |
2587 | 0 | ptr = ctx->ParseMessage(_internal_mutable_out(), ptr); |
2588 | 0 | CHK_(ptr); |
2589 | 0 | } else |
2590 | 0 | goto handle_unusual; |
2591 | 0 | continue; |
2592 | | // required .solidity.yul.test.yul_fuzzer.Expression outsize = 8; |
2593 | 0 | case 8: |
2594 | 0 | if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 66)) { |
2595 | 0 | ptr = ctx->ParseMessage(_internal_mutable_outsize(), ptr); |
2596 | 0 | CHK_(ptr); |
2597 | 0 | } else |
2598 | 0 | goto handle_unusual; |
2599 | 0 | continue; |
2600 | 0 | default: |
2601 | 0 | goto handle_unusual; |
2602 | 0 | } // switch |
2603 | 0 | handle_unusual: |
2604 | 0 | if ((tag == 0) || ((tag & 7) == 4)) { |
2605 | 0 | CHK_(ptr); |
2606 | 0 | ctx->SetLastTag(tag); |
2607 | 0 | goto message_done; |
2608 | 0 | } |
2609 | 0 | ptr = UnknownFieldParse( |
2610 | 0 | tag, |
2611 | 0 | _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), |
2612 | 0 | ptr, ctx); |
2613 | 0 | CHK_(ptr != nullptr); |
2614 | 0 | } // while |
2615 | 0 | message_done: |
2616 | 0 | _impl_._has_bits_.Or(has_bits); |
2617 | 0 | return ptr; |
2618 | 0 | failure: |
2619 | 0 | ptr = nullptr; |
2620 | 0 | goto message_done; |
2621 | 0 | #undef CHK_ |
2622 | 0 | } |
2623 | | |
2624 | | uint8_t* LowLevelCall::_InternalSerialize( |
2625 | 0 | uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { |
2626 | | // @@protoc_insertion_point(serialize_to_array_start:solidity.yul.test.yul_fuzzer.LowLevelCall) |
2627 | 0 | uint32_t cached_has_bits = 0; |
2628 | 0 | (void) cached_has_bits; |
2629 | |
|
2630 | 0 | cached_has_bits = _impl_._has_bits_[0]; |
2631 | | // required .solidity.yul.test.yul_fuzzer.LowLevelCall.Type callty = 1; |
2632 | 0 | if (cached_has_bits & 0x00000080u) { |
2633 | 0 | target = stream->EnsureSpace(target); |
2634 | 0 | target = ::_pbi::WireFormatLite::WriteEnumToArray( |
2635 | 0 | 1, this->_internal_callty(), target); |
2636 | 0 | } |
2637 | | |
2638 | | // required .solidity.yul.test.yul_fuzzer.Expression gas = 2; |
2639 | 0 | if (cached_has_bits & 0x00000001u) { |
2640 | 0 | target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: |
2641 | 0 | InternalWriteMessage(2, _Internal::gas(this), |
2642 | 0 | _Internal::gas(this).GetCachedSize(), target, stream); |
2643 | 0 | } |
2644 | | |
2645 | | // required .solidity.yul.test.yul_fuzzer.Expression addr = 3; |
2646 | 0 | if (cached_has_bits & 0x00000002u) { |
2647 | 0 | target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: |
2648 | 0 | InternalWriteMessage(3, _Internal::addr(this), |
2649 | 0 | _Internal::addr(this).GetCachedSize(), target, stream); |
2650 | 0 | } |
2651 | | |
2652 | | // required .solidity.yul.test.yul_fuzzer.Expression wei = 4; |
2653 | 0 | if (cached_has_bits & 0x00000004u) { |
2654 | 0 | target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: |
2655 | 0 | InternalWriteMessage(4, _Internal::wei(this), |
2656 | 0 | _Internal::wei(this).GetCachedSize(), target, stream); |
2657 | 0 | } |
2658 | | |
2659 | | // required .solidity.yul.test.yul_fuzzer.Expression in = 5; |
2660 | 0 | if (cached_has_bits & 0x00000008u) { |
2661 | 0 | target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: |
2662 | 0 | InternalWriteMessage(5, _Internal::in(this), |
2663 | 0 | _Internal::in(this).GetCachedSize(), target, stream); |
2664 | 0 | } |
2665 | | |
2666 | | // required .solidity.yul.test.yul_fuzzer.Expression insize = 6; |
2667 | 0 | if (cached_has_bits & 0x00000010u) { |
2668 | 0 | target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: |
2669 | 0 | InternalWriteMessage(6, _Internal::insize(this), |
2670 | 0 | _Internal::insize(this).GetCachedSize(), target, stream); |
2671 | 0 | } |
2672 | | |
2673 | | // required .solidity.yul.test.yul_fuzzer.Expression out = 7; |
2674 | 0 | if (cached_has_bits & 0x00000020u) { |
2675 | 0 | target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: |
2676 | 0 | InternalWriteMessage(7, _Internal::out(this), |
2677 | 0 | _Internal::out(this).GetCachedSize(), target, stream); |
2678 | 0 | } |
2679 | | |
2680 | | // required .solidity.yul.test.yul_fuzzer.Expression outsize = 8; |
2681 | 0 | if (cached_has_bits & 0x00000040u) { |
2682 | 0 | target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: |
2683 | 0 | InternalWriteMessage(8, _Internal::outsize(this), |
2684 | 0 | _Internal::outsize(this).GetCachedSize(), target, stream); |
2685 | 0 | } |
2686 | |
|
2687 | 0 | if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { |
2688 | 0 | target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( |
2689 | 0 | _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); |
2690 | 0 | } |
2691 | | // @@protoc_insertion_point(serialize_to_array_end:solidity.yul.test.yul_fuzzer.LowLevelCall) |
2692 | 0 | return target; |
2693 | 0 | } |
2694 | | |
2695 | 0 | size_t LowLevelCall::RequiredFieldsByteSizeFallback() const { |
2696 | | // @@protoc_insertion_point(required_fields_byte_size_fallback_start:solidity.yul.test.yul_fuzzer.LowLevelCall) |
2697 | 0 | size_t total_size = 0; |
2698 | |
|
2699 | 0 | if (_internal_has_gas()) { |
2700 | | // required .solidity.yul.test.yul_fuzzer.Expression gas = 2; |
2701 | 0 | total_size += 1 + |
2702 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
2703 | 0 | *_impl_.gas_); |
2704 | 0 | } |
2705 | |
|
2706 | 0 | if (_internal_has_addr()) { |
2707 | | // required .solidity.yul.test.yul_fuzzer.Expression addr = 3; |
2708 | 0 | total_size += 1 + |
2709 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
2710 | 0 | *_impl_.addr_); |
2711 | 0 | } |
2712 | |
|
2713 | 0 | if (_internal_has_wei()) { |
2714 | | // required .solidity.yul.test.yul_fuzzer.Expression wei = 4; |
2715 | 0 | total_size += 1 + |
2716 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
2717 | 0 | *_impl_.wei_); |
2718 | 0 | } |
2719 | |
|
2720 | 0 | if (_internal_has_in()) { |
2721 | | // required .solidity.yul.test.yul_fuzzer.Expression in = 5; |
2722 | 0 | total_size += 1 + |
2723 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
2724 | 0 | *_impl_.in_); |
2725 | 0 | } |
2726 | |
|
2727 | 0 | if (_internal_has_insize()) { |
2728 | | // required .solidity.yul.test.yul_fuzzer.Expression insize = 6; |
2729 | 0 | total_size += 1 + |
2730 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
2731 | 0 | *_impl_.insize_); |
2732 | 0 | } |
2733 | |
|
2734 | 0 | if (_internal_has_out()) { |
2735 | | // required .solidity.yul.test.yul_fuzzer.Expression out = 7; |
2736 | 0 | total_size += 1 + |
2737 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
2738 | 0 | *_impl_.out_); |
2739 | 0 | } |
2740 | |
|
2741 | 0 | if (_internal_has_outsize()) { |
2742 | | // required .solidity.yul.test.yul_fuzzer.Expression outsize = 8; |
2743 | 0 | total_size += 1 + |
2744 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
2745 | 0 | *_impl_.outsize_); |
2746 | 0 | } |
2747 | |
|
2748 | 0 | if (_internal_has_callty()) { |
2749 | | // required .solidity.yul.test.yul_fuzzer.LowLevelCall.Type callty = 1; |
2750 | 0 | total_size += 1 + |
2751 | 0 | ::_pbi::WireFormatLite::EnumSize(this->_internal_callty()); |
2752 | 0 | } |
2753 | |
|
2754 | 0 | return total_size; |
2755 | 0 | } |
2756 | 23.2k | size_t LowLevelCall::ByteSizeLong() const { |
2757 | | // @@protoc_insertion_point(message_byte_size_start:solidity.yul.test.yul_fuzzer.LowLevelCall) |
2758 | 23.2k | size_t total_size = 0; |
2759 | | |
2760 | 23.2k | if (((_impl_._has_bits_[0] & 0x000000ff) ^ 0x000000ff) == 0) { // All required fields are present. |
2761 | | // required .solidity.yul.test.yul_fuzzer.Expression gas = 2; |
2762 | 23.2k | total_size += 1 + |
2763 | 23.2k | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
2764 | 23.2k | *_impl_.gas_); |
2765 | | |
2766 | | // required .solidity.yul.test.yul_fuzzer.Expression addr = 3; |
2767 | 23.2k | total_size += 1 + |
2768 | 23.2k | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
2769 | 23.2k | *_impl_.addr_); |
2770 | | |
2771 | | // required .solidity.yul.test.yul_fuzzer.Expression wei = 4; |
2772 | 23.2k | total_size += 1 + |
2773 | 23.2k | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
2774 | 23.2k | *_impl_.wei_); |
2775 | | |
2776 | | // required .solidity.yul.test.yul_fuzzer.Expression in = 5; |
2777 | 23.2k | total_size += 1 + |
2778 | 23.2k | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
2779 | 23.2k | *_impl_.in_); |
2780 | | |
2781 | | // required .solidity.yul.test.yul_fuzzer.Expression insize = 6; |
2782 | 23.2k | total_size += 1 + |
2783 | 23.2k | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
2784 | 23.2k | *_impl_.insize_); |
2785 | | |
2786 | | // required .solidity.yul.test.yul_fuzzer.Expression out = 7; |
2787 | 23.2k | total_size += 1 + |
2788 | 23.2k | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
2789 | 23.2k | *_impl_.out_); |
2790 | | |
2791 | | // required .solidity.yul.test.yul_fuzzer.Expression outsize = 8; |
2792 | 23.2k | total_size += 1 + |
2793 | 23.2k | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
2794 | 23.2k | *_impl_.outsize_); |
2795 | | |
2796 | | // required .solidity.yul.test.yul_fuzzer.LowLevelCall.Type callty = 1; |
2797 | 23.2k | total_size += 1 + |
2798 | 23.2k | ::_pbi::WireFormatLite::EnumSize(this->_internal_callty()); |
2799 | | |
2800 | 23.2k | } else { |
2801 | 0 | total_size += RequiredFieldsByteSizeFallback(); |
2802 | 0 | } |
2803 | 23.2k | uint32_t cached_has_bits = 0; |
2804 | | // Prevent compiler warnings about cached_has_bits being unused |
2805 | 23.2k | (void) cached_has_bits; |
2806 | | |
2807 | 23.2k | return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); |
2808 | 23.2k | } |
2809 | | |
2810 | | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData LowLevelCall::_class_data_ = { |
2811 | | ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, |
2812 | | LowLevelCall::MergeImpl |
2813 | | }; |
2814 | 0 | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*LowLevelCall::GetClassData() const { return &_class_data_; } |
2815 | | |
2816 | | |
2817 | 0 | void LowLevelCall::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { |
2818 | 0 | auto* const _this = static_cast<LowLevelCall*>(&to_msg); |
2819 | 0 | auto& from = static_cast<const LowLevelCall&>(from_msg); |
2820 | | // @@protoc_insertion_point(class_specific_merge_from_start:solidity.yul.test.yul_fuzzer.LowLevelCall) |
2821 | 0 | GOOGLE_DCHECK_NE(&from, _this); |
2822 | 0 | uint32_t cached_has_bits = 0; |
2823 | 0 | (void) cached_has_bits; |
2824 | |
|
2825 | 0 | cached_has_bits = from._impl_._has_bits_[0]; |
2826 | 0 | if (cached_has_bits & 0x000000ffu) { |
2827 | 0 | if (cached_has_bits & 0x00000001u) { |
2828 | 0 | _this->_internal_mutable_gas()->::solidity::yul::test::yul_fuzzer::Expression::MergeFrom( |
2829 | 0 | from._internal_gas()); |
2830 | 0 | } |
2831 | 0 | if (cached_has_bits & 0x00000002u) { |
2832 | 0 | _this->_internal_mutable_addr()->::solidity::yul::test::yul_fuzzer::Expression::MergeFrom( |
2833 | 0 | from._internal_addr()); |
2834 | 0 | } |
2835 | 0 | if (cached_has_bits & 0x00000004u) { |
2836 | 0 | _this->_internal_mutable_wei()->::solidity::yul::test::yul_fuzzer::Expression::MergeFrom( |
2837 | 0 | from._internal_wei()); |
2838 | 0 | } |
2839 | 0 | if (cached_has_bits & 0x00000008u) { |
2840 | 0 | _this->_internal_mutable_in()->::solidity::yul::test::yul_fuzzer::Expression::MergeFrom( |
2841 | 0 | from._internal_in()); |
2842 | 0 | } |
2843 | 0 | if (cached_has_bits & 0x00000010u) { |
2844 | 0 | _this->_internal_mutable_insize()->::solidity::yul::test::yul_fuzzer::Expression::MergeFrom( |
2845 | 0 | from._internal_insize()); |
2846 | 0 | } |
2847 | 0 | if (cached_has_bits & 0x00000020u) { |
2848 | 0 | _this->_internal_mutable_out()->::solidity::yul::test::yul_fuzzer::Expression::MergeFrom( |
2849 | 0 | from._internal_out()); |
2850 | 0 | } |
2851 | 0 | if (cached_has_bits & 0x00000040u) { |
2852 | 0 | _this->_internal_mutable_outsize()->::solidity::yul::test::yul_fuzzer::Expression::MergeFrom( |
2853 | 0 | from._internal_outsize()); |
2854 | 0 | } |
2855 | 0 | if (cached_has_bits & 0x00000080u) { |
2856 | 0 | _this->_impl_.callty_ = from._impl_.callty_; |
2857 | 0 | } |
2858 | 0 | _this->_impl_._has_bits_[0] |= cached_has_bits; |
2859 | 0 | } |
2860 | 0 | _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); |
2861 | 0 | } |
2862 | | |
2863 | 0 | void LowLevelCall::CopyFrom(const LowLevelCall& from) { |
2864 | | // @@protoc_insertion_point(class_specific_copy_from_start:solidity.yul.test.yul_fuzzer.LowLevelCall) |
2865 | 0 | if (&from == this) return; |
2866 | 0 | Clear(); |
2867 | 0 | MergeFrom(from); |
2868 | 0 | } |
2869 | | |
2870 | 0 | bool LowLevelCall::IsInitialized() const { |
2871 | 0 | if (_Internal::MissingRequiredFields(_impl_._has_bits_)) return false; |
2872 | 0 | if (_internal_has_gas()) { |
2873 | 0 | if (!_impl_.gas_->IsInitialized()) return false; |
2874 | 0 | } |
2875 | 0 | if (_internal_has_addr()) { |
2876 | 0 | if (!_impl_.addr_->IsInitialized()) return false; |
2877 | 0 | } |
2878 | 0 | if (_internal_has_wei()) { |
2879 | 0 | if (!_impl_.wei_->IsInitialized()) return false; |
2880 | 0 | } |
2881 | 0 | if (_internal_has_in()) { |
2882 | 0 | if (!_impl_.in_->IsInitialized()) return false; |
2883 | 0 | } |
2884 | 0 | if (_internal_has_insize()) { |
2885 | 0 | if (!_impl_.insize_->IsInitialized()) return false; |
2886 | 0 | } |
2887 | 0 | if (_internal_has_out()) { |
2888 | 0 | if (!_impl_.out_->IsInitialized()) return false; |
2889 | 0 | } |
2890 | 0 | if (_internal_has_outsize()) { |
2891 | 0 | if (!_impl_.outsize_->IsInitialized()) return false; |
2892 | 0 | } |
2893 | 0 | return true; |
2894 | 0 | } |
2895 | | |
2896 | 0 | void LowLevelCall::InternalSwap(LowLevelCall* other) { |
2897 | 0 | using std::swap; |
2898 | 0 | _internal_metadata_.InternalSwap(&other->_internal_metadata_); |
2899 | 0 | swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); |
2900 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::memswap< |
2901 | 0 | PROTOBUF_FIELD_OFFSET(LowLevelCall, _impl_.callty_) |
2902 | 0 | + sizeof(LowLevelCall::_impl_.callty_) |
2903 | 0 | - PROTOBUF_FIELD_OFFSET(LowLevelCall, _impl_.gas_)>( |
2904 | 0 | reinterpret_cast<char*>(&_impl_.gas_), |
2905 | 0 | reinterpret_cast<char*>(&other->_impl_.gas_)); |
2906 | 0 | } |
2907 | | |
2908 | 832k | ::PROTOBUF_NAMESPACE_ID::Metadata LowLevelCall::GetMetadata() const { |
2909 | 832k | return ::_pbi::AssignDescriptors( |
2910 | 832k | &descriptor_table_yulProto_2eproto_getter, &descriptor_table_yulProto_2eproto_once, |
2911 | 832k | file_level_metadata_yulProto_2eproto[2]); |
2912 | 832k | } |
2913 | | |
2914 | | // =================================================================== |
2915 | | |
2916 | | class Create::_Internal { |
2917 | | public: |
2918 | | using HasBits = decltype(std::declval<Create>()._impl_._has_bits_); |
2919 | 0 | static void set_has_createty(HasBits* has_bits) { |
2920 | 0 | (*has_bits)[0] |= 16u; |
2921 | 0 | } |
2922 | | static const ::solidity::yul::test::yul_fuzzer::Expression& wei(const Create* msg); |
2923 | 0 | static void set_has_wei(HasBits* has_bits) { |
2924 | 0 | (*has_bits)[0] |= 1u; |
2925 | 0 | } |
2926 | | static const ::solidity::yul::test::yul_fuzzer::Expression& position(const Create* msg); |
2927 | 0 | static void set_has_position(HasBits* has_bits) { |
2928 | 0 | (*has_bits)[0] |= 2u; |
2929 | 0 | } |
2930 | | static const ::solidity::yul::test::yul_fuzzer::Expression& size(const Create* msg); |
2931 | 0 | static void set_has_size(HasBits* has_bits) { |
2932 | 0 | (*has_bits)[0] |= 4u; |
2933 | 0 | } |
2934 | | static const ::solidity::yul::test::yul_fuzzer::Expression& value(const Create* msg); |
2935 | 0 | static void set_has_value(HasBits* has_bits) { |
2936 | 0 | (*has_bits)[0] |= 8u; |
2937 | 0 | } |
2938 | 0 | static bool MissingRequiredFields(const HasBits& has_bits) { |
2939 | 0 | return ((has_bits[0] & 0x0000001f) ^ 0x0000001f) != 0; |
2940 | 0 | } |
2941 | | }; |
2942 | | |
2943 | | const ::solidity::yul::test::yul_fuzzer::Expression& |
2944 | 0 | Create::_Internal::wei(const Create* msg) { |
2945 | 0 | return *msg->_impl_.wei_; |
2946 | 0 | } |
2947 | | const ::solidity::yul::test::yul_fuzzer::Expression& |
2948 | 0 | Create::_Internal::position(const Create* msg) { |
2949 | 0 | return *msg->_impl_.position_; |
2950 | 0 | } |
2951 | | const ::solidity::yul::test::yul_fuzzer::Expression& |
2952 | 0 | Create::_Internal::size(const Create* msg) { |
2953 | 0 | return *msg->_impl_.size_; |
2954 | 0 | } |
2955 | | const ::solidity::yul::test::yul_fuzzer::Expression& |
2956 | 0 | Create::_Internal::value(const Create* msg) { |
2957 | 0 | return *msg->_impl_.value_; |
2958 | 0 | } |
2959 | | Create::Create(::PROTOBUF_NAMESPACE_ID::Arena* arena, |
2960 | | bool is_message_owned) |
2961 | 14.4k | : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { |
2962 | 14.4k | SharedCtor(arena, is_message_owned); |
2963 | | // @@protoc_insertion_point(arena_constructor:solidity.yul.test.yul_fuzzer.Create) |
2964 | 14.4k | } |
2965 | | Create::Create(const Create& from) |
2966 | 0 | : ::PROTOBUF_NAMESPACE_ID::Message() { |
2967 | 0 | Create* const _this = this; (void)_this; |
2968 | 0 | new (&_impl_) Impl_{ |
2969 | 0 | decltype(_impl_._has_bits_){from._impl_._has_bits_} |
2970 | 0 | , /*decltype(_impl_._cached_size_)*/{} |
2971 | 0 | , decltype(_impl_.wei_){nullptr} |
2972 | 0 | , decltype(_impl_.position_){nullptr} |
2973 | 0 | , decltype(_impl_.size_){nullptr} |
2974 | 0 | , decltype(_impl_.value_){nullptr} |
2975 | 0 | , decltype(_impl_.createty_){}}; |
2976 | |
|
2977 | 0 | _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); |
2978 | 0 | if (from._internal_has_wei()) { |
2979 | 0 | _this->_impl_.wei_ = new ::solidity::yul::test::yul_fuzzer::Expression(*from._impl_.wei_); |
2980 | 0 | } |
2981 | 0 | if (from._internal_has_position()) { |
2982 | 0 | _this->_impl_.position_ = new ::solidity::yul::test::yul_fuzzer::Expression(*from._impl_.position_); |
2983 | 0 | } |
2984 | 0 | if (from._internal_has_size()) { |
2985 | 0 | _this->_impl_.size_ = new ::solidity::yul::test::yul_fuzzer::Expression(*from._impl_.size_); |
2986 | 0 | } |
2987 | 0 | if (from._internal_has_value()) { |
2988 | 0 | _this->_impl_.value_ = new ::solidity::yul::test::yul_fuzzer::Expression(*from._impl_.value_); |
2989 | 0 | } |
2990 | 0 | _this->_impl_.createty_ = from._impl_.createty_; |
2991 | | // @@protoc_insertion_point(copy_constructor:solidity.yul.test.yul_fuzzer.Create) |
2992 | 0 | } |
2993 | | |
2994 | | inline void Create::SharedCtor( |
2995 | 14.4k | ::_pb::Arena* arena, bool is_message_owned) { |
2996 | 14.4k | (void)arena; |
2997 | 14.4k | (void)is_message_owned; |
2998 | 14.4k | new (&_impl_) Impl_{ |
2999 | 14.4k | decltype(_impl_._has_bits_){} |
3000 | 14.4k | , /*decltype(_impl_._cached_size_)*/{} |
3001 | 14.4k | , decltype(_impl_.wei_){nullptr} |
3002 | 14.4k | , decltype(_impl_.position_){nullptr} |
3003 | 14.4k | , decltype(_impl_.size_){nullptr} |
3004 | 14.4k | , decltype(_impl_.value_){nullptr} |
3005 | 14.4k | , decltype(_impl_.createty_){0} |
3006 | 14.4k | }; |
3007 | 14.4k | } |
3008 | | |
3009 | 14.4k | Create::~Create() { |
3010 | | // @@protoc_insertion_point(destructor:solidity.yul.test.yul_fuzzer.Create) |
3011 | 14.4k | if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { |
3012 | 0 | (void)arena; |
3013 | 0 | return; |
3014 | 0 | } |
3015 | 14.4k | SharedDtor(); |
3016 | 14.4k | } |
3017 | | |
3018 | 14.4k | inline void Create::SharedDtor() { |
3019 | 14.4k | GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); |
3020 | 14.4k | if (this != internal_default_instance()) delete _impl_.wei_; |
3021 | 14.4k | if (this != internal_default_instance()) delete _impl_.position_; |
3022 | 14.4k | if (this != internal_default_instance()) delete _impl_.size_; |
3023 | 14.4k | if (this != internal_default_instance()) delete _impl_.value_; |
3024 | 14.4k | } |
3025 | | |
3026 | 0 | void Create::SetCachedSize(int size) const { |
3027 | 0 | _impl_._cached_size_.Set(size); |
3028 | 0 | } |
3029 | | |
3030 | 0 | void Create::Clear() { |
3031 | | // @@protoc_insertion_point(message_clear_start:solidity.yul.test.yul_fuzzer.Create) |
3032 | 0 | uint32_t cached_has_bits = 0; |
3033 | | // Prevent compiler warnings about cached_has_bits being unused |
3034 | 0 | (void) cached_has_bits; |
3035 | |
|
3036 | 0 | cached_has_bits = _impl_._has_bits_[0]; |
3037 | 0 | if (cached_has_bits & 0x0000000fu) { |
3038 | 0 | if (cached_has_bits & 0x00000001u) { |
3039 | 0 | GOOGLE_DCHECK(_impl_.wei_ != nullptr); |
3040 | 0 | _impl_.wei_->Clear(); |
3041 | 0 | } |
3042 | 0 | if (cached_has_bits & 0x00000002u) { |
3043 | 0 | GOOGLE_DCHECK(_impl_.position_ != nullptr); |
3044 | 0 | _impl_.position_->Clear(); |
3045 | 0 | } |
3046 | 0 | if (cached_has_bits & 0x00000004u) { |
3047 | 0 | GOOGLE_DCHECK(_impl_.size_ != nullptr); |
3048 | 0 | _impl_.size_->Clear(); |
3049 | 0 | } |
3050 | 0 | if (cached_has_bits & 0x00000008u) { |
3051 | 0 | GOOGLE_DCHECK(_impl_.value_ != nullptr); |
3052 | 0 | _impl_.value_->Clear(); |
3053 | 0 | } |
3054 | 0 | } |
3055 | 0 | _impl_.createty_ = 0; |
3056 | 0 | _impl_._has_bits_.Clear(); |
3057 | 0 | _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); |
3058 | 0 | } |
3059 | | |
3060 | 0 | const char* Create::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { |
3061 | 0 | #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure |
3062 | 0 | _Internal::HasBits has_bits{}; |
3063 | 0 | while (!ctx->Done(&ptr)) { |
3064 | 0 | uint32_t tag; |
3065 | 0 | ptr = ::_pbi::ReadTag(ptr, &tag); |
3066 | 0 | switch (tag >> 3) { |
3067 | | // required .solidity.yul.test.yul_fuzzer.Create.Type createty = 1; |
3068 | 0 | case 1: |
3069 | 0 | if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 8)) { |
3070 | 0 | uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); |
3071 | 0 | CHK_(ptr); |
3072 | 0 | if (PROTOBUF_PREDICT_TRUE(::solidity::yul::test::yul_fuzzer::Create_Type_IsValid(val))) { |
3073 | 0 | _internal_set_createty(static_cast<::solidity::yul::test::yul_fuzzer::Create_Type>(val)); |
3074 | 0 | } else { |
3075 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::WriteVarint(1, val, mutable_unknown_fields()); |
3076 | 0 | } |
3077 | 0 | } else |
3078 | 0 | goto handle_unusual; |
3079 | 0 | continue; |
3080 | | // required .solidity.yul.test.yul_fuzzer.Expression wei = 2; |
3081 | 0 | case 2: |
3082 | 0 | if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 18)) { |
3083 | 0 | ptr = ctx->ParseMessage(_internal_mutable_wei(), ptr); |
3084 | 0 | CHK_(ptr); |
3085 | 0 | } else |
3086 | 0 | goto handle_unusual; |
3087 | 0 | continue; |
3088 | | // required .solidity.yul.test.yul_fuzzer.Expression position = 3; |
3089 | 0 | case 3: |
3090 | 0 | if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 26)) { |
3091 | 0 | ptr = ctx->ParseMessage(_internal_mutable_position(), ptr); |
3092 | 0 | CHK_(ptr); |
3093 | 0 | } else |
3094 | 0 | goto handle_unusual; |
3095 | 0 | continue; |
3096 | | // required .solidity.yul.test.yul_fuzzer.Expression size = 4; |
3097 | 0 | case 4: |
3098 | 0 | if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 34)) { |
3099 | 0 | ptr = ctx->ParseMessage(_internal_mutable_size(), ptr); |
3100 | 0 | CHK_(ptr); |
3101 | 0 | } else |
3102 | 0 | goto handle_unusual; |
3103 | 0 | continue; |
3104 | | // required .solidity.yul.test.yul_fuzzer.Expression value = 5; |
3105 | 0 | case 5: |
3106 | 0 | if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 42)) { |
3107 | 0 | ptr = ctx->ParseMessage(_internal_mutable_value(), ptr); |
3108 | 0 | CHK_(ptr); |
3109 | 0 | } else |
3110 | 0 | goto handle_unusual; |
3111 | 0 | continue; |
3112 | 0 | default: |
3113 | 0 | goto handle_unusual; |
3114 | 0 | } // switch |
3115 | 0 | handle_unusual: |
3116 | 0 | if ((tag == 0) || ((tag & 7) == 4)) { |
3117 | 0 | CHK_(ptr); |
3118 | 0 | ctx->SetLastTag(tag); |
3119 | 0 | goto message_done; |
3120 | 0 | } |
3121 | 0 | ptr = UnknownFieldParse( |
3122 | 0 | tag, |
3123 | 0 | _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), |
3124 | 0 | ptr, ctx); |
3125 | 0 | CHK_(ptr != nullptr); |
3126 | 0 | } // while |
3127 | 0 | message_done: |
3128 | 0 | _impl_._has_bits_.Or(has_bits); |
3129 | 0 | return ptr; |
3130 | 0 | failure: |
3131 | 0 | ptr = nullptr; |
3132 | 0 | goto message_done; |
3133 | 0 | #undef CHK_ |
3134 | 0 | } |
3135 | | |
3136 | | uint8_t* Create::_InternalSerialize( |
3137 | 0 | uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { |
3138 | | // @@protoc_insertion_point(serialize_to_array_start:solidity.yul.test.yul_fuzzer.Create) |
3139 | 0 | uint32_t cached_has_bits = 0; |
3140 | 0 | (void) cached_has_bits; |
3141 | |
|
3142 | 0 | cached_has_bits = _impl_._has_bits_[0]; |
3143 | | // required .solidity.yul.test.yul_fuzzer.Create.Type createty = 1; |
3144 | 0 | if (cached_has_bits & 0x00000010u) { |
3145 | 0 | target = stream->EnsureSpace(target); |
3146 | 0 | target = ::_pbi::WireFormatLite::WriteEnumToArray( |
3147 | 0 | 1, this->_internal_createty(), target); |
3148 | 0 | } |
3149 | | |
3150 | | // required .solidity.yul.test.yul_fuzzer.Expression wei = 2; |
3151 | 0 | if (cached_has_bits & 0x00000001u) { |
3152 | 0 | target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: |
3153 | 0 | InternalWriteMessage(2, _Internal::wei(this), |
3154 | 0 | _Internal::wei(this).GetCachedSize(), target, stream); |
3155 | 0 | } |
3156 | | |
3157 | | // required .solidity.yul.test.yul_fuzzer.Expression position = 3; |
3158 | 0 | if (cached_has_bits & 0x00000002u) { |
3159 | 0 | target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: |
3160 | 0 | InternalWriteMessage(3, _Internal::position(this), |
3161 | 0 | _Internal::position(this).GetCachedSize(), target, stream); |
3162 | 0 | } |
3163 | | |
3164 | | // required .solidity.yul.test.yul_fuzzer.Expression size = 4; |
3165 | 0 | if (cached_has_bits & 0x00000004u) { |
3166 | 0 | target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: |
3167 | 0 | InternalWriteMessage(4, _Internal::size(this), |
3168 | 0 | _Internal::size(this).GetCachedSize(), target, stream); |
3169 | 0 | } |
3170 | | |
3171 | | // required .solidity.yul.test.yul_fuzzer.Expression value = 5; |
3172 | 0 | if (cached_has_bits & 0x00000008u) { |
3173 | 0 | target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: |
3174 | 0 | InternalWriteMessage(5, _Internal::value(this), |
3175 | 0 | _Internal::value(this).GetCachedSize(), target, stream); |
3176 | 0 | } |
3177 | |
|
3178 | 0 | if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { |
3179 | 0 | target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( |
3180 | 0 | _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); |
3181 | 0 | } |
3182 | | // @@protoc_insertion_point(serialize_to_array_end:solidity.yul.test.yul_fuzzer.Create) |
3183 | 0 | return target; |
3184 | 0 | } |
3185 | | |
3186 | 0 | size_t Create::RequiredFieldsByteSizeFallback() const { |
3187 | | // @@protoc_insertion_point(required_fields_byte_size_fallback_start:solidity.yul.test.yul_fuzzer.Create) |
3188 | 0 | size_t total_size = 0; |
3189 | |
|
3190 | 0 | if (_internal_has_wei()) { |
3191 | | // required .solidity.yul.test.yul_fuzzer.Expression wei = 2; |
3192 | 0 | total_size += 1 + |
3193 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
3194 | 0 | *_impl_.wei_); |
3195 | 0 | } |
3196 | |
|
3197 | 0 | if (_internal_has_position()) { |
3198 | | // required .solidity.yul.test.yul_fuzzer.Expression position = 3; |
3199 | 0 | total_size += 1 + |
3200 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
3201 | 0 | *_impl_.position_); |
3202 | 0 | } |
3203 | |
|
3204 | 0 | if (_internal_has_size()) { |
3205 | | // required .solidity.yul.test.yul_fuzzer.Expression size = 4; |
3206 | 0 | total_size += 1 + |
3207 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
3208 | 0 | *_impl_.size_); |
3209 | 0 | } |
3210 | |
|
3211 | 0 | if (_internal_has_value()) { |
3212 | | // required .solidity.yul.test.yul_fuzzer.Expression value = 5; |
3213 | 0 | total_size += 1 + |
3214 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
3215 | 0 | *_impl_.value_); |
3216 | 0 | } |
3217 | |
|
3218 | 0 | if (_internal_has_createty()) { |
3219 | | // required .solidity.yul.test.yul_fuzzer.Create.Type createty = 1; |
3220 | 0 | total_size += 1 + |
3221 | 0 | ::_pbi::WireFormatLite::EnumSize(this->_internal_createty()); |
3222 | 0 | } |
3223 | |
|
3224 | 0 | return total_size; |
3225 | 0 | } |
3226 | 11.4k | size_t Create::ByteSizeLong() const { |
3227 | | // @@protoc_insertion_point(message_byte_size_start:solidity.yul.test.yul_fuzzer.Create) |
3228 | 11.4k | size_t total_size = 0; |
3229 | | |
3230 | 11.4k | if (((_impl_._has_bits_[0] & 0x0000001f) ^ 0x0000001f) == 0) { // All required fields are present. |
3231 | | // required .solidity.yul.test.yul_fuzzer.Expression wei = 2; |
3232 | 11.4k | total_size += 1 + |
3233 | 11.4k | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
3234 | 11.4k | *_impl_.wei_); |
3235 | | |
3236 | | // required .solidity.yul.test.yul_fuzzer.Expression position = 3; |
3237 | 11.4k | total_size += 1 + |
3238 | 11.4k | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
3239 | 11.4k | *_impl_.position_); |
3240 | | |
3241 | | // required .solidity.yul.test.yul_fuzzer.Expression size = 4; |
3242 | 11.4k | total_size += 1 + |
3243 | 11.4k | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
3244 | 11.4k | *_impl_.size_); |
3245 | | |
3246 | | // required .solidity.yul.test.yul_fuzzer.Expression value = 5; |
3247 | 11.4k | total_size += 1 + |
3248 | 11.4k | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
3249 | 11.4k | *_impl_.value_); |
3250 | | |
3251 | | // required .solidity.yul.test.yul_fuzzer.Create.Type createty = 1; |
3252 | 11.4k | total_size += 1 + |
3253 | 11.4k | ::_pbi::WireFormatLite::EnumSize(this->_internal_createty()); |
3254 | | |
3255 | 11.4k | } else { |
3256 | 0 | total_size += RequiredFieldsByteSizeFallback(); |
3257 | 0 | } |
3258 | 11.4k | uint32_t cached_has_bits = 0; |
3259 | | // Prevent compiler warnings about cached_has_bits being unused |
3260 | 11.4k | (void) cached_has_bits; |
3261 | | |
3262 | 11.4k | return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); |
3263 | 11.4k | } |
3264 | | |
3265 | | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData Create::_class_data_ = { |
3266 | | ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, |
3267 | | Create::MergeImpl |
3268 | | }; |
3269 | 0 | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*Create::GetClassData() const { return &_class_data_; } |
3270 | | |
3271 | | |
3272 | 0 | void Create::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { |
3273 | 0 | auto* const _this = static_cast<Create*>(&to_msg); |
3274 | 0 | auto& from = static_cast<const Create&>(from_msg); |
3275 | | // @@protoc_insertion_point(class_specific_merge_from_start:solidity.yul.test.yul_fuzzer.Create) |
3276 | 0 | GOOGLE_DCHECK_NE(&from, _this); |
3277 | 0 | uint32_t cached_has_bits = 0; |
3278 | 0 | (void) cached_has_bits; |
3279 | |
|
3280 | 0 | cached_has_bits = from._impl_._has_bits_[0]; |
3281 | 0 | if (cached_has_bits & 0x0000001fu) { |
3282 | 0 | if (cached_has_bits & 0x00000001u) { |
3283 | 0 | _this->_internal_mutable_wei()->::solidity::yul::test::yul_fuzzer::Expression::MergeFrom( |
3284 | 0 | from._internal_wei()); |
3285 | 0 | } |
3286 | 0 | if (cached_has_bits & 0x00000002u) { |
3287 | 0 | _this->_internal_mutable_position()->::solidity::yul::test::yul_fuzzer::Expression::MergeFrom( |
3288 | 0 | from._internal_position()); |
3289 | 0 | } |
3290 | 0 | if (cached_has_bits & 0x00000004u) { |
3291 | 0 | _this->_internal_mutable_size()->::solidity::yul::test::yul_fuzzer::Expression::MergeFrom( |
3292 | 0 | from._internal_size()); |
3293 | 0 | } |
3294 | 0 | if (cached_has_bits & 0x00000008u) { |
3295 | 0 | _this->_internal_mutable_value()->::solidity::yul::test::yul_fuzzer::Expression::MergeFrom( |
3296 | 0 | from._internal_value()); |
3297 | 0 | } |
3298 | 0 | if (cached_has_bits & 0x00000010u) { |
3299 | 0 | _this->_impl_.createty_ = from._impl_.createty_; |
3300 | 0 | } |
3301 | 0 | _this->_impl_._has_bits_[0] |= cached_has_bits; |
3302 | 0 | } |
3303 | 0 | _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); |
3304 | 0 | } |
3305 | | |
3306 | 0 | void Create::CopyFrom(const Create& from) { |
3307 | | // @@protoc_insertion_point(class_specific_copy_from_start:solidity.yul.test.yul_fuzzer.Create) |
3308 | 0 | if (&from == this) return; |
3309 | 0 | Clear(); |
3310 | 0 | MergeFrom(from); |
3311 | 0 | } |
3312 | | |
3313 | 0 | bool Create::IsInitialized() const { |
3314 | 0 | if (_Internal::MissingRequiredFields(_impl_._has_bits_)) return false; |
3315 | 0 | if (_internal_has_wei()) { |
3316 | 0 | if (!_impl_.wei_->IsInitialized()) return false; |
3317 | 0 | } |
3318 | 0 | if (_internal_has_position()) { |
3319 | 0 | if (!_impl_.position_->IsInitialized()) return false; |
3320 | 0 | } |
3321 | 0 | if (_internal_has_size()) { |
3322 | 0 | if (!_impl_.size_->IsInitialized()) return false; |
3323 | 0 | } |
3324 | 0 | if (_internal_has_value()) { |
3325 | 0 | if (!_impl_.value_->IsInitialized()) return false; |
3326 | 0 | } |
3327 | 0 | return true; |
3328 | 0 | } |
3329 | | |
3330 | 0 | void Create::InternalSwap(Create* other) { |
3331 | 0 | using std::swap; |
3332 | 0 | _internal_metadata_.InternalSwap(&other->_internal_metadata_); |
3333 | 0 | swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); |
3334 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::memswap< |
3335 | 0 | PROTOBUF_FIELD_OFFSET(Create, _impl_.createty_) |
3336 | 0 | + sizeof(Create::_impl_.createty_) |
3337 | 0 | - PROTOBUF_FIELD_OFFSET(Create, _impl_.wei_)>( |
3338 | 0 | reinterpret_cast<char*>(&_impl_.wei_), |
3339 | 0 | reinterpret_cast<char*>(&other->_impl_.wei_)); |
3340 | 0 | } |
3341 | | |
3342 | 307k | ::PROTOBUF_NAMESPACE_ID::Metadata Create::GetMetadata() const { |
3343 | 307k | return ::_pbi::AssignDescriptors( |
3344 | 307k | &descriptor_table_yulProto_2eproto_getter, &descriptor_table_yulProto_2eproto_once, |
3345 | 307k | file_level_metadata_yulProto_2eproto[3]); |
3346 | 307k | } |
3347 | | |
3348 | | // =================================================================== |
3349 | | |
3350 | | class FunctionCall::_Internal { |
3351 | | public: |
3352 | | using HasBits = decltype(std::declval<FunctionCall>()._impl_._has_bits_); |
3353 | | static const ::solidity::yul::test::yul_fuzzer::Expression& in_param1(const FunctionCall* msg); |
3354 | 0 | static void set_has_in_param1(HasBits* has_bits) { |
3355 | 0 | (*has_bits)[0] |= 1u; |
3356 | 0 | } |
3357 | | static const ::solidity::yul::test::yul_fuzzer::Expression& in_param2(const FunctionCall* msg); |
3358 | 0 | static void set_has_in_param2(HasBits* has_bits) { |
3359 | 0 | (*has_bits)[0] |= 2u; |
3360 | 0 | } |
3361 | | static const ::solidity::yul::test::yul_fuzzer::Expression& in_param3(const FunctionCall* msg); |
3362 | 0 | static void set_has_in_param3(HasBits* has_bits) { |
3363 | 0 | (*has_bits)[0] |= 4u; |
3364 | 0 | } |
3365 | | static const ::solidity::yul::test::yul_fuzzer::Expression& in_param4(const FunctionCall* msg); |
3366 | 0 | static void set_has_in_param4(HasBits* has_bits) { |
3367 | 0 | (*has_bits)[0] |= 8u; |
3368 | 0 | } |
3369 | 0 | static bool MissingRequiredFields(const HasBits& has_bits) { |
3370 | 0 | return ((has_bits[0] & 0x0000000f) ^ 0x0000000f) != 0; |
3371 | 0 | } |
3372 | | }; |
3373 | | |
3374 | | const ::solidity::yul::test::yul_fuzzer::Expression& |
3375 | 0 | FunctionCall::_Internal::in_param1(const FunctionCall* msg) { |
3376 | 0 | return *msg->_impl_.in_param1_; |
3377 | 0 | } |
3378 | | const ::solidity::yul::test::yul_fuzzer::Expression& |
3379 | 0 | FunctionCall::_Internal::in_param2(const FunctionCall* msg) { |
3380 | 0 | return *msg->_impl_.in_param2_; |
3381 | 0 | } |
3382 | | const ::solidity::yul::test::yul_fuzzer::Expression& |
3383 | 0 | FunctionCall::_Internal::in_param3(const FunctionCall* msg) { |
3384 | 0 | return *msg->_impl_.in_param3_; |
3385 | 0 | } |
3386 | | const ::solidity::yul::test::yul_fuzzer::Expression& |
3387 | 0 | FunctionCall::_Internal::in_param4(const FunctionCall* msg) { |
3388 | 0 | return *msg->_impl_.in_param4_; |
3389 | 0 | } |
3390 | | FunctionCall::FunctionCall(::PROTOBUF_NAMESPACE_ID::Arena* arena, |
3391 | | bool is_message_owned) |
3392 | 263k | : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { |
3393 | 263k | SharedCtor(arena, is_message_owned); |
3394 | | // @@protoc_insertion_point(arena_constructor:solidity.yul.test.yul_fuzzer.FunctionCall) |
3395 | 263k | } |
3396 | | FunctionCall::FunctionCall(const FunctionCall& from) |
3397 | 0 | : ::PROTOBUF_NAMESPACE_ID::Message() { |
3398 | 0 | FunctionCall* const _this = this; (void)_this; |
3399 | 0 | new (&_impl_) Impl_{ |
3400 | 0 | decltype(_impl_._has_bits_){from._impl_._has_bits_} |
3401 | 0 | , /*decltype(_impl_._cached_size_)*/{} |
3402 | 0 | , decltype(_impl_.in_param1_){nullptr} |
3403 | 0 | , decltype(_impl_.in_param2_){nullptr} |
3404 | 0 | , decltype(_impl_.in_param3_){nullptr} |
3405 | 0 | , decltype(_impl_.in_param4_){nullptr}}; |
3406 | |
|
3407 | 0 | _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); |
3408 | 0 | if (from._internal_has_in_param1()) { |
3409 | 0 | _this->_impl_.in_param1_ = new ::solidity::yul::test::yul_fuzzer::Expression(*from._impl_.in_param1_); |
3410 | 0 | } |
3411 | 0 | if (from._internal_has_in_param2()) { |
3412 | 0 | _this->_impl_.in_param2_ = new ::solidity::yul::test::yul_fuzzer::Expression(*from._impl_.in_param2_); |
3413 | 0 | } |
3414 | 0 | if (from._internal_has_in_param3()) { |
3415 | 0 | _this->_impl_.in_param3_ = new ::solidity::yul::test::yul_fuzzer::Expression(*from._impl_.in_param3_); |
3416 | 0 | } |
3417 | 0 | if (from._internal_has_in_param4()) { |
3418 | 0 | _this->_impl_.in_param4_ = new ::solidity::yul::test::yul_fuzzer::Expression(*from._impl_.in_param4_); |
3419 | 0 | } |
3420 | | // @@protoc_insertion_point(copy_constructor:solidity.yul.test.yul_fuzzer.FunctionCall) |
3421 | 0 | } |
3422 | | |
3423 | | inline void FunctionCall::SharedCtor( |
3424 | 263k | ::_pb::Arena* arena, bool is_message_owned) { |
3425 | 263k | (void)arena; |
3426 | 263k | (void)is_message_owned; |
3427 | 263k | new (&_impl_) Impl_{ |
3428 | 263k | decltype(_impl_._has_bits_){} |
3429 | 263k | , /*decltype(_impl_._cached_size_)*/{} |
3430 | 263k | , decltype(_impl_.in_param1_){nullptr} |
3431 | 263k | , decltype(_impl_.in_param2_){nullptr} |
3432 | 263k | , decltype(_impl_.in_param3_){nullptr} |
3433 | 263k | , decltype(_impl_.in_param4_){nullptr} |
3434 | 263k | }; |
3435 | 263k | } |
3436 | | |
3437 | 263k | FunctionCall::~FunctionCall() { |
3438 | | // @@protoc_insertion_point(destructor:solidity.yul.test.yul_fuzzer.FunctionCall) |
3439 | 263k | if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { |
3440 | 0 | (void)arena; |
3441 | 0 | return; |
3442 | 0 | } |
3443 | 263k | SharedDtor(); |
3444 | 263k | } |
3445 | | |
3446 | 263k | inline void FunctionCall::SharedDtor() { |
3447 | 263k | GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); |
3448 | 263k | if (this != internal_default_instance()) delete _impl_.in_param1_; |
3449 | 263k | if (this != internal_default_instance()) delete _impl_.in_param2_; |
3450 | 263k | if (this != internal_default_instance()) delete _impl_.in_param3_; |
3451 | 263k | if (this != internal_default_instance()) delete _impl_.in_param4_; |
3452 | 263k | } |
3453 | | |
3454 | 0 | void FunctionCall::SetCachedSize(int size) const { |
3455 | 0 | _impl_._cached_size_.Set(size); |
3456 | 0 | } |
3457 | | |
3458 | 0 | void FunctionCall::Clear() { |
3459 | | // @@protoc_insertion_point(message_clear_start:solidity.yul.test.yul_fuzzer.FunctionCall) |
3460 | 0 | uint32_t cached_has_bits = 0; |
3461 | | // Prevent compiler warnings about cached_has_bits being unused |
3462 | 0 | (void) cached_has_bits; |
3463 | |
|
3464 | 0 | cached_has_bits = _impl_._has_bits_[0]; |
3465 | 0 | if (cached_has_bits & 0x0000000fu) { |
3466 | 0 | if (cached_has_bits & 0x00000001u) { |
3467 | 0 | GOOGLE_DCHECK(_impl_.in_param1_ != nullptr); |
3468 | 0 | _impl_.in_param1_->Clear(); |
3469 | 0 | } |
3470 | 0 | if (cached_has_bits & 0x00000002u) { |
3471 | 0 | GOOGLE_DCHECK(_impl_.in_param2_ != nullptr); |
3472 | 0 | _impl_.in_param2_->Clear(); |
3473 | 0 | } |
3474 | 0 | if (cached_has_bits & 0x00000004u) { |
3475 | 0 | GOOGLE_DCHECK(_impl_.in_param3_ != nullptr); |
3476 | 0 | _impl_.in_param3_->Clear(); |
3477 | 0 | } |
3478 | 0 | if (cached_has_bits & 0x00000008u) { |
3479 | 0 | GOOGLE_DCHECK(_impl_.in_param4_ != nullptr); |
3480 | 0 | _impl_.in_param4_->Clear(); |
3481 | 0 | } |
3482 | 0 | } |
3483 | 0 | _impl_._has_bits_.Clear(); |
3484 | 0 | _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); |
3485 | 0 | } |
3486 | | |
3487 | 0 | const char* FunctionCall::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { |
3488 | 0 | #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure |
3489 | 0 | _Internal::HasBits has_bits{}; |
3490 | 0 | while (!ctx->Done(&ptr)) { |
3491 | 0 | uint32_t tag; |
3492 | 0 | ptr = ::_pbi::ReadTag(ptr, &tag); |
3493 | 0 | switch (tag >> 3) { |
3494 | | // required .solidity.yul.test.yul_fuzzer.Expression in_param1 = 1; |
3495 | 0 | case 1: |
3496 | 0 | if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 10)) { |
3497 | 0 | ptr = ctx->ParseMessage(_internal_mutable_in_param1(), ptr); |
3498 | 0 | CHK_(ptr); |
3499 | 0 | } else |
3500 | 0 | goto handle_unusual; |
3501 | 0 | continue; |
3502 | | // required .solidity.yul.test.yul_fuzzer.Expression in_param2 = 2; |
3503 | 0 | case 2: |
3504 | 0 | if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 18)) { |
3505 | 0 | ptr = ctx->ParseMessage(_internal_mutable_in_param2(), ptr); |
3506 | 0 | CHK_(ptr); |
3507 | 0 | } else |
3508 | 0 | goto handle_unusual; |
3509 | 0 | continue; |
3510 | | // required .solidity.yul.test.yul_fuzzer.Expression in_param3 = 3; |
3511 | 0 | case 3: |
3512 | 0 | if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 26)) { |
3513 | 0 | ptr = ctx->ParseMessage(_internal_mutable_in_param3(), ptr); |
3514 | 0 | CHK_(ptr); |
3515 | 0 | } else |
3516 | 0 | goto handle_unusual; |
3517 | 0 | continue; |
3518 | | // required .solidity.yul.test.yul_fuzzer.Expression in_param4 = 4; |
3519 | 0 | case 4: |
3520 | 0 | if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 34)) { |
3521 | 0 | ptr = ctx->ParseMessage(_internal_mutable_in_param4(), ptr); |
3522 | 0 | CHK_(ptr); |
3523 | 0 | } else |
3524 | 0 | goto handle_unusual; |
3525 | 0 | continue; |
3526 | 0 | default: |
3527 | 0 | goto handle_unusual; |
3528 | 0 | } // switch |
3529 | 0 | handle_unusual: |
3530 | 0 | if ((tag == 0) || ((tag & 7) == 4)) { |
3531 | 0 | CHK_(ptr); |
3532 | 0 | ctx->SetLastTag(tag); |
3533 | 0 | goto message_done; |
3534 | 0 | } |
3535 | 0 | ptr = UnknownFieldParse( |
3536 | 0 | tag, |
3537 | 0 | _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), |
3538 | 0 | ptr, ctx); |
3539 | 0 | CHK_(ptr != nullptr); |
3540 | 0 | } // while |
3541 | 0 | message_done: |
3542 | 0 | _impl_._has_bits_.Or(has_bits); |
3543 | 0 | return ptr; |
3544 | 0 | failure: |
3545 | 0 | ptr = nullptr; |
3546 | 0 | goto message_done; |
3547 | 0 | #undef CHK_ |
3548 | 0 | } |
3549 | | |
3550 | | uint8_t* FunctionCall::_InternalSerialize( |
3551 | 0 | uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { |
3552 | | // @@protoc_insertion_point(serialize_to_array_start:solidity.yul.test.yul_fuzzer.FunctionCall) |
3553 | 0 | uint32_t cached_has_bits = 0; |
3554 | 0 | (void) cached_has_bits; |
3555 | |
|
3556 | 0 | cached_has_bits = _impl_._has_bits_[0]; |
3557 | | // required .solidity.yul.test.yul_fuzzer.Expression in_param1 = 1; |
3558 | 0 | if (cached_has_bits & 0x00000001u) { |
3559 | 0 | target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: |
3560 | 0 | InternalWriteMessage(1, _Internal::in_param1(this), |
3561 | 0 | _Internal::in_param1(this).GetCachedSize(), target, stream); |
3562 | 0 | } |
3563 | | |
3564 | | // required .solidity.yul.test.yul_fuzzer.Expression in_param2 = 2; |
3565 | 0 | if (cached_has_bits & 0x00000002u) { |
3566 | 0 | target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: |
3567 | 0 | InternalWriteMessage(2, _Internal::in_param2(this), |
3568 | 0 | _Internal::in_param2(this).GetCachedSize(), target, stream); |
3569 | 0 | } |
3570 | | |
3571 | | // required .solidity.yul.test.yul_fuzzer.Expression in_param3 = 3; |
3572 | 0 | if (cached_has_bits & 0x00000004u) { |
3573 | 0 | target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: |
3574 | 0 | InternalWriteMessage(3, _Internal::in_param3(this), |
3575 | 0 | _Internal::in_param3(this).GetCachedSize(), target, stream); |
3576 | 0 | } |
3577 | | |
3578 | | // required .solidity.yul.test.yul_fuzzer.Expression in_param4 = 4; |
3579 | 0 | if (cached_has_bits & 0x00000008u) { |
3580 | 0 | target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: |
3581 | 0 | InternalWriteMessage(4, _Internal::in_param4(this), |
3582 | 0 | _Internal::in_param4(this).GetCachedSize(), target, stream); |
3583 | 0 | } |
3584 | |
|
3585 | 0 | if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { |
3586 | 0 | target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( |
3587 | 0 | _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); |
3588 | 0 | } |
3589 | | // @@protoc_insertion_point(serialize_to_array_end:solidity.yul.test.yul_fuzzer.FunctionCall) |
3590 | 0 | return target; |
3591 | 0 | } |
3592 | | |
3593 | 55.4k | size_t FunctionCall::RequiredFieldsByteSizeFallback() const { |
3594 | | // @@protoc_insertion_point(required_fields_byte_size_fallback_start:solidity.yul.test.yul_fuzzer.FunctionCall) |
3595 | 55.4k | size_t total_size = 0; |
3596 | | |
3597 | 55.4k | if (_internal_has_in_param1()) { |
3598 | | // required .solidity.yul.test.yul_fuzzer.Expression in_param1 = 1; |
3599 | 0 | total_size += 1 + |
3600 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
3601 | 0 | *_impl_.in_param1_); |
3602 | 0 | } |
3603 | | |
3604 | 55.4k | if (_internal_has_in_param2()) { |
3605 | | // required .solidity.yul.test.yul_fuzzer.Expression in_param2 = 2; |
3606 | 0 | total_size += 1 + |
3607 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
3608 | 0 | *_impl_.in_param2_); |
3609 | 0 | } |
3610 | | |
3611 | 55.4k | if (_internal_has_in_param3()) { |
3612 | | // required .solidity.yul.test.yul_fuzzer.Expression in_param3 = 3; |
3613 | 0 | total_size += 1 + |
3614 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
3615 | 0 | *_impl_.in_param3_); |
3616 | 0 | } |
3617 | | |
3618 | 55.4k | if (_internal_has_in_param4()) { |
3619 | | // required .solidity.yul.test.yul_fuzzer.Expression in_param4 = 4; |
3620 | 0 | total_size += 1 + |
3621 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
3622 | 0 | *_impl_.in_param4_); |
3623 | 0 | } |
3624 | | |
3625 | 55.4k | return total_size; |
3626 | 55.4k | } |
3627 | 258k | size_t FunctionCall::ByteSizeLong() const { |
3628 | | // @@protoc_insertion_point(message_byte_size_start:solidity.yul.test.yul_fuzzer.FunctionCall) |
3629 | 258k | size_t total_size = 0; |
3630 | | |
3631 | 258k | if (((_impl_._has_bits_[0] & 0x0000000f) ^ 0x0000000f) == 0) { // All required fields are present. |
3632 | | // required .solidity.yul.test.yul_fuzzer.Expression in_param1 = 1; |
3633 | 203k | total_size += 1 + |
3634 | 203k | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
3635 | 203k | *_impl_.in_param1_); |
3636 | | |
3637 | | // required .solidity.yul.test.yul_fuzzer.Expression in_param2 = 2; |
3638 | 203k | total_size += 1 + |
3639 | 203k | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
3640 | 203k | *_impl_.in_param2_); |
3641 | | |
3642 | | // required .solidity.yul.test.yul_fuzzer.Expression in_param3 = 3; |
3643 | 203k | total_size += 1 + |
3644 | 203k | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
3645 | 203k | *_impl_.in_param3_); |
3646 | | |
3647 | | // required .solidity.yul.test.yul_fuzzer.Expression in_param4 = 4; |
3648 | 203k | total_size += 1 + |
3649 | 203k | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
3650 | 203k | *_impl_.in_param4_); |
3651 | | |
3652 | 203k | } else { |
3653 | 55.4k | total_size += RequiredFieldsByteSizeFallback(); |
3654 | 55.4k | } |
3655 | 258k | uint32_t cached_has_bits = 0; |
3656 | | // Prevent compiler warnings about cached_has_bits being unused |
3657 | 258k | (void) cached_has_bits; |
3658 | | |
3659 | 258k | return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); |
3660 | 258k | } |
3661 | | |
3662 | | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData FunctionCall::_class_data_ = { |
3663 | | ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, |
3664 | | FunctionCall::MergeImpl |
3665 | | }; |
3666 | 0 | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*FunctionCall::GetClassData() const { return &_class_data_; } |
3667 | | |
3668 | | |
3669 | 0 | void FunctionCall::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { |
3670 | 0 | auto* const _this = static_cast<FunctionCall*>(&to_msg); |
3671 | 0 | auto& from = static_cast<const FunctionCall&>(from_msg); |
3672 | | // @@protoc_insertion_point(class_specific_merge_from_start:solidity.yul.test.yul_fuzzer.FunctionCall) |
3673 | 0 | GOOGLE_DCHECK_NE(&from, _this); |
3674 | 0 | uint32_t cached_has_bits = 0; |
3675 | 0 | (void) cached_has_bits; |
3676 | |
|
3677 | 0 | cached_has_bits = from._impl_._has_bits_[0]; |
3678 | 0 | if (cached_has_bits & 0x0000000fu) { |
3679 | 0 | if (cached_has_bits & 0x00000001u) { |
3680 | 0 | _this->_internal_mutable_in_param1()->::solidity::yul::test::yul_fuzzer::Expression::MergeFrom( |
3681 | 0 | from._internal_in_param1()); |
3682 | 0 | } |
3683 | 0 | if (cached_has_bits & 0x00000002u) { |
3684 | 0 | _this->_internal_mutable_in_param2()->::solidity::yul::test::yul_fuzzer::Expression::MergeFrom( |
3685 | 0 | from._internal_in_param2()); |
3686 | 0 | } |
3687 | 0 | if (cached_has_bits & 0x00000004u) { |
3688 | 0 | _this->_internal_mutable_in_param3()->::solidity::yul::test::yul_fuzzer::Expression::MergeFrom( |
3689 | 0 | from._internal_in_param3()); |
3690 | 0 | } |
3691 | 0 | if (cached_has_bits & 0x00000008u) { |
3692 | 0 | _this->_internal_mutable_in_param4()->::solidity::yul::test::yul_fuzzer::Expression::MergeFrom( |
3693 | 0 | from._internal_in_param4()); |
3694 | 0 | } |
3695 | 0 | } |
3696 | 0 | _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); |
3697 | 0 | } |
3698 | | |
3699 | 0 | void FunctionCall::CopyFrom(const FunctionCall& from) { |
3700 | | // @@protoc_insertion_point(class_specific_copy_from_start:solidity.yul.test.yul_fuzzer.FunctionCall) |
3701 | 0 | if (&from == this) return; |
3702 | 0 | Clear(); |
3703 | 0 | MergeFrom(from); |
3704 | 0 | } |
3705 | | |
3706 | 0 | bool FunctionCall::IsInitialized() const { |
3707 | 0 | if (_Internal::MissingRequiredFields(_impl_._has_bits_)) return false; |
3708 | 0 | if (_internal_has_in_param1()) { |
3709 | 0 | if (!_impl_.in_param1_->IsInitialized()) return false; |
3710 | 0 | } |
3711 | 0 | if (_internal_has_in_param2()) { |
3712 | 0 | if (!_impl_.in_param2_->IsInitialized()) return false; |
3713 | 0 | } |
3714 | 0 | if (_internal_has_in_param3()) { |
3715 | 0 | if (!_impl_.in_param3_->IsInitialized()) return false; |
3716 | 0 | } |
3717 | 0 | if (_internal_has_in_param4()) { |
3718 | 0 | if (!_impl_.in_param4_->IsInitialized()) return false; |
3719 | 0 | } |
3720 | 0 | return true; |
3721 | 0 | } |
3722 | | |
3723 | 0 | void FunctionCall::InternalSwap(FunctionCall* other) { |
3724 | 0 | using std::swap; |
3725 | 0 | _internal_metadata_.InternalSwap(&other->_internal_metadata_); |
3726 | 0 | swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); |
3727 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::memswap< |
3728 | 0 | PROTOBUF_FIELD_OFFSET(FunctionCall, _impl_.in_param4_) |
3729 | 0 | + sizeof(FunctionCall::_impl_.in_param4_) |
3730 | 0 | - PROTOBUF_FIELD_OFFSET(FunctionCall, _impl_.in_param1_)>( |
3731 | 0 | reinterpret_cast<char*>(&_impl_.in_param1_), |
3732 | 0 | reinterpret_cast<char*>(&other->_impl_.in_param1_)); |
3733 | 0 | } |
3734 | | |
3735 | 8.04M | ::PROTOBUF_NAMESPACE_ID::Metadata FunctionCall::GetMetadata() const { |
3736 | 8.04M | return ::_pbi::AssignDescriptors( |
3737 | 8.04M | &descriptor_table_yulProto_2eproto_getter, &descriptor_table_yulProto_2eproto_once, |
3738 | 8.04M | file_level_metadata_yulProto_2eproto[4]); |
3739 | 8.04M | } |
3740 | | |
3741 | | // =================================================================== |
3742 | | |
3743 | | class TypedVarDecl::_Internal { |
3744 | | public: |
3745 | | using HasBits = decltype(std::declval<TypedVarDecl>()._impl_._has_bits_); |
3746 | 0 | static void set_has_id(HasBits* has_bits) { |
3747 | 0 | (*has_bits)[0] |= 2u; |
3748 | 0 | } |
3749 | 0 | static void set_has_type(HasBits* has_bits) { |
3750 | 0 | (*has_bits)[0] |= 4u; |
3751 | 0 | } |
3752 | | static const ::solidity::yul::test::yul_fuzzer::Expression& expr(const TypedVarDecl* msg); |
3753 | 0 | static void set_has_expr(HasBits* has_bits) { |
3754 | 0 | (*has_bits)[0] |= 1u; |
3755 | 0 | } |
3756 | 0 | static bool MissingRequiredFields(const HasBits& has_bits) { |
3757 | 0 | return ((has_bits[0] & 0x00000007) ^ 0x00000007) != 0; |
3758 | 0 | } |
3759 | | }; |
3760 | | |
3761 | | const ::solidity::yul::test::yul_fuzzer::Expression& |
3762 | 0 | TypedVarDecl::_Internal::expr(const TypedVarDecl* msg) { |
3763 | 0 | return *msg->_impl_.expr_; |
3764 | 0 | } |
3765 | | TypedVarDecl::TypedVarDecl(::PROTOBUF_NAMESPACE_ID::Arena* arena, |
3766 | | bool is_message_owned) |
3767 | 0 | : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { |
3768 | 0 | SharedCtor(arena, is_message_owned); |
3769 | | // @@protoc_insertion_point(arena_constructor:solidity.yul.test.yul_fuzzer.TypedVarDecl) |
3770 | 0 | } |
3771 | | TypedVarDecl::TypedVarDecl(const TypedVarDecl& from) |
3772 | 0 | : ::PROTOBUF_NAMESPACE_ID::Message() { |
3773 | 0 | TypedVarDecl* const _this = this; (void)_this; |
3774 | 0 | new (&_impl_) Impl_{ |
3775 | 0 | decltype(_impl_._has_bits_){from._impl_._has_bits_} |
3776 | 0 | , /*decltype(_impl_._cached_size_)*/{} |
3777 | 0 | , decltype(_impl_.expr_){nullptr} |
3778 | 0 | , decltype(_impl_.id_){} |
3779 | 0 | , decltype(_impl_.type_){}}; |
3780 | |
|
3781 | 0 | _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); |
3782 | 0 | if (from._internal_has_expr()) { |
3783 | 0 | _this->_impl_.expr_ = new ::solidity::yul::test::yul_fuzzer::Expression(*from._impl_.expr_); |
3784 | 0 | } |
3785 | 0 | ::memcpy(&_impl_.id_, &from._impl_.id_, |
3786 | 0 | static_cast<size_t>(reinterpret_cast<char*>(&_impl_.type_) - |
3787 | 0 | reinterpret_cast<char*>(&_impl_.id_)) + sizeof(_impl_.type_)); |
3788 | | // @@protoc_insertion_point(copy_constructor:solidity.yul.test.yul_fuzzer.TypedVarDecl) |
3789 | 0 | } |
3790 | | |
3791 | | inline void TypedVarDecl::SharedCtor( |
3792 | 0 | ::_pb::Arena* arena, bool is_message_owned) { |
3793 | 0 | (void)arena; |
3794 | 0 | (void)is_message_owned; |
3795 | 0 | new (&_impl_) Impl_{ |
3796 | 0 | decltype(_impl_._has_bits_){} |
3797 | 0 | , /*decltype(_impl_._cached_size_)*/{} |
3798 | 0 | , decltype(_impl_.expr_){nullptr} |
3799 | 0 | , decltype(_impl_.id_){0} |
3800 | 0 | , decltype(_impl_.type_){1} |
3801 | 0 | }; |
3802 | 0 | } |
3803 | | |
3804 | 0 | TypedVarDecl::~TypedVarDecl() { |
3805 | | // @@protoc_insertion_point(destructor:solidity.yul.test.yul_fuzzer.TypedVarDecl) |
3806 | 0 | if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { |
3807 | 0 | (void)arena; |
3808 | 0 | return; |
3809 | 0 | } |
3810 | 0 | SharedDtor(); |
3811 | 0 | } |
3812 | | |
3813 | 0 | inline void TypedVarDecl::SharedDtor() { |
3814 | 0 | GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); |
3815 | 0 | if (this != internal_default_instance()) delete _impl_.expr_; |
3816 | 0 | } |
3817 | | |
3818 | 0 | void TypedVarDecl::SetCachedSize(int size) const { |
3819 | 0 | _impl_._cached_size_.Set(size); |
3820 | 0 | } |
3821 | | |
3822 | 0 | void TypedVarDecl::Clear() { |
3823 | | // @@protoc_insertion_point(message_clear_start:solidity.yul.test.yul_fuzzer.TypedVarDecl) |
3824 | 0 | uint32_t cached_has_bits = 0; |
3825 | | // Prevent compiler warnings about cached_has_bits being unused |
3826 | 0 | (void) cached_has_bits; |
3827 | |
|
3828 | 0 | cached_has_bits = _impl_._has_bits_[0]; |
3829 | 0 | if (cached_has_bits & 0x00000001u) { |
3830 | 0 | GOOGLE_DCHECK(_impl_.expr_ != nullptr); |
3831 | 0 | _impl_.expr_->Clear(); |
3832 | 0 | } |
3833 | 0 | if (cached_has_bits & 0x00000006u) { |
3834 | 0 | _impl_.id_ = 0; |
3835 | 0 | _impl_.type_ = 1; |
3836 | 0 | } |
3837 | 0 | _impl_._has_bits_.Clear(); |
3838 | 0 | _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); |
3839 | 0 | } |
3840 | | |
3841 | 0 | const char* TypedVarDecl::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { |
3842 | 0 | #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure |
3843 | 0 | _Internal::HasBits has_bits{}; |
3844 | 0 | while (!ctx->Done(&ptr)) { |
3845 | 0 | uint32_t tag; |
3846 | 0 | ptr = ::_pbi::ReadTag(ptr, &tag); |
3847 | 0 | switch (tag >> 3) { |
3848 | | // required int32 id = 1; |
3849 | 0 | case 1: |
3850 | 0 | if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 8)) { |
3851 | 0 | _Internal::set_has_id(&has_bits); |
3852 | 0 | _impl_.id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); |
3853 | 0 | CHK_(ptr); |
3854 | 0 | } else |
3855 | 0 | goto handle_unusual; |
3856 | 0 | continue; |
3857 | | // required .solidity.yul.test.yul_fuzzer.TypedVarDecl.TypeName type = 2; |
3858 | 0 | case 2: |
3859 | 0 | if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 16)) { |
3860 | 0 | uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); |
3861 | 0 | CHK_(ptr); |
3862 | 0 | if (PROTOBUF_PREDICT_TRUE(::solidity::yul::test::yul_fuzzer::TypedVarDecl_TypeName_IsValid(val))) { |
3863 | 0 | _internal_set_type(static_cast<::solidity::yul::test::yul_fuzzer::TypedVarDecl_TypeName>(val)); |
3864 | 0 | } else { |
3865 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::WriteVarint(2, val, mutable_unknown_fields()); |
3866 | 0 | } |
3867 | 0 | } else |
3868 | 0 | goto handle_unusual; |
3869 | 0 | continue; |
3870 | | // required .solidity.yul.test.yul_fuzzer.Expression expr = 3; |
3871 | 0 | case 3: |
3872 | 0 | if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 26)) { |
3873 | 0 | ptr = ctx->ParseMessage(_internal_mutable_expr(), ptr); |
3874 | 0 | CHK_(ptr); |
3875 | 0 | } else |
3876 | 0 | goto handle_unusual; |
3877 | 0 | continue; |
3878 | 0 | default: |
3879 | 0 | goto handle_unusual; |
3880 | 0 | } // switch |
3881 | 0 | handle_unusual: |
3882 | 0 | if ((tag == 0) || ((tag & 7) == 4)) { |
3883 | 0 | CHK_(ptr); |
3884 | 0 | ctx->SetLastTag(tag); |
3885 | 0 | goto message_done; |
3886 | 0 | } |
3887 | 0 | ptr = UnknownFieldParse( |
3888 | 0 | tag, |
3889 | 0 | _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), |
3890 | 0 | ptr, ctx); |
3891 | 0 | CHK_(ptr != nullptr); |
3892 | 0 | } // while |
3893 | 0 | message_done: |
3894 | 0 | _impl_._has_bits_.Or(has_bits); |
3895 | 0 | return ptr; |
3896 | 0 | failure: |
3897 | 0 | ptr = nullptr; |
3898 | 0 | goto message_done; |
3899 | 0 | #undef CHK_ |
3900 | 0 | } |
3901 | | |
3902 | | uint8_t* TypedVarDecl::_InternalSerialize( |
3903 | 0 | uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { |
3904 | | // @@protoc_insertion_point(serialize_to_array_start:solidity.yul.test.yul_fuzzer.TypedVarDecl) |
3905 | 0 | uint32_t cached_has_bits = 0; |
3906 | 0 | (void) cached_has_bits; |
3907 | |
|
3908 | 0 | cached_has_bits = _impl_._has_bits_[0]; |
3909 | | // required int32 id = 1; |
3910 | 0 | if (cached_has_bits & 0x00000002u) { |
3911 | 0 | target = stream->EnsureSpace(target); |
3912 | 0 | target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_id(), target); |
3913 | 0 | } |
3914 | | |
3915 | | // required .solidity.yul.test.yul_fuzzer.TypedVarDecl.TypeName type = 2; |
3916 | 0 | if (cached_has_bits & 0x00000004u) { |
3917 | 0 | target = stream->EnsureSpace(target); |
3918 | 0 | target = ::_pbi::WireFormatLite::WriteEnumToArray( |
3919 | 0 | 2, this->_internal_type(), target); |
3920 | 0 | } |
3921 | | |
3922 | | // required .solidity.yul.test.yul_fuzzer.Expression expr = 3; |
3923 | 0 | if (cached_has_bits & 0x00000001u) { |
3924 | 0 | target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: |
3925 | 0 | InternalWriteMessage(3, _Internal::expr(this), |
3926 | 0 | _Internal::expr(this).GetCachedSize(), target, stream); |
3927 | 0 | } |
3928 | |
|
3929 | 0 | if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { |
3930 | 0 | target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( |
3931 | 0 | _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); |
3932 | 0 | } |
3933 | | // @@protoc_insertion_point(serialize_to_array_end:solidity.yul.test.yul_fuzzer.TypedVarDecl) |
3934 | 0 | return target; |
3935 | 0 | } |
3936 | | |
3937 | 0 | size_t TypedVarDecl::RequiredFieldsByteSizeFallback() const { |
3938 | | // @@protoc_insertion_point(required_fields_byte_size_fallback_start:solidity.yul.test.yul_fuzzer.TypedVarDecl) |
3939 | 0 | size_t total_size = 0; |
3940 | |
|
3941 | 0 | if (_internal_has_expr()) { |
3942 | | // required .solidity.yul.test.yul_fuzzer.Expression expr = 3; |
3943 | 0 | total_size += 1 + |
3944 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
3945 | 0 | *_impl_.expr_); |
3946 | 0 | } |
3947 | |
|
3948 | 0 | if (_internal_has_id()) { |
3949 | | // required int32 id = 1; |
3950 | 0 | total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_id()); |
3951 | 0 | } |
3952 | |
|
3953 | 0 | if (_internal_has_type()) { |
3954 | | // required .solidity.yul.test.yul_fuzzer.TypedVarDecl.TypeName type = 2; |
3955 | 0 | total_size += 1 + |
3956 | 0 | ::_pbi::WireFormatLite::EnumSize(this->_internal_type()); |
3957 | 0 | } |
3958 | |
|
3959 | 0 | return total_size; |
3960 | 0 | } |
3961 | 0 | size_t TypedVarDecl::ByteSizeLong() const { |
3962 | | // @@protoc_insertion_point(message_byte_size_start:solidity.yul.test.yul_fuzzer.TypedVarDecl) |
3963 | 0 | size_t total_size = 0; |
3964 | |
|
3965 | 0 | if (((_impl_._has_bits_[0] & 0x00000007) ^ 0x00000007) == 0) { // All required fields are present. |
3966 | | // required .solidity.yul.test.yul_fuzzer.Expression expr = 3; |
3967 | 0 | total_size += 1 + |
3968 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
3969 | 0 | *_impl_.expr_); |
3970 | | |
3971 | | // required int32 id = 1; |
3972 | 0 | total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_id()); |
3973 | | |
3974 | | // required .solidity.yul.test.yul_fuzzer.TypedVarDecl.TypeName type = 2; |
3975 | 0 | total_size += 1 + |
3976 | 0 | ::_pbi::WireFormatLite::EnumSize(this->_internal_type()); |
3977 | |
|
3978 | 0 | } else { |
3979 | 0 | total_size += RequiredFieldsByteSizeFallback(); |
3980 | 0 | } |
3981 | 0 | uint32_t cached_has_bits = 0; |
3982 | | // Prevent compiler warnings about cached_has_bits being unused |
3983 | 0 | (void) cached_has_bits; |
3984 | |
|
3985 | 0 | return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); |
3986 | 0 | } |
3987 | | |
3988 | | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData TypedVarDecl::_class_data_ = { |
3989 | | ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, |
3990 | | TypedVarDecl::MergeImpl |
3991 | | }; |
3992 | 0 | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*TypedVarDecl::GetClassData() const { return &_class_data_; } |
3993 | | |
3994 | | |
3995 | 0 | void TypedVarDecl::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { |
3996 | 0 | auto* const _this = static_cast<TypedVarDecl*>(&to_msg); |
3997 | 0 | auto& from = static_cast<const TypedVarDecl&>(from_msg); |
3998 | | // @@protoc_insertion_point(class_specific_merge_from_start:solidity.yul.test.yul_fuzzer.TypedVarDecl) |
3999 | 0 | GOOGLE_DCHECK_NE(&from, _this); |
4000 | 0 | uint32_t cached_has_bits = 0; |
4001 | 0 | (void) cached_has_bits; |
4002 | |
|
4003 | 0 | cached_has_bits = from._impl_._has_bits_[0]; |
4004 | 0 | if (cached_has_bits & 0x00000007u) { |
4005 | 0 | if (cached_has_bits & 0x00000001u) { |
4006 | 0 | _this->_internal_mutable_expr()->::solidity::yul::test::yul_fuzzer::Expression::MergeFrom( |
4007 | 0 | from._internal_expr()); |
4008 | 0 | } |
4009 | 0 | if (cached_has_bits & 0x00000002u) { |
4010 | 0 | _this->_impl_.id_ = from._impl_.id_; |
4011 | 0 | } |
4012 | 0 | if (cached_has_bits & 0x00000004u) { |
4013 | 0 | _this->_impl_.type_ = from._impl_.type_; |
4014 | 0 | } |
4015 | 0 | _this->_impl_._has_bits_[0] |= cached_has_bits; |
4016 | 0 | } |
4017 | 0 | _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); |
4018 | 0 | } |
4019 | | |
4020 | 0 | void TypedVarDecl::CopyFrom(const TypedVarDecl& from) { |
4021 | | // @@protoc_insertion_point(class_specific_copy_from_start:solidity.yul.test.yul_fuzzer.TypedVarDecl) |
4022 | 0 | if (&from == this) return; |
4023 | 0 | Clear(); |
4024 | 0 | MergeFrom(from); |
4025 | 0 | } |
4026 | | |
4027 | 0 | bool TypedVarDecl::IsInitialized() const { |
4028 | 0 | if (_Internal::MissingRequiredFields(_impl_._has_bits_)) return false; |
4029 | 0 | if (_internal_has_expr()) { |
4030 | 0 | if (!_impl_.expr_->IsInitialized()) return false; |
4031 | 0 | } |
4032 | 0 | return true; |
4033 | 0 | } |
4034 | | |
4035 | 0 | void TypedVarDecl::InternalSwap(TypedVarDecl* other) { |
4036 | 0 | using std::swap; |
4037 | 0 | _internal_metadata_.InternalSwap(&other->_internal_metadata_); |
4038 | 0 | swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); |
4039 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::memswap< |
4040 | 0 | PROTOBUF_FIELD_OFFSET(TypedVarDecl, _impl_.id_) |
4041 | 0 | + sizeof(TypedVarDecl::_impl_.id_) |
4042 | 0 | - PROTOBUF_FIELD_OFFSET(TypedVarDecl, _impl_.expr_)>( |
4043 | 0 | reinterpret_cast<char*>(&_impl_.expr_), |
4044 | 0 | reinterpret_cast<char*>(&other->_impl_.expr_)); |
4045 | 0 | swap(_impl_.type_, other->_impl_.type_); |
4046 | 0 | } |
4047 | | |
4048 | 0 | ::PROTOBUF_NAMESPACE_ID::Metadata TypedVarDecl::GetMetadata() const { |
4049 | 0 | return ::_pbi::AssignDescriptors( |
4050 | 0 | &descriptor_table_yulProto_2eproto_getter, &descriptor_table_yulProto_2eproto_once, |
4051 | 0 | file_level_metadata_yulProto_2eproto[5]); |
4052 | 0 | } |
4053 | | |
4054 | | // =================================================================== |
4055 | | |
4056 | | class VarRef::_Internal { |
4057 | | public: |
4058 | | using HasBits = decltype(std::declval<VarRef>()._impl_._has_bits_); |
4059 | 0 | static void set_has_varnum(HasBits* has_bits) { |
4060 | 0 | (*has_bits)[0] |= 1u; |
4061 | 0 | } |
4062 | 0 | static bool MissingRequiredFields(const HasBits& has_bits) { |
4063 | 0 | return ((has_bits[0] & 0x00000001) ^ 0x00000001) != 0; |
4064 | 0 | } |
4065 | | }; |
4066 | | |
4067 | | VarRef::VarRef(::PROTOBUF_NAMESPACE_ID::Arena* arena, |
4068 | | bool is_message_owned) |
4069 | 212k | : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { |
4070 | 212k | SharedCtor(arena, is_message_owned); |
4071 | | // @@protoc_insertion_point(arena_constructor:solidity.yul.test.yul_fuzzer.VarRef) |
4072 | 212k | } |
4073 | | VarRef::VarRef(const VarRef& from) |
4074 | 0 | : ::PROTOBUF_NAMESPACE_ID::Message() { |
4075 | 0 | VarRef* const _this = this; (void)_this; |
4076 | 0 | new (&_impl_) Impl_{ |
4077 | 0 | decltype(_impl_._has_bits_){from._impl_._has_bits_} |
4078 | 0 | , /*decltype(_impl_._cached_size_)*/{} |
4079 | 0 | , decltype(_impl_.varnum_){}}; |
4080 | |
|
4081 | 0 | _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); |
4082 | 0 | _this->_impl_.varnum_ = from._impl_.varnum_; |
4083 | | // @@protoc_insertion_point(copy_constructor:solidity.yul.test.yul_fuzzer.VarRef) |
4084 | 0 | } |
4085 | | |
4086 | | inline void VarRef::SharedCtor( |
4087 | 212k | ::_pb::Arena* arena, bool is_message_owned) { |
4088 | 212k | (void)arena; |
4089 | 212k | (void)is_message_owned; |
4090 | 212k | new (&_impl_) Impl_{ |
4091 | 212k | decltype(_impl_._has_bits_){} |
4092 | 212k | , /*decltype(_impl_._cached_size_)*/{} |
4093 | 212k | , decltype(_impl_.varnum_){0} |
4094 | 212k | }; |
4095 | 212k | } |
4096 | | |
4097 | 212k | VarRef::~VarRef() { |
4098 | | // @@protoc_insertion_point(destructor:solidity.yul.test.yul_fuzzer.VarRef) |
4099 | 212k | if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { |
4100 | 0 | (void)arena; |
4101 | 0 | return; |
4102 | 0 | } |
4103 | 212k | SharedDtor(); |
4104 | 212k | } |
4105 | | |
4106 | 212k | inline void VarRef::SharedDtor() { |
4107 | 212k | GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); |
4108 | 212k | } |
4109 | | |
4110 | 0 | void VarRef::SetCachedSize(int size) const { |
4111 | 0 | _impl_._cached_size_.Set(size); |
4112 | 0 | } |
4113 | | |
4114 | 778 | void VarRef::Clear() { |
4115 | | // @@protoc_insertion_point(message_clear_start:solidity.yul.test.yul_fuzzer.VarRef) |
4116 | 778 | uint32_t cached_has_bits = 0; |
4117 | | // Prevent compiler warnings about cached_has_bits being unused |
4118 | 778 | (void) cached_has_bits; |
4119 | | |
4120 | 778 | _impl_.varnum_ = 0; |
4121 | 778 | _impl_._has_bits_.Clear(); |
4122 | 778 | _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); |
4123 | 778 | } |
4124 | | |
4125 | 0 | const char* VarRef::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { |
4126 | 0 | #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure |
4127 | 0 | _Internal::HasBits has_bits{}; |
4128 | 0 | while (!ctx->Done(&ptr)) { |
4129 | 0 | uint32_t tag; |
4130 | 0 | ptr = ::_pbi::ReadTag(ptr, &tag); |
4131 | 0 | switch (tag >> 3) { |
4132 | | // required int32 varnum = 1; |
4133 | 0 | case 1: |
4134 | 0 | if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 8)) { |
4135 | 0 | _Internal::set_has_varnum(&has_bits); |
4136 | 0 | _impl_.varnum_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); |
4137 | 0 | CHK_(ptr); |
4138 | 0 | } else |
4139 | 0 | goto handle_unusual; |
4140 | 0 | continue; |
4141 | 0 | default: |
4142 | 0 | goto handle_unusual; |
4143 | 0 | } // switch |
4144 | 0 | handle_unusual: |
4145 | 0 | if ((tag == 0) || ((tag & 7) == 4)) { |
4146 | 0 | CHK_(ptr); |
4147 | 0 | ctx->SetLastTag(tag); |
4148 | 0 | goto message_done; |
4149 | 0 | } |
4150 | 0 | ptr = UnknownFieldParse( |
4151 | 0 | tag, |
4152 | 0 | _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), |
4153 | 0 | ptr, ctx); |
4154 | 0 | CHK_(ptr != nullptr); |
4155 | 0 | } // while |
4156 | 0 | message_done: |
4157 | 0 | _impl_._has_bits_.Or(has_bits); |
4158 | 0 | return ptr; |
4159 | 0 | failure: |
4160 | 0 | ptr = nullptr; |
4161 | 0 | goto message_done; |
4162 | 0 | #undef CHK_ |
4163 | 0 | } |
4164 | | |
4165 | | uint8_t* VarRef::_InternalSerialize( |
4166 | 0 | uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { |
4167 | | // @@protoc_insertion_point(serialize_to_array_start:solidity.yul.test.yul_fuzzer.VarRef) |
4168 | 0 | uint32_t cached_has_bits = 0; |
4169 | 0 | (void) cached_has_bits; |
4170 | |
|
4171 | 0 | cached_has_bits = _impl_._has_bits_[0]; |
4172 | | // required int32 varnum = 1; |
4173 | 0 | if (cached_has_bits & 0x00000001u) { |
4174 | 0 | target = stream->EnsureSpace(target); |
4175 | 0 | target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_varnum(), target); |
4176 | 0 | } |
4177 | |
|
4178 | 0 | if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { |
4179 | 0 | target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( |
4180 | 0 | _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); |
4181 | 0 | } |
4182 | | // @@protoc_insertion_point(serialize_to_array_end:solidity.yul.test.yul_fuzzer.VarRef) |
4183 | 0 | return target; |
4184 | 0 | } |
4185 | | |
4186 | 205k | size_t VarRef::ByteSizeLong() const { |
4187 | | // @@protoc_insertion_point(message_byte_size_start:solidity.yul.test.yul_fuzzer.VarRef) |
4188 | 205k | size_t total_size = 0; |
4189 | | |
4190 | | // required int32 varnum = 1; |
4191 | 205k | if (_internal_has_varnum()) { |
4192 | 205k | total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_varnum()); |
4193 | 205k | } |
4194 | 205k | uint32_t cached_has_bits = 0; |
4195 | | // Prevent compiler warnings about cached_has_bits being unused |
4196 | 205k | (void) cached_has_bits; |
4197 | | |
4198 | 205k | return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); |
4199 | 205k | } |
4200 | | |
4201 | | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VarRef::_class_data_ = { |
4202 | | ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, |
4203 | | VarRef::MergeImpl |
4204 | | }; |
4205 | 1.16k | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VarRef::GetClassData() const { return &_class_data_; } |
4206 | | |
4207 | | |
4208 | 389 | void VarRef::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { |
4209 | 389 | auto* const _this = static_cast<VarRef*>(&to_msg); |
4210 | 389 | auto& from = static_cast<const VarRef&>(from_msg); |
4211 | | // @@protoc_insertion_point(class_specific_merge_from_start:solidity.yul.test.yul_fuzzer.VarRef) |
4212 | 389 | GOOGLE_DCHECK_NE(&from, _this); |
4213 | 389 | uint32_t cached_has_bits = 0; |
4214 | 389 | (void) cached_has_bits; |
4215 | | |
4216 | 389 | if (from._internal_has_varnum()) { |
4217 | 0 | _this->_internal_set_varnum(from._internal_varnum()); |
4218 | 0 | } |
4219 | 389 | _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); |
4220 | 389 | } |
4221 | | |
4222 | 0 | void VarRef::CopyFrom(const VarRef& from) { |
4223 | | // @@protoc_insertion_point(class_specific_copy_from_start:solidity.yul.test.yul_fuzzer.VarRef) |
4224 | 0 | if (&from == this) return; |
4225 | 0 | Clear(); |
4226 | 0 | MergeFrom(from); |
4227 | 0 | } |
4228 | | |
4229 | 0 | bool VarRef::IsInitialized() const { |
4230 | 0 | if (_Internal::MissingRequiredFields(_impl_._has_bits_)) return false; |
4231 | 0 | return true; |
4232 | 0 | } |
4233 | | |
4234 | 0 | void VarRef::InternalSwap(VarRef* other) { |
4235 | 0 | using std::swap; |
4236 | 0 | _internal_metadata_.InternalSwap(&other->_internal_metadata_); |
4237 | 0 | swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); |
4238 | 0 | swap(_impl_.varnum_, other->_impl_.varnum_); |
4239 | 0 | } |
4240 | | |
4241 | 4.34M | ::PROTOBUF_NAMESPACE_ID::Metadata VarRef::GetMetadata() const { |
4242 | 4.34M | return ::_pbi::AssignDescriptors( |
4243 | 4.34M | &descriptor_table_yulProto_2eproto_getter, &descriptor_table_yulProto_2eproto_once, |
4244 | 4.34M | file_level_metadata_yulProto_2eproto[6]); |
4245 | 4.34M | } |
4246 | | |
4247 | | // =================================================================== |
4248 | | |
4249 | | class Literal::_Internal { |
4250 | | public: |
4251 | | }; |
4252 | | |
4253 | | Literal::Literal(::PROTOBUF_NAMESPACE_ID::Arena* arena, |
4254 | | bool is_message_owned) |
4255 | 247k | : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { |
4256 | 247k | SharedCtor(arena, is_message_owned); |
4257 | | // @@protoc_insertion_point(arena_constructor:solidity.yul.test.yul_fuzzer.Literal) |
4258 | 247k | } |
4259 | | Literal::Literal(const Literal& from) |
4260 | 0 | : ::PROTOBUF_NAMESPACE_ID::Message() { |
4261 | 0 | Literal* const _this = this; (void)_this; |
4262 | 0 | new (&_impl_) Impl_{ |
4263 | 0 | decltype(_impl_.literal_oneof_){} |
4264 | 0 | , /*decltype(_impl_._cached_size_)*/{} |
4265 | 0 | , /*decltype(_impl_._oneof_case_)*/{}}; |
4266 | |
|
4267 | 0 | _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); |
4268 | 0 | clear_has_literal_oneof(); |
4269 | 0 | switch (from.literal_oneof_case()) { |
4270 | 0 | case kIntval: { |
4271 | 0 | _this->_internal_set_intval(from._internal_intval()); |
4272 | 0 | break; |
4273 | 0 | } |
4274 | 0 | case kHexval: { |
4275 | 0 | _this->_internal_set_hexval(from._internal_hexval()); |
4276 | 0 | break; |
4277 | 0 | } |
4278 | 0 | case kStrval: { |
4279 | 0 | _this->_internal_set_strval(from._internal_strval()); |
4280 | 0 | break; |
4281 | 0 | } |
4282 | 0 | case kBoolval: { |
4283 | 0 | _this->_internal_set_boolval(from._internal_boolval()); |
4284 | 0 | break; |
4285 | 0 | } |
4286 | 0 | case LITERAL_ONEOF_NOT_SET: { |
4287 | 0 | break; |
4288 | 0 | } |
4289 | 0 | } |
4290 | | // @@protoc_insertion_point(copy_constructor:solidity.yul.test.yul_fuzzer.Literal) |
4291 | 0 | } |
4292 | | |
4293 | | inline void Literal::SharedCtor( |
4294 | 247k | ::_pb::Arena* arena, bool is_message_owned) { |
4295 | 247k | (void)arena; |
4296 | 247k | (void)is_message_owned; |
4297 | 247k | new (&_impl_) Impl_{ |
4298 | 247k | decltype(_impl_.literal_oneof_){} |
4299 | 247k | , /*decltype(_impl_._cached_size_)*/{} |
4300 | 247k | , /*decltype(_impl_._oneof_case_)*/{} |
4301 | 247k | }; |
4302 | 247k | clear_has_literal_oneof(); |
4303 | 247k | } |
4304 | | |
4305 | 247k | Literal::~Literal() { |
4306 | | // @@protoc_insertion_point(destructor:solidity.yul.test.yul_fuzzer.Literal) |
4307 | 247k | if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { |
4308 | 0 | (void)arena; |
4309 | 0 | return; |
4310 | 0 | } |
4311 | 247k | SharedDtor(); |
4312 | 247k | } |
4313 | | |
4314 | 247k | inline void Literal::SharedDtor() { |
4315 | 247k | GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); |
4316 | 247k | if (has_literal_oneof()) { |
4317 | 199k | clear_literal_oneof(); |
4318 | 199k | } |
4319 | 247k | } |
4320 | | |
4321 | 0 | void Literal::SetCachedSize(int size) const { |
4322 | 0 | _impl_._cached_size_.Set(size); |
4323 | 0 | } |
4324 | | |
4325 | 232k | void Literal::clear_literal_oneof() { |
4326 | | // @@protoc_insertion_point(one_of_clear_start:solidity.yul.test.yul_fuzzer.Literal) |
4327 | 232k | switch (literal_oneof_case()) { |
4328 | 135k | case kIntval: { |
4329 | | // No need to clear |
4330 | 135k | break; |
4331 | 0 | } |
4332 | 39.4k | case kHexval: { |
4333 | 39.4k | _impl_.literal_oneof_.hexval_.Destroy(); |
4334 | 39.4k | break; |
4335 | 0 | } |
4336 | 14.7k | case kStrval: { |
4337 | 14.7k | _impl_.literal_oneof_.strval_.Destroy(); |
4338 | 14.7k | break; |
4339 | 0 | } |
4340 | 9.80k | case kBoolval: { |
4341 | | // No need to clear |
4342 | 9.80k | break; |
4343 | 0 | } |
4344 | 32.1k | case LITERAL_ONEOF_NOT_SET: { |
4345 | 32.1k | break; |
4346 | 0 | } |
4347 | 232k | } |
4348 | 232k | _impl_._oneof_case_[0] = LITERAL_ONEOF_NOT_SET; |
4349 | 232k | } |
4350 | | |
4351 | | |
4352 | 2.29k | void Literal::Clear() { |
4353 | | // @@protoc_insertion_point(message_clear_start:solidity.yul.test.yul_fuzzer.Literal) |
4354 | 2.29k | uint32_t cached_has_bits = 0; |
4355 | | // Prevent compiler warnings about cached_has_bits being unused |
4356 | 2.29k | (void) cached_has_bits; |
4357 | | |
4358 | 2.29k | clear_literal_oneof(); |
4359 | 2.29k | _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); |
4360 | 2.29k | } |
4361 | | |
4362 | 0 | const char* Literal::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { |
4363 | 0 | #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure |
4364 | 0 | while (!ctx->Done(&ptr)) { |
4365 | 0 | uint32_t tag; |
4366 | 0 | ptr = ::_pbi::ReadTag(ptr, &tag); |
4367 | 0 | switch (tag >> 3) { |
4368 | | // uint64 intval = 1; |
4369 | 0 | case 1: |
4370 | 0 | if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 8)) { |
4371 | 0 | _internal_set_intval(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr)); |
4372 | 0 | CHK_(ptr); |
4373 | 0 | } else |
4374 | 0 | goto handle_unusual; |
4375 | 0 | continue; |
4376 | | // string hexval = 2; |
4377 | 0 | case 2: |
4378 | 0 | if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 18)) { |
4379 | 0 | auto str = _internal_mutable_hexval(); |
4380 | 0 | ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); |
4381 | 0 | CHK_(ptr); |
4382 | | #ifndef NDEBUG |
4383 | | ::_pbi::VerifyUTF8(str, "solidity.yul.test.yul_fuzzer.Literal.hexval"); |
4384 | | #endif // !NDEBUG |
4385 | 0 | } else |
4386 | 0 | goto handle_unusual; |
4387 | 0 | continue; |
4388 | | // string strval = 3; |
4389 | 0 | case 3: |
4390 | 0 | if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 26)) { |
4391 | 0 | auto str = _internal_mutable_strval(); |
4392 | 0 | ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); |
4393 | 0 | CHK_(ptr); |
4394 | | #ifndef NDEBUG |
4395 | | ::_pbi::VerifyUTF8(str, "solidity.yul.test.yul_fuzzer.Literal.strval"); |
4396 | | #endif // !NDEBUG |
4397 | 0 | } else |
4398 | 0 | goto handle_unusual; |
4399 | 0 | continue; |
4400 | | // bool boolval = 4; |
4401 | 0 | case 4: |
4402 | 0 | if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 32)) { |
4403 | 0 | _internal_set_boolval(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr)); |
4404 | 0 | CHK_(ptr); |
4405 | 0 | } else |
4406 | 0 | goto handle_unusual; |
4407 | 0 | continue; |
4408 | 0 | default: |
4409 | 0 | goto handle_unusual; |
4410 | 0 | } // switch |
4411 | 0 | handle_unusual: |
4412 | 0 | if ((tag == 0) || ((tag & 7) == 4)) { |
4413 | 0 | CHK_(ptr); |
4414 | 0 | ctx->SetLastTag(tag); |
4415 | 0 | goto message_done; |
4416 | 0 | } |
4417 | 0 | ptr = UnknownFieldParse( |
4418 | 0 | tag, |
4419 | 0 | _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), |
4420 | 0 | ptr, ctx); |
4421 | 0 | CHK_(ptr != nullptr); |
4422 | 0 | } // while |
4423 | 0 | message_done: |
4424 | 0 | return ptr; |
4425 | 0 | failure: |
4426 | 0 | ptr = nullptr; |
4427 | 0 | goto message_done; |
4428 | 0 | #undef CHK_ |
4429 | 0 | } |
4430 | | |
4431 | | uint8_t* Literal::_InternalSerialize( |
4432 | 0 | uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { |
4433 | | // @@protoc_insertion_point(serialize_to_array_start:solidity.yul.test.yul_fuzzer.Literal) |
4434 | 0 | uint32_t cached_has_bits = 0; |
4435 | 0 | (void) cached_has_bits; |
4436 | |
|
4437 | 0 | switch (literal_oneof_case()) { |
4438 | 0 | case kIntval: { |
4439 | 0 | target = stream->EnsureSpace(target); |
4440 | 0 | target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_intval(), target); |
4441 | 0 | break; |
4442 | 0 | } |
4443 | 0 | case kHexval: { |
4444 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( |
4445 | 0 | this->_internal_hexval().data(), static_cast<int>(this->_internal_hexval().length()), |
4446 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, |
4447 | 0 | "solidity.yul.test.yul_fuzzer.Literal.hexval"); |
4448 | 0 | target = stream->WriteStringMaybeAliased( |
4449 | 0 | 2, this->_internal_hexval(), target); |
4450 | 0 | break; |
4451 | 0 | } |
4452 | 0 | case kStrval: { |
4453 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( |
4454 | 0 | this->_internal_strval().data(), static_cast<int>(this->_internal_strval().length()), |
4455 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, |
4456 | 0 | "solidity.yul.test.yul_fuzzer.Literal.strval"); |
4457 | 0 | target = stream->WriteStringMaybeAliased( |
4458 | 0 | 3, this->_internal_strval(), target); |
4459 | 0 | break; |
4460 | 0 | } |
4461 | 0 | case kBoolval: { |
4462 | 0 | target = stream->EnsureSpace(target); |
4463 | 0 | target = ::_pbi::WireFormatLite::WriteBoolToArray(4, this->_internal_boolval(), target); |
4464 | 0 | break; |
4465 | 0 | } |
4466 | 0 | default: ; |
4467 | 0 | } |
4468 | 0 | if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { |
4469 | 0 | target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( |
4470 | 0 | _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); |
4471 | 0 | } |
4472 | | // @@protoc_insertion_point(serialize_to_array_end:solidity.yul.test.yul_fuzzer.Literal) |
4473 | 0 | return target; |
4474 | 0 | } |
4475 | | |
4476 | 231k | size_t Literal::ByteSizeLong() const { |
4477 | | // @@protoc_insertion_point(message_byte_size_start:solidity.yul.test.yul_fuzzer.Literal) |
4478 | 231k | size_t total_size = 0; |
4479 | | |
4480 | 231k | uint32_t cached_has_bits = 0; |
4481 | | // Prevent compiler warnings about cached_has_bits being unused |
4482 | 231k | (void) cached_has_bits; |
4483 | | |
4484 | 231k | switch (literal_oneof_case()) { |
4485 | | // uint64 intval = 1; |
4486 | 131k | case kIntval: { |
4487 | 131k | total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_intval()); |
4488 | 131k | break; |
4489 | 0 | } |
4490 | | // string hexval = 2; |
4491 | 33.9k | case kHexval: { |
4492 | 33.9k | total_size += 1 + |
4493 | 33.9k | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( |
4494 | 33.9k | this->_internal_hexval()); |
4495 | 33.9k | break; |
4496 | 0 | } |
4497 | | // string strval = 3; |
4498 | 13.2k | case kStrval: { |
4499 | 13.2k | total_size += 1 + |
4500 | 13.2k | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( |
4501 | 13.2k | this->_internal_strval()); |
4502 | 13.2k | break; |
4503 | 0 | } |
4504 | | // bool boolval = 4; |
4505 | 9.68k | case kBoolval: { |
4506 | 9.68k | total_size += 1 + 1; |
4507 | 9.68k | break; |
4508 | 0 | } |
4509 | 42.9k | case LITERAL_ONEOF_NOT_SET: { |
4510 | 42.9k | break; |
4511 | 0 | } |
4512 | 231k | } |
4513 | 231k | return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); |
4514 | 231k | } |
4515 | | |
4516 | | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData Literal::_class_data_ = { |
4517 | | ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, |
4518 | | Literal::MergeImpl |
4519 | | }; |
4520 | 3.44k | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*Literal::GetClassData() const { return &_class_data_; } |
4521 | | |
4522 | | |
4523 | 1.14k | void Literal::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { |
4524 | 1.14k | auto* const _this = static_cast<Literal*>(&to_msg); |
4525 | 1.14k | auto& from = static_cast<const Literal&>(from_msg); |
4526 | | // @@protoc_insertion_point(class_specific_merge_from_start:solidity.yul.test.yul_fuzzer.Literal) |
4527 | 1.14k | GOOGLE_DCHECK_NE(&from, _this); |
4528 | 1.14k | uint32_t cached_has_bits = 0; |
4529 | 1.14k | (void) cached_has_bits; |
4530 | | |
4531 | 1.14k | switch (from.literal_oneof_case()) { |
4532 | 0 | case kIntval: { |
4533 | 0 | _this->_internal_set_intval(from._internal_intval()); |
4534 | 0 | break; |
4535 | 0 | } |
4536 | 0 | case kHexval: { |
4537 | 0 | _this->_internal_set_hexval(from._internal_hexval()); |
4538 | 0 | break; |
4539 | 0 | } |
4540 | 0 | case kStrval: { |
4541 | 0 | _this->_internal_set_strval(from._internal_strval()); |
4542 | 0 | break; |
4543 | 0 | } |
4544 | 0 | case kBoolval: { |
4545 | 0 | _this->_internal_set_boolval(from._internal_boolval()); |
4546 | 0 | break; |
4547 | 0 | } |
4548 | 1.14k | case LITERAL_ONEOF_NOT_SET: { |
4549 | 1.14k | break; |
4550 | 0 | } |
4551 | 1.14k | } |
4552 | 1.14k | _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); |
4553 | 1.14k | } |
4554 | | |
4555 | 0 | void Literal::CopyFrom(const Literal& from) { |
4556 | | // @@protoc_insertion_point(class_specific_copy_from_start:solidity.yul.test.yul_fuzzer.Literal) |
4557 | 0 | if (&from == this) return; |
4558 | 0 | Clear(); |
4559 | 0 | MergeFrom(from); |
4560 | 0 | } |
4561 | | |
4562 | 0 | bool Literal::IsInitialized() const { |
4563 | 0 | return true; |
4564 | 0 | } |
4565 | | |
4566 | 0 | void Literal::InternalSwap(Literal* other) { |
4567 | 0 | using std::swap; |
4568 | 0 | _internal_metadata_.InternalSwap(&other->_internal_metadata_); |
4569 | 0 | swap(_impl_.literal_oneof_, other->_impl_.literal_oneof_); |
4570 | 0 | swap(_impl_._oneof_case_[0], other->_impl_._oneof_case_[0]); |
4571 | 0 | } |
4572 | | |
4573 | 4.86M | ::PROTOBUF_NAMESPACE_ID::Metadata Literal::GetMetadata() const { |
4574 | 4.86M | return ::_pbi::AssignDescriptors( |
4575 | 4.86M | &descriptor_table_yulProto_2eproto_getter, &descriptor_table_yulProto_2eproto_once, |
4576 | 4.86M | file_level_metadata_yulProto_2eproto[7]); |
4577 | 4.86M | } |
4578 | | |
4579 | | // =================================================================== |
4580 | | |
4581 | | class TypedLiteral::_Internal { |
4582 | | public: |
4583 | | using HasBits = decltype(std::declval<TypedLiteral>()._impl_._has_bits_); |
4584 | 0 | static void set_has_val(HasBits* has_bits) { |
4585 | 0 | (*has_bits)[0] |= 1u; |
4586 | 0 | } |
4587 | 0 | static void set_has_type(HasBits* has_bits) { |
4588 | 0 | (*has_bits)[0] |= 2u; |
4589 | 0 | } |
4590 | 0 | static bool MissingRequiredFields(const HasBits& has_bits) { |
4591 | 0 | return ((has_bits[0] & 0x00000003) ^ 0x00000003) != 0; |
4592 | 0 | } |
4593 | | }; |
4594 | | |
4595 | | TypedLiteral::TypedLiteral(::PROTOBUF_NAMESPACE_ID::Arena* arena, |
4596 | | bool is_message_owned) |
4597 | 0 | : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { |
4598 | 0 | SharedCtor(arena, is_message_owned); |
4599 | | // @@protoc_insertion_point(arena_constructor:solidity.yul.test.yul_fuzzer.TypedLiteral) |
4600 | 0 | } |
4601 | | TypedLiteral::TypedLiteral(const TypedLiteral& from) |
4602 | 0 | : ::PROTOBUF_NAMESPACE_ID::Message() { |
4603 | 0 | TypedLiteral* const _this = this; (void)_this; |
4604 | 0 | new (&_impl_) Impl_{ |
4605 | 0 | decltype(_impl_._has_bits_){from._impl_._has_bits_} |
4606 | 0 | , /*decltype(_impl_._cached_size_)*/{} |
4607 | 0 | , decltype(_impl_.val_){} |
4608 | 0 | , decltype(_impl_.type_){}}; |
4609 | |
|
4610 | 0 | _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); |
4611 | 0 | ::memcpy(&_impl_.val_, &from._impl_.val_, |
4612 | 0 | static_cast<size_t>(reinterpret_cast<char*>(&_impl_.type_) - |
4613 | 0 | reinterpret_cast<char*>(&_impl_.val_)) + sizeof(_impl_.type_)); |
4614 | | // @@protoc_insertion_point(copy_constructor:solidity.yul.test.yul_fuzzer.TypedLiteral) |
4615 | 0 | } |
4616 | | |
4617 | | inline void TypedLiteral::SharedCtor( |
4618 | 0 | ::_pb::Arena* arena, bool is_message_owned) { |
4619 | 0 | (void)arena; |
4620 | 0 | (void)is_message_owned; |
4621 | 0 | new (&_impl_) Impl_{ |
4622 | 0 | decltype(_impl_._has_bits_){} |
4623 | 0 | , /*decltype(_impl_._cached_size_)*/{} |
4624 | 0 | , decltype(_impl_.val_){0} |
4625 | 0 | , decltype(_impl_.type_){1} |
4626 | 0 | }; |
4627 | 0 | } |
4628 | | |
4629 | 0 | TypedLiteral::~TypedLiteral() { |
4630 | | // @@protoc_insertion_point(destructor:solidity.yul.test.yul_fuzzer.TypedLiteral) |
4631 | 0 | if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { |
4632 | 0 | (void)arena; |
4633 | 0 | return; |
4634 | 0 | } |
4635 | 0 | SharedDtor(); |
4636 | 0 | } |
4637 | | |
4638 | 0 | inline void TypedLiteral::SharedDtor() { |
4639 | 0 | GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); |
4640 | 0 | } |
4641 | | |
4642 | 0 | void TypedLiteral::SetCachedSize(int size) const { |
4643 | 0 | _impl_._cached_size_.Set(size); |
4644 | 0 | } |
4645 | | |
4646 | 0 | void TypedLiteral::Clear() { |
4647 | | // @@protoc_insertion_point(message_clear_start:solidity.yul.test.yul_fuzzer.TypedLiteral) |
4648 | 0 | uint32_t cached_has_bits = 0; |
4649 | | // Prevent compiler warnings about cached_has_bits being unused |
4650 | 0 | (void) cached_has_bits; |
4651 | |
|
4652 | 0 | cached_has_bits = _impl_._has_bits_[0]; |
4653 | 0 | if (cached_has_bits & 0x00000003u) { |
4654 | 0 | _impl_.val_ = 0; |
4655 | 0 | _impl_.type_ = 1; |
4656 | 0 | } |
4657 | 0 | _impl_._has_bits_.Clear(); |
4658 | 0 | _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); |
4659 | 0 | } |
4660 | | |
4661 | 0 | const char* TypedLiteral::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { |
4662 | 0 | #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure |
4663 | 0 | _Internal::HasBits has_bits{}; |
4664 | 0 | while (!ctx->Done(&ptr)) { |
4665 | 0 | uint32_t tag; |
4666 | 0 | ptr = ::_pbi::ReadTag(ptr, &tag); |
4667 | 0 | switch (tag >> 3) { |
4668 | | // required int32 val = 1; |
4669 | 0 | case 1: |
4670 | 0 | if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 8)) { |
4671 | 0 | _Internal::set_has_val(&has_bits); |
4672 | 0 | _impl_.val_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); |
4673 | 0 | CHK_(ptr); |
4674 | 0 | } else |
4675 | 0 | goto handle_unusual; |
4676 | 0 | continue; |
4677 | | // required .solidity.yul.test.yul_fuzzer.TypedLiteral.TypeName type = 2; |
4678 | 0 | case 2: |
4679 | 0 | if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 16)) { |
4680 | 0 | uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); |
4681 | 0 | CHK_(ptr); |
4682 | 0 | if (PROTOBUF_PREDICT_TRUE(::solidity::yul::test::yul_fuzzer::TypedLiteral_TypeName_IsValid(val))) { |
4683 | 0 | _internal_set_type(static_cast<::solidity::yul::test::yul_fuzzer::TypedLiteral_TypeName>(val)); |
4684 | 0 | } else { |
4685 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::WriteVarint(2, val, mutable_unknown_fields()); |
4686 | 0 | } |
4687 | 0 | } else |
4688 | 0 | goto handle_unusual; |
4689 | 0 | continue; |
4690 | 0 | default: |
4691 | 0 | goto handle_unusual; |
4692 | 0 | } // switch |
4693 | 0 | handle_unusual: |
4694 | 0 | if ((tag == 0) || ((tag & 7) == 4)) { |
4695 | 0 | CHK_(ptr); |
4696 | 0 | ctx->SetLastTag(tag); |
4697 | 0 | goto message_done; |
4698 | 0 | } |
4699 | 0 | ptr = UnknownFieldParse( |
4700 | 0 | tag, |
4701 | 0 | _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), |
4702 | 0 | ptr, ctx); |
4703 | 0 | CHK_(ptr != nullptr); |
4704 | 0 | } // while |
4705 | 0 | message_done: |
4706 | 0 | _impl_._has_bits_.Or(has_bits); |
4707 | 0 | return ptr; |
4708 | 0 | failure: |
4709 | 0 | ptr = nullptr; |
4710 | 0 | goto message_done; |
4711 | 0 | #undef CHK_ |
4712 | 0 | } |
4713 | | |
4714 | | uint8_t* TypedLiteral::_InternalSerialize( |
4715 | 0 | uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { |
4716 | | // @@protoc_insertion_point(serialize_to_array_start:solidity.yul.test.yul_fuzzer.TypedLiteral) |
4717 | 0 | uint32_t cached_has_bits = 0; |
4718 | 0 | (void) cached_has_bits; |
4719 | |
|
4720 | 0 | cached_has_bits = _impl_._has_bits_[0]; |
4721 | | // required int32 val = 1; |
4722 | 0 | if (cached_has_bits & 0x00000001u) { |
4723 | 0 | target = stream->EnsureSpace(target); |
4724 | 0 | target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_val(), target); |
4725 | 0 | } |
4726 | | |
4727 | | // required .solidity.yul.test.yul_fuzzer.TypedLiteral.TypeName type = 2; |
4728 | 0 | if (cached_has_bits & 0x00000002u) { |
4729 | 0 | target = stream->EnsureSpace(target); |
4730 | 0 | target = ::_pbi::WireFormatLite::WriteEnumToArray( |
4731 | 0 | 2, this->_internal_type(), target); |
4732 | 0 | } |
4733 | |
|
4734 | 0 | if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { |
4735 | 0 | target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( |
4736 | 0 | _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); |
4737 | 0 | } |
4738 | | // @@protoc_insertion_point(serialize_to_array_end:solidity.yul.test.yul_fuzzer.TypedLiteral) |
4739 | 0 | return target; |
4740 | 0 | } |
4741 | | |
4742 | 0 | size_t TypedLiteral::RequiredFieldsByteSizeFallback() const { |
4743 | | // @@protoc_insertion_point(required_fields_byte_size_fallback_start:solidity.yul.test.yul_fuzzer.TypedLiteral) |
4744 | 0 | size_t total_size = 0; |
4745 | |
|
4746 | 0 | if (_internal_has_val()) { |
4747 | | // required int32 val = 1; |
4748 | 0 | total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_val()); |
4749 | 0 | } |
4750 | |
|
4751 | 0 | if (_internal_has_type()) { |
4752 | | // required .solidity.yul.test.yul_fuzzer.TypedLiteral.TypeName type = 2; |
4753 | 0 | total_size += 1 + |
4754 | 0 | ::_pbi::WireFormatLite::EnumSize(this->_internal_type()); |
4755 | 0 | } |
4756 | |
|
4757 | 0 | return total_size; |
4758 | 0 | } |
4759 | 0 | size_t TypedLiteral::ByteSizeLong() const { |
4760 | | // @@protoc_insertion_point(message_byte_size_start:solidity.yul.test.yul_fuzzer.TypedLiteral) |
4761 | 0 | size_t total_size = 0; |
4762 | |
|
4763 | 0 | if (((_impl_._has_bits_[0] & 0x00000003) ^ 0x00000003) == 0) { // All required fields are present. |
4764 | | // required int32 val = 1; |
4765 | 0 | total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_val()); |
4766 | | |
4767 | | // required .solidity.yul.test.yul_fuzzer.TypedLiteral.TypeName type = 2; |
4768 | 0 | total_size += 1 + |
4769 | 0 | ::_pbi::WireFormatLite::EnumSize(this->_internal_type()); |
4770 | |
|
4771 | 0 | } else { |
4772 | 0 | total_size += RequiredFieldsByteSizeFallback(); |
4773 | 0 | } |
4774 | 0 | uint32_t cached_has_bits = 0; |
4775 | | // Prevent compiler warnings about cached_has_bits being unused |
4776 | 0 | (void) cached_has_bits; |
4777 | |
|
4778 | 0 | return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); |
4779 | 0 | } |
4780 | | |
4781 | | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData TypedLiteral::_class_data_ = { |
4782 | | ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, |
4783 | | TypedLiteral::MergeImpl |
4784 | | }; |
4785 | 0 | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*TypedLiteral::GetClassData() const { return &_class_data_; } |
4786 | | |
4787 | | |
4788 | 0 | void TypedLiteral::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { |
4789 | 0 | auto* const _this = static_cast<TypedLiteral*>(&to_msg); |
4790 | 0 | auto& from = static_cast<const TypedLiteral&>(from_msg); |
4791 | | // @@protoc_insertion_point(class_specific_merge_from_start:solidity.yul.test.yul_fuzzer.TypedLiteral) |
4792 | 0 | GOOGLE_DCHECK_NE(&from, _this); |
4793 | 0 | uint32_t cached_has_bits = 0; |
4794 | 0 | (void) cached_has_bits; |
4795 | |
|
4796 | 0 | cached_has_bits = from._impl_._has_bits_[0]; |
4797 | 0 | if (cached_has_bits & 0x00000003u) { |
4798 | 0 | if (cached_has_bits & 0x00000001u) { |
4799 | 0 | _this->_impl_.val_ = from._impl_.val_; |
4800 | 0 | } |
4801 | 0 | if (cached_has_bits & 0x00000002u) { |
4802 | 0 | _this->_impl_.type_ = from._impl_.type_; |
4803 | 0 | } |
4804 | 0 | _this->_impl_._has_bits_[0] |= cached_has_bits; |
4805 | 0 | } |
4806 | 0 | _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); |
4807 | 0 | } |
4808 | | |
4809 | 0 | void TypedLiteral::CopyFrom(const TypedLiteral& from) { |
4810 | | // @@protoc_insertion_point(class_specific_copy_from_start:solidity.yul.test.yul_fuzzer.TypedLiteral) |
4811 | 0 | if (&from == this) return; |
4812 | 0 | Clear(); |
4813 | 0 | MergeFrom(from); |
4814 | 0 | } |
4815 | | |
4816 | 0 | bool TypedLiteral::IsInitialized() const { |
4817 | 0 | if (_Internal::MissingRequiredFields(_impl_._has_bits_)) return false; |
4818 | 0 | return true; |
4819 | 0 | } |
4820 | | |
4821 | 0 | void TypedLiteral::InternalSwap(TypedLiteral* other) { |
4822 | 0 | using std::swap; |
4823 | 0 | _internal_metadata_.InternalSwap(&other->_internal_metadata_); |
4824 | 0 | swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); |
4825 | 0 | swap(_impl_.val_, other->_impl_.val_); |
4826 | 0 | swap(_impl_.type_, other->_impl_.type_); |
4827 | 0 | } |
4828 | | |
4829 | 0 | ::PROTOBUF_NAMESPACE_ID::Metadata TypedLiteral::GetMetadata() const { |
4830 | 0 | return ::_pbi::AssignDescriptors( |
4831 | 0 | &descriptor_table_yulProto_2eproto_getter, &descriptor_table_yulProto_2eproto_once, |
4832 | 0 | file_level_metadata_yulProto_2eproto[8]); |
4833 | 0 | } |
4834 | | |
4835 | | // =================================================================== |
4836 | | |
4837 | | class BinaryOp::_Internal { |
4838 | | public: |
4839 | | using HasBits = decltype(std::declval<BinaryOp>()._impl_._has_bits_); |
4840 | 0 | static void set_has_op(HasBits* has_bits) { |
4841 | 0 | (*has_bits)[0] |= 4u; |
4842 | 0 | } |
4843 | | static const ::solidity::yul::test::yul_fuzzer::Expression& left(const BinaryOp* msg); |
4844 | 0 | static void set_has_left(HasBits* has_bits) { |
4845 | 0 | (*has_bits)[0] |= 1u; |
4846 | 0 | } |
4847 | | static const ::solidity::yul::test::yul_fuzzer::Expression& right(const BinaryOp* msg); |
4848 | 0 | static void set_has_right(HasBits* has_bits) { |
4849 | 0 | (*has_bits)[0] |= 2u; |
4850 | 0 | } |
4851 | 0 | static bool MissingRequiredFields(const HasBits& has_bits) { |
4852 | 0 | return ((has_bits[0] & 0x00000007) ^ 0x00000007) != 0; |
4853 | 0 | } |
4854 | | }; |
4855 | | |
4856 | | const ::solidity::yul::test::yul_fuzzer::Expression& |
4857 | 0 | BinaryOp::_Internal::left(const BinaryOp* msg) { |
4858 | 0 | return *msg->_impl_.left_; |
4859 | 0 | } |
4860 | | const ::solidity::yul::test::yul_fuzzer::Expression& |
4861 | 0 | BinaryOp::_Internal::right(const BinaryOp* msg) { |
4862 | 0 | return *msg->_impl_.right_; |
4863 | 0 | } |
4864 | | BinaryOp::BinaryOp(::PROTOBUF_NAMESPACE_ID::Arena* arena, |
4865 | | bool is_message_owned) |
4866 | 136k | : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { |
4867 | 136k | SharedCtor(arena, is_message_owned); |
4868 | | // @@protoc_insertion_point(arena_constructor:solidity.yul.test.yul_fuzzer.BinaryOp) |
4869 | 136k | } |
4870 | | BinaryOp::BinaryOp(const BinaryOp& from) |
4871 | 0 | : ::PROTOBUF_NAMESPACE_ID::Message() { |
4872 | 0 | BinaryOp* const _this = this; (void)_this; |
4873 | 0 | new (&_impl_) Impl_{ |
4874 | 0 | decltype(_impl_._has_bits_){from._impl_._has_bits_} |
4875 | 0 | , /*decltype(_impl_._cached_size_)*/{} |
4876 | 0 | , decltype(_impl_.left_){nullptr} |
4877 | 0 | , decltype(_impl_.right_){nullptr} |
4878 | 0 | , decltype(_impl_.op_){}}; |
4879 | |
|
4880 | 0 | _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); |
4881 | 0 | if (from._internal_has_left()) { |
4882 | 0 | _this->_impl_.left_ = new ::solidity::yul::test::yul_fuzzer::Expression(*from._impl_.left_); |
4883 | 0 | } |
4884 | 0 | if (from._internal_has_right()) { |
4885 | 0 | _this->_impl_.right_ = new ::solidity::yul::test::yul_fuzzer::Expression(*from._impl_.right_); |
4886 | 0 | } |
4887 | 0 | _this->_impl_.op_ = from._impl_.op_; |
4888 | | // @@protoc_insertion_point(copy_constructor:solidity.yul.test.yul_fuzzer.BinaryOp) |
4889 | 0 | } |
4890 | | |
4891 | | inline void BinaryOp::SharedCtor( |
4892 | 136k | ::_pb::Arena* arena, bool is_message_owned) { |
4893 | 136k | (void)arena; |
4894 | 136k | (void)is_message_owned; |
4895 | 136k | new (&_impl_) Impl_{ |
4896 | 136k | decltype(_impl_._has_bits_){} |
4897 | 136k | , /*decltype(_impl_._cached_size_)*/{} |
4898 | 136k | , decltype(_impl_.left_){nullptr} |
4899 | 136k | , decltype(_impl_.right_){nullptr} |
4900 | 136k | , decltype(_impl_.op_){0} |
4901 | 136k | }; |
4902 | 136k | } |
4903 | | |
4904 | 136k | BinaryOp::~BinaryOp() { |
4905 | | // @@protoc_insertion_point(destructor:solidity.yul.test.yul_fuzzer.BinaryOp) |
4906 | 136k | if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { |
4907 | 0 | (void)arena; |
4908 | 0 | return; |
4909 | 0 | } |
4910 | 136k | SharedDtor(); |
4911 | 136k | } |
4912 | | |
4913 | 136k | inline void BinaryOp::SharedDtor() { |
4914 | 136k | GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); |
4915 | 136k | if (this != internal_default_instance()) delete _impl_.left_; |
4916 | 136k | if (this != internal_default_instance()) delete _impl_.right_; |
4917 | 136k | } |
4918 | | |
4919 | 0 | void BinaryOp::SetCachedSize(int size) const { |
4920 | 0 | _impl_._cached_size_.Set(size); |
4921 | 0 | } |
4922 | | |
4923 | 0 | void BinaryOp::Clear() { |
4924 | | // @@protoc_insertion_point(message_clear_start:solidity.yul.test.yul_fuzzer.BinaryOp) |
4925 | 0 | uint32_t cached_has_bits = 0; |
4926 | | // Prevent compiler warnings about cached_has_bits being unused |
4927 | 0 | (void) cached_has_bits; |
4928 | |
|
4929 | 0 | cached_has_bits = _impl_._has_bits_[0]; |
4930 | 0 | if (cached_has_bits & 0x00000003u) { |
4931 | 0 | if (cached_has_bits & 0x00000001u) { |
4932 | 0 | GOOGLE_DCHECK(_impl_.left_ != nullptr); |
4933 | 0 | _impl_.left_->Clear(); |
4934 | 0 | } |
4935 | 0 | if (cached_has_bits & 0x00000002u) { |
4936 | 0 | GOOGLE_DCHECK(_impl_.right_ != nullptr); |
4937 | 0 | _impl_.right_->Clear(); |
4938 | 0 | } |
4939 | 0 | } |
4940 | 0 | _impl_.op_ = 0; |
4941 | 0 | _impl_._has_bits_.Clear(); |
4942 | 0 | _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); |
4943 | 0 | } |
4944 | | |
4945 | 0 | const char* BinaryOp::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { |
4946 | 0 | #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure |
4947 | 0 | _Internal::HasBits has_bits{}; |
4948 | 0 | while (!ctx->Done(&ptr)) { |
4949 | 0 | uint32_t tag; |
4950 | 0 | ptr = ::_pbi::ReadTag(ptr, &tag); |
4951 | 0 | switch (tag >> 3) { |
4952 | | // required .solidity.yul.test.yul_fuzzer.BinaryOp.BOp op = 1; |
4953 | 0 | case 1: |
4954 | 0 | if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 8)) { |
4955 | 0 | uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); |
4956 | 0 | CHK_(ptr); |
4957 | 0 | if (PROTOBUF_PREDICT_TRUE(::solidity::yul::test::yul_fuzzer::BinaryOp_BOp_IsValid(val))) { |
4958 | 0 | _internal_set_op(static_cast<::solidity::yul::test::yul_fuzzer::BinaryOp_BOp>(val)); |
4959 | 0 | } else { |
4960 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::WriteVarint(1, val, mutable_unknown_fields()); |
4961 | 0 | } |
4962 | 0 | } else |
4963 | 0 | goto handle_unusual; |
4964 | 0 | continue; |
4965 | | // required .solidity.yul.test.yul_fuzzer.Expression left = 2; |
4966 | 0 | case 2: |
4967 | 0 | if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 18)) { |
4968 | 0 | ptr = ctx->ParseMessage(_internal_mutable_left(), ptr); |
4969 | 0 | CHK_(ptr); |
4970 | 0 | } else |
4971 | 0 | goto handle_unusual; |
4972 | 0 | continue; |
4973 | | // required .solidity.yul.test.yul_fuzzer.Expression right = 3; |
4974 | 0 | case 3: |
4975 | 0 | if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 26)) { |
4976 | 0 | ptr = ctx->ParseMessage(_internal_mutable_right(), ptr); |
4977 | 0 | CHK_(ptr); |
4978 | 0 | } else |
4979 | 0 | goto handle_unusual; |
4980 | 0 | continue; |
4981 | 0 | default: |
4982 | 0 | goto handle_unusual; |
4983 | 0 | } // switch |
4984 | 0 | handle_unusual: |
4985 | 0 | if ((tag == 0) || ((tag & 7) == 4)) { |
4986 | 0 | CHK_(ptr); |
4987 | 0 | ctx->SetLastTag(tag); |
4988 | 0 | goto message_done; |
4989 | 0 | } |
4990 | 0 | ptr = UnknownFieldParse( |
4991 | 0 | tag, |
4992 | 0 | _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), |
4993 | 0 | ptr, ctx); |
4994 | 0 | CHK_(ptr != nullptr); |
4995 | 0 | } // while |
4996 | 0 | message_done: |
4997 | 0 | _impl_._has_bits_.Or(has_bits); |
4998 | 0 | return ptr; |
4999 | 0 | failure: |
5000 | 0 | ptr = nullptr; |
5001 | 0 | goto message_done; |
5002 | 0 | #undef CHK_ |
5003 | 0 | } |
5004 | | |
5005 | | uint8_t* BinaryOp::_InternalSerialize( |
5006 | 0 | uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { |
5007 | | // @@protoc_insertion_point(serialize_to_array_start:solidity.yul.test.yul_fuzzer.BinaryOp) |
5008 | 0 | uint32_t cached_has_bits = 0; |
5009 | 0 | (void) cached_has_bits; |
5010 | |
|
5011 | 0 | cached_has_bits = _impl_._has_bits_[0]; |
5012 | | // required .solidity.yul.test.yul_fuzzer.BinaryOp.BOp op = 1; |
5013 | 0 | if (cached_has_bits & 0x00000004u) { |
5014 | 0 | target = stream->EnsureSpace(target); |
5015 | 0 | target = ::_pbi::WireFormatLite::WriteEnumToArray( |
5016 | 0 | 1, this->_internal_op(), target); |
5017 | 0 | } |
5018 | | |
5019 | | // required .solidity.yul.test.yul_fuzzer.Expression left = 2; |
5020 | 0 | if (cached_has_bits & 0x00000001u) { |
5021 | 0 | target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: |
5022 | 0 | InternalWriteMessage(2, _Internal::left(this), |
5023 | 0 | _Internal::left(this).GetCachedSize(), target, stream); |
5024 | 0 | } |
5025 | | |
5026 | | // required .solidity.yul.test.yul_fuzzer.Expression right = 3; |
5027 | 0 | if (cached_has_bits & 0x00000002u) { |
5028 | 0 | target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: |
5029 | 0 | InternalWriteMessage(3, _Internal::right(this), |
5030 | 0 | _Internal::right(this).GetCachedSize(), target, stream); |
5031 | 0 | } |
5032 | |
|
5033 | 0 | if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { |
5034 | 0 | target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( |
5035 | 0 | _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); |
5036 | 0 | } |
5037 | | // @@protoc_insertion_point(serialize_to_array_end:solidity.yul.test.yul_fuzzer.BinaryOp) |
5038 | 0 | return target; |
5039 | 0 | } |
5040 | | |
5041 | 0 | size_t BinaryOp::RequiredFieldsByteSizeFallback() const { |
5042 | | // @@protoc_insertion_point(required_fields_byte_size_fallback_start:solidity.yul.test.yul_fuzzer.BinaryOp) |
5043 | 0 | size_t total_size = 0; |
5044 | |
|
5045 | 0 | if (_internal_has_left()) { |
5046 | | // required .solidity.yul.test.yul_fuzzer.Expression left = 2; |
5047 | 0 | total_size += 1 + |
5048 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
5049 | 0 | *_impl_.left_); |
5050 | 0 | } |
5051 | |
|
5052 | 0 | if (_internal_has_right()) { |
5053 | | // required .solidity.yul.test.yul_fuzzer.Expression right = 3; |
5054 | 0 | total_size += 1 + |
5055 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
5056 | 0 | *_impl_.right_); |
5057 | 0 | } |
5058 | |
|
5059 | 0 | if (_internal_has_op()) { |
5060 | | // required .solidity.yul.test.yul_fuzzer.BinaryOp.BOp op = 1; |
5061 | 0 | total_size += 1 + |
5062 | 0 | ::_pbi::WireFormatLite::EnumSize(this->_internal_op()); |
5063 | 0 | } |
5064 | |
|
5065 | 0 | return total_size; |
5066 | 0 | } |
5067 | 128k | size_t BinaryOp::ByteSizeLong() const { |
5068 | | // @@protoc_insertion_point(message_byte_size_start:solidity.yul.test.yul_fuzzer.BinaryOp) |
5069 | 128k | size_t total_size = 0; |
5070 | | |
5071 | 128k | if (((_impl_._has_bits_[0] & 0x00000007) ^ 0x00000007) == 0) { // All required fields are present. |
5072 | | // required .solidity.yul.test.yul_fuzzer.Expression left = 2; |
5073 | 128k | total_size += 1 + |
5074 | 128k | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
5075 | 128k | *_impl_.left_); |
5076 | | |
5077 | | // required .solidity.yul.test.yul_fuzzer.Expression right = 3; |
5078 | 128k | total_size += 1 + |
5079 | 128k | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
5080 | 128k | *_impl_.right_); |
5081 | | |
5082 | | // required .solidity.yul.test.yul_fuzzer.BinaryOp.BOp op = 1; |
5083 | 128k | total_size += 1 + |
5084 | 128k | ::_pbi::WireFormatLite::EnumSize(this->_internal_op()); |
5085 | | |
5086 | 128k | } else { |
5087 | 0 | total_size += RequiredFieldsByteSizeFallback(); |
5088 | 0 | } |
5089 | 128k | uint32_t cached_has_bits = 0; |
5090 | | // Prevent compiler warnings about cached_has_bits being unused |
5091 | 128k | (void) cached_has_bits; |
5092 | | |
5093 | 128k | return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); |
5094 | 128k | } |
5095 | | |
5096 | | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData BinaryOp::_class_data_ = { |
5097 | | ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, |
5098 | | BinaryOp::MergeImpl |
5099 | | }; |
5100 | 0 | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*BinaryOp::GetClassData() const { return &_class_data_; } |
5101 | | |
5102 | | |
5103 | 0 | void BinaryOp::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { |
5104 | 0 | auto* const _this = static_cast<BinaryOp*>(&to_msg); |
5105 | 0 | auto& from = static_cast<const BinaryOp&>(from_msg); |
5106 | | // @@protoc_insertion_point(class_specific_merge_from_start:solidity.yul.test.yul_fuzzer.BinaryOp) |
5107 | 0 | GOOGLE_DCHECK_NE(&from, _this); |
5108 | 0 | uint32_t cached_has_bits = 0; |
5109 | 0 | (void) cached_has_bits; |
5110 | |
|
5111 | 0 | cached_has_bits = from._impl_._has_bits_[0]; |
5112 | 0 | if (cached_has_bits & 0x00000007u) { |
5113 | 0 | if (cached_has_bits & 0x00000001u) { |
5114 | 0 | _this->_internal_mutable_left()->::solidity::yul::test::yul_fuzzer::Expression::MergeFrom( |
5115 | 0 | from._internal_left()); |
5116 | 0 | } |
5117 | 0 | if (cached_has_bits & 0x00000002u) { |
5118 | 0 | _this->_internal_mutable_right()->::solidity::yul::test::yul_fuzzer::Expression::MergeFrom( |
5119 | 0 | from._internal_right()); |
5120 | 0 | } |
5121 | 0 | if (cached_has_bits & 0x00000004u) { |
5122 | 0 | _this->_impl_.op_ = from._impl_.op_; |
5123 | 0 | } |
5124 | 0 | _this->_impl_._has_bits_[0] |= cached_has_bits; |
5125 | 0 | } |
5126 | 0 | _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); |
5127 | 0 | } |
5128 | | |
5129 | 0 | void BinaryOp::CopyFrom(const BinaryOp& from) { |
5130 | | // @@protoc_insertion_point(class_specific_copy_from_start:solidity.yul.test.yul_fuzzer.BinaryOp) |
5131 | 0 | if (&from == this) return; |
5132 | 0 | Clear(); |
5133 | 0 | MergeFrom(from); |
5134 | 0 | } |
5135 | | |
5136 | 0 | bool BinaryOp::IsInitialized() const { |
5137 | 0 | if (_Internal::MissingRequiredFields(_impl_._has_bits_)) return false; |
5138 | 0 | if (_internal_has_left()) { |
5139 | 0 | if (!_impl_.left_->IsInitialized()) return false; |
5140 | 0 | } |
5141 | 0 | if (_internal_has_right()) { |
5142 | 0 | if (!_impl_.right_->IsInitialized()) return false; |
5143 | 0 | } |
5144 | 0 | return true; |
5145 | 0 | } |
5146 | | |
5147 | 0 | void BinaryOp::InternalSwap(BinaryOp* other) { |
5148 | 0 | using std::swap; |
5149 | 0 | _internal_metadata_.InternalSwap(&other->_internal_metadata_); |
5150 | 0 | swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); |
5151 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::memswap< |
5152 | 0 | PROTOBUF_FIELD_OFFSET(BinaryOp, _impl_.op_) |
5153 | 0 | + sizeof(BinaryOp::_impl_.op_) |
5154 | 0 | - PROTOBUF_FIELD_OFFSET(BinaryOp, _impl_.left_)>( |
5155 | 0 | reinterpret_cast<char*>(&_impl_.left_), |
5156 | 0 | reinterpret_cast<char*>(&other->_impl_.left_)); |
5157 | 0 | } |
5158 | | |
5159 | 2.33M | ::PROTOBUF_NAMESPACE_ID::Metadata BinaryOp::GetMetadata() const { |
5160 | 2.33M | return ::_pbi::AssignDescriptors( |
5161 | 2.33M | &descriptor_table_yulProto_2eproto_getter, &descriptor_table_yulProto_2eproto_once, |
5162 | 2.33M | file_level_metadata_yulProto_2eproto[9]); |
5163 | 2.33M | } |
5164 | | |
5165 | | // =================================================================== |
5166 | | |
5167 | | class UnaryOp::_Internal { |
5168 | | public: |
5169 | | using HasBits = decltype(std::declval<UnaryOp>()._impl_._has_bits_); |
5170 | 0 | static void set_has_op(HasBits* has_bits) { |
5171 | 0 | (*has_bits)[0] |= 2u; |
5172 | 0 | } |
5173 | | static const ::solidity::yul::test::yul_fuzzer::Expression& operand(const UnaryOp* msg); |
5174 | 0 | static void set_has_operand(HasBits* has_bits) { |
5175 | 0 | (*has_bits)[0] |= 1u; |
5176 | 0 | } |
5177 | 0 | static bool MissingRequiredFields(const HasBits& has_bits) { |
5178 | 0 | return ((has_bits[0] & 0x00000003) ^ 0x00000003) != 0; |
5179 | 0 | } |
5180 | | }; |
5181 | | |
5182 | | const ::solidity::yul::test::yul_fuzzer::Expression& |
5183 | 0 | UnaryOp::_Internal::operand(const UnaryOp* msg) { |
5184 | 0 | return *msg->_impl_.operand_; |
5185 | 0 | } |
5186 | | UnaryOp::UnaryOp(::PROTOBUF_NAMESPACE_ID::Arena* arena, |
5187 | | bool is_message_owned) |
5188 | 73.0k | : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { |
5189 | 73.0k | SharedCtor(arena, is_message_owned); |
5190 | | // @@protoc_insertion_point(arena_constructor:solidity.yul.test.yul_fuzzer.UnaryOp) |
5191 | 73.0k | } |
5192 | | UnaryOp::UnaryOp(const UnaryOp& from) |
5193 | 0 | : ::PROTOBUF_NAMESPACE_ID::Message() { |
5194 | 0 | UnaryOp* const _this = this; (void)_this; |
5195 | 0 | new (&_impl_) Impl_{ |
5196 | 0 | decltype(_impl_._has_bits_){from._impl_._has_bits_} |
5197 | 0 | , /*decltype(_impl_._cached_size_)*/{} |
5198 | 0 | , decltype(_impl_.operand_){nullptr} |
5199 | 0 | , decltype(_impl_.op_){}}; |
5200 | |
|
5201 | 0 | _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); |
5202 | 0 | if (from._internal_has_operand()) { |
5203 | 0 | _this->_impl_.operand_ = new ::solidity::yul::test::yul_fuzzer::Expression(*from._impl_.operand_); |
5204 | 0 | } |
5205 | 0 | _this->_impl_.op_ = from._impl_.op_; |
5206 | | // @@protoc_insertion_point(copy_constructor:solidity.yul.test.yul_fuzzer.UnaryOp) |
5207 | 0 | } |
5208 | | |
5209 | | inline void UnaryOp::SharedCtor( |
5210 | 73.0k | ::_pb::Arena* arena, bool is_message_owned) { |
5211 | 73.0k | (void)arena; |
5212 | 73.0k | (void)is_message_owned; |
5213 | 73.0k | new (&_impl_) Impl_{ |
5214 | 73.0k | decltype(_impl_._has_bits_){} |
5215 | 73.0k | , /*decltype(_impl_._cached_size_)*/{} |
5216 | 73.0k | , decltype(_impl_.operand_){nullptr} |
5217 | 73.0k | , decltype(_impl_.op_){0} |
5218 | 73.0k | }; |
5219 | 73.0k | } |
5220 | | |
5221 | 73.0k | UnaryOp::~UnaryOp() { |
5222 | | // @@protoc_insertion_point(destructor:solidity.yul.test.yul_fuzzer.UnaryOp) |
5223 | 73.0k | if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { |
5224 | 0 | (void)arena; |
5225 | 0 | return; |
5226 | 0 | } |
5227 | 73.0k | SharedDtor(); |
5228 | 73.0k | } |
5229 | | |
5230 | 73.0k | inline void UnaryOp::SharedDtor() { |
5231 | 73.0k | GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); |
5232 | 73.0k | if (this != internal_default_instance()) delete _impl_.operand_; |
5233 | 73.0k | } |
5234 | | |
5235 | 0 | void UnaryOp::SetCachedSize(int size) const { |
5236 | 0 | _impl_._cached_size_.Set(size); |
5237 | 0 | } |
5238 | | |
5239 | 0 | void UnaryOp::Clear() { |
5240 | | // @@protoc_insertion_point(message_clear_start:solidity.yul.test.yul_fuzzer.UnaryOp) |
5241 | 0 | uint32_t cached_has_bits = 0; |
5242 | | // Prevent compiler warnings about cached_has_bits being unused |
5243 | 0 | (void) cached_has_bits; |
5244 | |
|
5245 | 0 | cached_has_bits = _impl_._has_bits_[0]; |
5246 | 0 | if (cached_has_bits & 0x00000001u) { |
5247 | 0 | GOOGLE_DCHECK(_impl_.operand_ != nullptr); |
5248 | 0 | _impl_.operand_->Clear(); |
5249 | 0 | } |
5250 | 0 | _impl_.op_ = 0; |
5251 | 0 | _impl_._has_bits_.Clear(); |
5252 | 0 | _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); |
5253 | 0 | } |
5254 | | |
5255 | 0 | const char* UnaryOp::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { |
5256 | 0 | #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure |
5257 | 0 | _Internal::HasBits has_bits{}; |
5258 | 0 | while (!ctx->Done(&ptr)) { |
5259 | 0 | uint32_t tag; |
5260 | 0 | ptr = ::_pbi::ReadTag(ptr, &tag); |
5261 | 0 | switch (tag >> 3) { |
5262 | | // required .solidity.yul.test.yul_fuzzer.UnaryOp.UOp op = 1; |
5263 | 0 | case 1: |
5264 | 0 | if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 8)) { |
5265 | 0 | uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); |
5266 | 0 | CHK_(ptr); |
5267 | 0 | if (PROTOBUF_PREDICT_TRUE(::solidity::yul::test::yul_fuzzer::UnaryOp_UOp_IsValid(val))) { |
5268 | 0 | _internal_set_op(static_cast<::solidity::yul::test::yul_fuzzer::UnaryOp_UOp>(val)); |
5269 | 0 | } else { |
5270 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::WriteVarint(1, val, mutable_unknown_fields()); |
5271 | 0 | } |
5272 | 0 | } else |
5273 | 0 | goto handle_unusual; |
5274 | 0 | continue; |
5275 | | // required .solidity.yul.test.yul_fuzzer.Expression operand = 2; |
5276 | 0 | case 2: |
5277 | 0 | if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 18)) { |
5278 | 0 | ptr = ctx->ParseMessage(_internal_mutable_operand(), ptr); |
5279 | 0 | CHK_(ptr); |
5280 | 0 | } else |
5281 | 0 | goto handle_unusual; |
5282 | 0 | continue; |
5283 | 0 | default: |
5284 | 0 | goto handle_unusual; |
5285 | 0 | } // switch |
5286 | 0 | handle_unusual: |
5287 | 0 | if ((tag == 0) || ((tag & 7) == 4)) { |
5288 | 0 | CHK_(ptr); |
5289 | 0 | ctx->SetLastTag(tag); |
5290 | 0 | goto message_done; |
5291 | 0 | } |
5292 | 0 | ptr = UnknownFieldParse( |
5293 | 0 | tag, |
5294 | 0 | _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), |
5295 | 0 | ptr, ctx); |
5296 | 0 | CHK_(ptr != nullptr); |
5297 | 0 | } // while |
5298 | 0 | message_done: |
5299 | 0 | _impl_._has_bits_.Or(has_bits); |
5300 | 0 | return ptr; |
5301 | 0 | failure: |
5302 | 0 | ptr = nullptr; |
5303 | 0 | goto message_done; |
5304 | 0 | #undef CHK_ |
5305 | 0 | } |
5306 | | |
5307 | | uint8_t* UnaryOp::_InternalSerialize( |
5308 | 0 | uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { |
5309 | | // @@protoc_insertion_point(serialize_to_array_start:solidity.yul.test.yul_fuzzer.UnaryOp) |
5310 | 0 | uint32_t cached_has_bits = 0; |
5311 | 0 | (void) cached_has_bits; |
5312 | |
|
5313 | 0 | cached_has_bits = _impl_._has_bits_[0]; |
5314 | | // required .solidity.yul.test.yul_fuzzer.UnaryOp.UOp op = 1; |
5315 | 0 | if (cached_has_bits & 0x00000002u) { |
5316 | 0 | target = stream->EnsureSpace(target); |
5317 | 0 | target = ::_pbi::WireFormatLite::WriteEnumToArray( |
5318 | 0 | 1, this->_internal_op(), target); |
5319 | 0 | } |
5320 | | |
5321 | | // required .solidity.yul.test.yul_fuzzer.Expression operand = 2; |
5322 | 0 | if (cached_has_bits & 0x00000001u) { |
5323 | 0 | target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: |
5324 | 0 | InternalWriteMessage(2, _Internal::operand(this), |
5325 | 0 | _Internal::operand(this).GetCachedSize(), target, stream); |
5326 | 0 | } |
5327 | |
|
5328 | 0 | if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { |
5329 | 0 | target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( |
5330 | 0 | _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); |
5331 | 0 | } |
5332 | | // @@protoc_insertion_point(serialize_to_array_end:solidity.yul.test.yul_fuzzer.UnaryOp) |
5333 | 0 | return target; |
5334 | 0 | } |
5335 | | |
5336 | 0 | size_t UnaryOp::RequiredFieldsByteSizeFallback() const { |
5337 | | // @@protoc_insertion_point(required_fields_byte_size_fallback_start:solidity.yul.test.yul_fuzzer.UnaryOp) |
5338 | 0 | size_t total_size = 0; |
5339 | |
|
5340 | 0 | if (_internal_has_operand()) { |
5341 | | // required .solidity.yul.test.yul_fuzzer.Expression operand = 2; |
5342 | 0 | total_size += 1 + |
5343 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
5344 | 0 | *_impl_.operand_); |
5345 | 0 | } |
5346 | |
|
5347 | 0 | if (_internal_has_op()) { |
5348 | | // required .solidity.yul.test.yul_fuzzer.UnaryOp.UOp op = 1; |
5349 | 0 | total_size += 1 + |
5350 | 0 | ::_pbi::WireFormatLite::EnumSize(this->_internal_op()); |
5351 | 0 | } |
5352 | |
|
5353 | 0 | return total_size; |
5354 | 0 | } |
5355 | 65.5k | size_t UnaryOp::ByteSizeLong() const { |
5356 | | // @@protoc_insertion_point(message_byte_size_start:solidity.yul.test.yul_fuzzer.UnaryOp) |
5357 | 65.5k | size_t total_size = 0; |
5358 | | |
5359 | 65.5k | if (((_impl_._has_bits_[0] & 0x00000003) ^ 0x00000003) == 0) { // All required fields are present. |
5360 | | // required .solidity.yul.test.yul_fuzzer.Expression operand = 2; |
5361 | 65.5k | total_size += 1 + |
5362 | 65.5k | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
5363 | 65.5k | *_impl_.operand_); |
5364 | | |
5365 | | // required .solidity.yul.test.yul_fuzzer.UnaryOp.UOp op = 1; |
5366 | 65.5k | total_size += 1 + |
5367 | 65.5k | ::_pbi::WireFormatLite::EnumSize(this->_internal_op()); |
5368 | | |
5369 | 65.5k | } else { |
5370 | 0 | total_size += RequiredFieldsByteSizeFallback(); |
5371 | 0 | } |
5372 | 65.5k | uint32_t cached_has_bits = 0; |
5373 | | // Prevent compiler warnings about cached_has_bits being unused |
5374 | 65.5k | (void) cached_has_bits; |
5375 | | |
5376 | 65.5k | return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); |
5377 | 65.5k | } |
5378 | | |
5379 | | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData UnaryOp::_class_data_ = { |
5380 | | ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, |
5381 | | UnaryOp::MergeImpl |
5382 | | }; |
5383 | 0 | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*UnaryOp::GetClassData() const { return &_class_data_; } |
5384 | | |
5385 | | |
5386 | 0 | void UnaryOp::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { |
5387 | 0 | auto* const _this = static_cast<UnaryOp*>(&to_msg); |
5388 | 0 | auto& from = static_cast<const UnaryOp&>(from_msg); |
5389 | | // @@protoc_insertion_point(class_specific_merge_from_start:solidity.yul.test.yul_fuzzer.UnaryOp) |
5390 | 0 | GOOGLE_DCHECK_NE(&from, _this); |
5391 | 0 | uint32_t cached_has_bits = 0; |
5392 | 0 | (void) cached_has_bits; |
5393 | |
|
5394 | 0 | cached_has_bits = from._impl_._has_bits_[0]; |
5395 | 0 | if (cached_has_bits & 0x00000003u) { |
5396 | 0 | if (cached_has_bits & 0x00000001u) { |
5397 | 0 | _this->_internal_mutable_operand()->::solidity::yul::test::yul_fuzzer::Expression::MergeFrom( |
5398 | 0 | from._internal_operand()); |
5399 | 0 | } |
5400 | 0 | if (cached_has_bits & 0x00000002u) { |
5401 | 0 | _this->_impl_.op_ = from._impl_.op_; |
5402 | 0 | } |
5403 | 0 | _this->_impl_._has_bits_[0] |= cached_has_bits; |
5404 | 0 | } |
5405 | 0 | _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); |
5406 | 0 | } |
5407 | | |
5408 | 0 | void UnaryOp::CopyFrom(const UnaryOp& from) { |
5409 | | // @@protoc_insertion_point(class_specific_copy_from_start:solidity.yul.test.yul_fuzzer.UnaryOp) |
5410 | 0 | if (&from == this) return; |
5411 | 0 | Clear(); |
5412 | 0 | MergeFrom(from); |
5413 | 0 | } |
5414 | | |
5415 | 0 | bool UnaryOp::IsInitialized() const { |
5416 | 0 | if (_Internal::MissingRequiredFields(_impl_._has_bits_)) return false; |
5417 | 0 | if (_internal_has_operand()) { |
5418 | 0 | if (!_impl_.operand_->IsInitialized()) return false; |
5419 | 0 | } |
5420 | 0 | return true; |
5421 | 0 | } |
5422 | | |
5423 | 0 | void UnaryOp::InternalSwap(UnaryOp* other) { |
5424 | 0 | using std::swap; |
5425 | 0 | _internal_metadata_.InternalSwap(&other->_internal_metadata_); |
5426 | 0 | swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); |
5427 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::memswap< |
5428 | 0 | PROTOBUF_FIELD_OFFSET(UnaryOp, _impl_.op_) |
5429 | 0 | + sizeof(UnaryOp::_impl_.op_) |
5430 | 0 | - PROTOBUF_FIELD_OFFSET(UnaryOp, _impl_.operand_)>( |
5431 | 0 | reinterpret_cast<char*>(&_impl_.operand_), |
5432 | 0 | reinterpret_cast<char*>(&other->_impl_.operand_)); |
5433 | 0 | } |
5434 | | |
5435 | 1.04M | ::PROTOBUF_NAMESPACE_ID::Metadata UnaryOp::GetMetadata() const { |
5436 | 1.04M | return ::_pbi::AssignDescriptors( |
5437 | 1.04M | &descriptor_table_yulProto_2eproto_getter, &descriptor_table_yulProto_2eproto_once, |
5438 | 1.04M | file_level_metadata_yulProto_2eproto[10]); |
5439 | 1.04M | } |
5440 | | |
5441 | | // =================================================================== |
5442 | | |
5443 | | class UnaryOpData::_Internal { |
5444 | | public: |
5445 | | using HasBits = decltype(std::declval<UnaryOpData>()._impl_._has_bits_); |
5446 | 0 | static void set_has_op(HasBits* has_bits) { |
5447 | 0 | (*has_bits)[0] |= 2u; |
5448 | 0 | } |
5449 | 0 | static void set_has_identifier(HasBits* has_bits) { |
5450 | 0 | (*has_bits)[0] |= 1u; |
5451 | 0 | } |
5452 | 0 | static bool MissingRequiredFields(const HasBits& has_bits) { |
5453 | 0 | return ((has_bits[0] & 0x00000003) ^ 0x00000003) != 0; |
5454 | 0 | } |
5455 | | }; |
5456 | | |
5457 | | UnaryOpData::UnaryOpData(::PROTOBUF_NAMESPACE_ID::Arena* arena, |
5458 | | bool is_message_owned) |
5459 | 28.8k | : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { |
5460 | 28.8k | SharedCtor(arena, is_message_owned); |
5461 | | // @@protoc_insertion_point(arena_constructor:solidity.yul.test.yul_fuzzer.UnaryOpData) |
5462 | 28.8k | } |
5463 | | UnaryOpData::UnaryOpData(const UnaryOpData& from) |
5464 | 0 | : ::PROTOBUF_NAMESPACE_ID::Message() { |
5465 | 0 | UnaryOpData* const _this = this; (void)_this; |
5466 | 0 | new (&_impl_) Impl_{ |
5467 | 0 | decltype(_impl_._has_bits_){from._impl_._has_bits_} |
5468 | 0 | , /*decltype(_impl_._cached_size_)*/{} |
5469 | 0 | , decltype(_impl_.identifier_){} |
5470 | 0 | , decltype(_impl_.op_){}}; |
5471 | |
|
5472 | 0 | _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); |
5473 | 0 | ::memcpy(&_impl_.identifier_, &from._impl_.identifier_, |
5474 | 0 | static_cast<size_t>(reinterpret_cast<char*>(&_impl_.op_) - |
5475 | 0 | reinterpret_cast<char*>(&_impl_.identifier_)) + sizeof(_impl_.op_)); |
5476 | | // @@protoc_insertion_point(copy_constructor:solidity.yul.test.yul_fuzzer.UnaryOpData) |
5477 | 0 | } |
5478 | | |
5479 | | inline void UnaryOpData::SharedCtor( |
5480 | 28.8k | ::_pb::Arena* arena, bool is_message_owned) { |
5481 | 28.8k | (void)arena; |
5482 | 28.8k | (void)is_message_owned; |
5483 | 28.8k | new (&_impl_) Impl_{ |
5484 | 28.8k | decltype(_impl_._has_bits_){} |
5485 | 28.8k | , /*decltype(_impl_._cached_size_)*/{} |
5486 | 28.8k | , decltype(_impl_.identifier_){uint64_t{0u}} |
5487 | 28.8k | , decltype(_impl_.op_){1} |
5488 | 28.8k | }; |
5489 | 28.8k | } |
5490 | | |
5491 | 28.8k | UnaryOpData::~UnaryOpData() { |
5492 | | // @@protoc_insertion_point(destructor:solidity.yul.test.yul_fuzzer.UnaryOpData) |
5493 | 28.8k | if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { |
5494 | 0 | (void)arena; |
5495 | 0 | return; |
5496 | 0 | } |
5497 | 28.8k | SharedDtor(); |
5498 | 28.8k | } |
5499 | | |
5500 | 28.8k | inline void UnaryOpData::SharedDtor() { |
5501 | 28.8k | GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); |
5502 | 28.8k | } |
5503 | | |
5504 | 0 | void UnaryOpData::SetCachedSize(int size) const { |
5505 | 0 | _impl_._cached_size_.Set(size); |
5506 | 0 | } |
5507 | | |
5508 | 0 | void UnaryOpData::Clear() { |
5509 | | // @@protoc_insertion_point(message_clear_start:solidity.yul.test.yul_fuzzer.UnaryOpData) |
5510 | 0 | uint32_t cached_has_bits = 0; |
5511 | | // Prevent compiler warnings about cached_has_bits being unused |
5512 | 0 | (void) cached_has_bits; |
5513 | |
|
5514 | 0 | cached_has_bits = _impl_._has_bits_[0]; |
5515 | 0 | if (cached_has_bits & 0x00000003u) { |
5516 | 0 | _impl_.identifier_ = uint64_t{0u}; |
5517 | 0 | _impl_.op_ = 1; |
5518 | 0 | } |
5519 | 0 | _impl_._has_bits_.Clear(); |
5520 | 0 | _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); |
5521 | 0 | } |
5522 | | |
5523 | 0 | const char* UnaryOpData::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { |
5524 | 0 | #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure |
5525 | 0 | _Internal::HasBits has_bits{}; |
5526 | 0 | while (!ctx->Done(&ptr)) { |
5527 | 0 | uint32_t tag; |
5528 | 0 | ptr = ::_pbi::ReadTag(ptr, &tag); |
5529 | 0 | switch (tag >> 3) { |
5530 | | // required .solidity.yul.test.yul_fuzzer.UnaryOpData.UOpData op = 1; |
5531 | 0 | case 1: |
5532 | 0 | if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 8)) { |
5533 | 0 | uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); |
5534 | 0 | CHK_(ptr); |
5535 | 0 | if (PROTOBUF_PREDICT_TRUE(::solidity::yul::test::yul_fuzzer::UnaryOpData_UOpData_IsValid(val))) { |
5536 | 0 | _internal_set_op(static_cast<::solidity::yul::test::yul_fuzzer::UnaryOpData_UOpData>(val)); |
5537 | 0 | } else { |
5538 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::WriteVarint(1, val, mutable_unknown_fields()); |
5539 | 0 | } |
5540 | 0 | } else |
5541 | 0 | goto handle_unusual; |
5542 | 0 | continue; |
5543 | | // required uint64 identifier = 2; |
5544 | 0 | case 2: |
5545 | 0 | if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 16)) { |
5546 | 0 | _Internal::set_has_identifier(&has_bits); |
5547 | 0 | _impl_.identifier_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); |
5548 | 0 | CHK_(ptr); |
5549 | 0 | } else |
5550 | 0 | goto handle_unusual; |
5551 | 0 | continue; |
5552 | 0 | default: |
5553 | 0 | goto handle_unusual; |
5554 | 0 | } // switch |
5555 | 0 | handle_unusual: |
5556 | 0 | if ((tag == 0) || ((tag & 7) == 4)) { |
5557 | 0 | CHK_(ptr); |
5558 | 0 | ctx->SetLastTag(tag); |
5559 | 0 | goto message_done; |
5560 | 0 | } |
5561 | 0 | ptr = UnknownFieldParse( |
5562 | 0 | tag, |
5563 | 0 | _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), |
5564 | 0 | ptr, ctx); |
5565 | 0 | CHK_(ptr != nullptr); |
5566 | 0 | } // while |
5567 | 0 | message_done: |
5568 | 0 | _impl_._has_bits_.Or(has_bits); |
5569 | 0 | return ptr; |
5570 | 0 | failure: |
5571 | 0 | ptr = nullptr; |
5572 | 0 | goto message_done; |
5573 | 0 | #undef CHK_ |
5574 | 0 | } |
5575 | | |
5576 | | uint8_t* UnaryOpData::_InternalSerialize( |
5577 | 0 | uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { |
5578 | | // @@protoc_insertion_point(serialize_to_array_start:solidity.yul.test.yul_fuzzer.UnaryOpData) |
5579 | 0 | uint32_t cached_has_bits = 0; |
5580 | 0 | (void) cached_has_bits; |
5581 | |
|
5582 | 0 | cached_has_bits = _impl_._has_bits_[0]; |
5583 | | // required .solidity.yul.test.yul_fuzzer.UnaryOpData.UOpData op = 1; |
5584 | 0 | if (cached_has_bits & 0x00000002u) { |
5585 | 0 | target = stream->EnsureSpace(target); |
5586 | 0 | target = ::_pbi::WireFormatLite::WriteEnumToArray( |
5587 | 0 | 1, this->_internal_op(), target); |
5588 | 0 | } |
5589 | | |
5590 | | // required uint64 identifier = 2; |
5591 | 0 | if (cached_has_bits & 0x00000001u) { |
5592 | 0 | target = stream->EnsureSpace(target); |
5593 | 0 | target = ::_pbi::WireFormatLite::WriteUInt64ToArray(2, this->_internal_identifier(), target); |
5594 | 0 | } |
5595 | |
|
5596 | 0 | if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { |
5597 | 0 | target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( |
5598 | 0 | _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); |
5599 | 0 | } |
5600 | | // @@protoc_insertion_point(serialize_to_array_end:solidity.yul.test.yul_fuzzer.UnaryOpData) |
5601 | 0 | return target; |
5602 | 0 | } |
5603 | | |
5604 | 0 | size_t UnaryOpData::RequiredFieldsByteSizeFallback() const { |
5605 | | // @@protoc_insertion_point(required_fields_byte_size_fallback_start:solidity.yul.test.yul_fuzzer.UnaryOpData) |
5606 | 0 | size_t total_size = 0; |
5607 | |
|
5608 | 0 | if (_internal_has_identifier()) { |
5609 | | // required uint64 identifier = 2; |
5610 | 0 | total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_identifier()); |
5611 | 0 | } |
5612 | |
|
5613 | 0 | if (_internal_has_op()) { |
5614 | | // required .solidity.yul.test.yul_fuzzer.UnaryOpData.UOpData op = 1; |
5615 | 0 | total_size += 1 + |
5616 | 0 | ::_pbi::WireFormatLite::EnumSize(this->_internal_op()); |
5617 | 0 | } |
5618 | |
|
5619 | 0 | return total_size; |
5620 | 0 | } |
5621 | 28.0k | size_t UnaryOpData::ByteSizeLong() const { |
5622 | | // @@protoc_insertion_point(message_byte_size_start:solidity.yul.test.yul_fuzzer.UnaryOpData) |
5623 | 28.0k | size_t total_size = 0; |
5624 | | |
5625 | 28.0k | if (((_impl_._has_bits_[0] & 0x00000003) ^ 0x00000003) == 0) { // All required fields are present. |
5626 | | // required uint64 identifier = 2; |
5627 | 28.0k | total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_identifier()); |
5628 | | |
5629 | | // required .solidity.yul.test.yul_fuzzer.UnaryOpData.UOpData op = 1; |
5630 | 28.0k | total_size += 1 + |
5631 | 28.0k | ::_pbi::WireFormatLite::EnumSize(this->_internal_op()); |
5632 | | |
5633 | 28.0k | } else { |
5634 | 0 | total_size += RequiredFieldsByteSizeFallback(); |
5635 | 0 | } |
5636 | 28.0k | uint32_t cached_has_bits = 0; |
5637 | | // Prevent compiler warnings about cached_has_bits being unused |
5638 | 28.0k | (void) cached_has_bits; |
5639 | | |
5640 | 28.0k | return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); |
5641 | 28.0k | } |
5642 | | |
5643 | | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData UnaryOpData::_class_data_ = { |
5644 | | ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, |
5645 | | UnaryOpData::MergeImpl |
5646 | | }; |
5647 | 0 | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*UnaryOpData::GetClassData() const { return &_class_data_; } |
5648 | | |
5649 | | |
5650 | 0 | void UnaryOpData::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { |
5651 | 0 | auto* const _this = static_cast<UnaryOpData*>(&to_msg); |
5652 | 0 | auto& from = static_cast<const UnaryOpData&>(from_msg); |
5653 | | // @@protoc_insertion_point(class_specific_merge_from_start:solidity.yul.test.yul_fuzzer.UnaryOpData) |
5654 | 0 | GOOGLE_DCHECK_NE(&from, _this); |
5655 | 0 | uint32_t cached_has_bits = 0; |
5656 | 0 | (void) cached_has_bits; |
5657 | |
|
5658 | 0 | cached_has_bits = from._impl_._has_bits_[0]; |
5659 | 0 | if (cached_has_bits & 0x00000003u) { |
5660 | 0 | if (cached_has_bits & 0x00000001u) { |
5661 | 0 | _this->_impl_.identifier_ = from._impl_.identifier_; |
5662 | 0 | } |
5663 | 0 | if (cached_has_bits & 0x00000002u) { |
5664 | 0 | _this->_impl_.op_ = from._impl_.op_; |
5665 | 0 | } |
5666 | 0 | _this->_impl_._has_bits_[0] |= cached_has_bits; |
5667 | 0 | } |
5668 | 0 | _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); |
5669 | 0 | } |
5670 | | |
5671 | 0 | void UnaryOpData::CopyFrom(const UnaryOpData& from) { |
5672 | | // @@protoc_insertion_point(class_specific_copy_from_start:solidity.yul.test.yul_fuzzer.UnaryOpData) |
5673 | 0 | if (&from == this) return; |
5674 | 0 | Clear(); |
5675 | 0 | MergeFrom(from); |
5676 | 0 | } |
5677 | | |
5678 | 0 | bool UnaryOpData::IsInitialized() const { |
5679 | 0 | if (_Internal::MissingRequiredFields(_impl_._has_bits_)) return false; |
5680 | 0 | return true; |
5681 | 0 | } |
5682 | | |
5683 | 0 | void UnaryOpData::InternalSwap(UnaryOpData* other) { |
5684 | 0 | using std::swap; |
5685 | 0 | _internal_metadata_.InternalSwap(&other->_internal_metadata_); |
5686 | 0 | swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); |
5687 | 0 | swap(_impl_.identifier_, other->_impl_.identifier_); |
5688 | 0 | swap(_impl_.op_, other->_impl_.op_); |
5689 | 0 | } |
5690 | | |
5691 | 382k | ::PROTOBUF_NAMESPACE_ID::Metadata UnaryOpData::GetMetadata() const { |
5692 | 382k | return ::_pbi::AssignDescriptors( |
5693 | 382k | &descriptor_table_yulProto_2eproto_getter, &descriptor_table_yulProto_2eproto_once, |
5694 | 382k | file_level_metadata_yulProto_2eproto[11]); |
5695 | 382k | } |
5696 | | |
5697 | | // =================================================================== |
5698 | | |
5699 | | class TernaryOp::_Internal { |
5700 | | public: |
5701 | | using HasBits = decltype(std::declval<TernaryOp>()._impl_._has_bits_); |
5702 | 0 | static void set_has_op(HasBits* has_bits) { |
5703 | 0 | (*has_bits)[0] |= 8u; |
5704 | 0 | } |
5705 | | static const ::solidity::yul::test::yul_fuzzer::Expression& arg1(const TernaryOp* msg); |
5706 | 0 | static void set_has_arg1(HasBits* has_bits) { |
5707 | 0 | (*has_bits)[0] |= 1u; |
5708 | 0 | } |
5709 | | static const ::solidity::yul::test::yul_fuzzer::Expression& arg2(const TernaryOp* msg); |
5710 | 0 | static void set_has_arg2(HasBits* has_bits) { |
5711 | 0 | (*has_bits)[0] |= 2u; |
5712 | 0 | } |
5713 | | static const ::solidity::yul::test::yul_fuzzer::Expression& arg3(const TernaryOp* msg); |
5714 | 0 | static void set_has_arg3(HasBits* has_bits) { |
5715 | 0 | (*has_bits)[0] |= 4u; |
5716 | 0 | } |
5717 | 0 | static bool MissingRequiredFields(const HasBits& has_bits) { |
5718 | 0 | return ((has_bits[0] & 0x0000000f) ^ 0x0000000f) != 0; |
5719 | 0 | } |
5720 | | }; |
5721 | | |
5722 | | const ::solidity::yul::test::yul_fuzzer::Expression& |
5723 | 0 | TernaryOp::_Internal::arg1(const TernaryOp* msg) { |
5724 | 0 | return *msg->_impl_.arg1_; |
5725 | 0 | } |
5726 | | const ::solidity::yul::test::yul_fuzzer::Expression& |
5727 | 0 | TernaryOp::_Internal::arg2(const TernaryOp* msg) { |
5728 | 0 | return *msg->_impl_.arg2_; |
5729 | 0 | } |
5730 | | const ::solidity::yul::test::yul_fuzzer::Expression& |
5731 | 0 | TernaryOp::_Internal::arg3(const TernaryOp* msg) { |
5732 | 0 | return *msg->_impl_.arg3_; |
5733 | 0 | } |
5734 | | TernaryOp::TernaryOp(::PROTOBUF_NAMESPACE_ID::Arena* arena, |
5735 | | bool is_message_owned) |
5736 | 31.8k | : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { |
5737 | 31.8k | SharedCtor(arena, is_message_owned); |
5738 | | // @@protoc_insertion_point(arena_constructor:solidity.yul.test.yul_fuzzer.TernaryOp) |
5739 | 31.8k | } |
5740 | | TernaryOp::TernaryOp(const TernaryOp& from) |
5741 | 0 | : ::PROTOBUF_NAMESPACE_ID::Message() { |
5742 | 0 | TernaryOp* const _this = this; (void)_this; |
5743 | 0 | new (&_impl_) Impl_{ |
5744 | 0 | decltype(_impl_._has_bits_){from._impl_._has_bits_} |
5745 | 0 | , /*decltype(_impl_._cached_size_)*/{} |
5746 | 0 | , decltype(_impl_.arg1_){nullptr} |
5747 | 0 | , decltype(_impl_.arg2_){nullptr} |
5748 | 0 | , decltype(_impl_.arg3_){nullptr} |
5749 | 0 | , decltype(_impl_.op_){}}; |
5750 | |
|
5751 | 0 | _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); |
5752 | 0 | if (from._internal_has_arg1()) { |
5753 | 0 | _this->_impl_.arg1_ = new ::solidity::yul::test::yul_fuzzer::Expression(*from._impl_.arg1_); |
5754 | 0 | } |
5755 | 0 | if (from._internal_has_arg2()) { |
5756 | 0 | _this->_impl_.arg2_ = new ::solidity::yul::test::yul_fuzzer::Expression(*from._impl_.arg2_); |
5757 | 0 | } |
5758 | 0 | if (from._internal_has_arg3()) { |
5759 | 0 | _this->_impl_.arg3_ = new ::solidity::yul::test::yul_fuzzer::Expression(*from._impl_.arg3_); |
5760 | 0 | } |
5761 | 0 | _this->_impl_.op_ = from._impl_.op_; |
5762 | | // @@protoc_insertion_point(copy_constructor:solidity.yul.test.yul_fuzzer.TernaryOp) |
5763 | 0 | } |
5764 | | |
5765 | | inline void TernaryOp::SharedCtor( |
5766 | 31.8k | ::_pb::Arena* arena, bool is_message_owned) { |
5767 | 31.8k | (void)arena; |
5768 | 31.8k | (void)is_message_owned; |
5769 | 31.8k | new (&_impl_) Impl_{ |
5770 | 31.8k | decltype(_impl_._has_bits_){} |
5771 | 31.8k | , /*decltype(_impl_._cached_size_)*/{} |
5772 | 31.8k | , decltype(_impl_.arg1_){nullptr} |
5773 | 31.8k | , decltype(_impl_.arg2_){nullptr} |
5774 | 31.8k | , decltype(_impl_.arg3_){nullptr} |
5775 | 31.8k | , decltype(_impl_.op_){0} |
5776 | 31.8k | }; |
5777 | 31.8k | } |
5778 | | |
5779 | 31.8k | TernaryOp::~TernaryOp() { |
5780 | | // @@protoc_insertion_point(destructor:solidity.yul.test.yul_fuzzer.TernaryOp) |
5781 | 31.8k | if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { |
5782 | 0 | (void)arena; |
5783 | 0 | return; |
5784 | 0 | } |
5785 | 31.8k | SharedDtor(); |
5786 | 31.8k | } |
5787 | | |
5788 | 31.8k | inline void TernaryOp::SharedDtor() { |
5789 | 31.8k | GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); |
5790 | 31.8k | if (this != internal_default_instance()) delete _impl_.arg1_; |
5791 | 31.8k | if (this != internal_default_instance()) delete _impl_.arg2_; |
5792 | 31.8k | if (this != internal_default_instance()) delete _impl_.arg3_; |
5793 | 31.8k | } |
5794 | | |
5795 | 0 | void TernaryOp::SetCachedSize(int size) const { |
5796 | 0 | _impl_._cached_size_.Set(size); |
5797 | 0 | } |
5798 | | |
5799 | 0 | void TernaryOp::Clear() { |
5800 | | // @@protoc_insertion_point(message_clear_start:solidity.yul.test.yul_fuzzer.TernaryOp) |
5801 | 0 | uint32_t cached_has_bits = 0; |
5802 | | // Prevent compiler warnings about cached_has_bits being unused |
5803 | 0 | (void) cached_has_bits; |
5804 | |
|
5805 | 0 | cached_has_bits = _impl_._has_bits_[0]; |
5806 | 0 | if (cached_has_bits & 0x00000007u) { |
5807 | 0 | if (cached_has_bits & 0x00000001u) { |
5808 | 0 | GOOGLE_DCHECK(_impl_.arg1_ != nullptr); |
5809 | 0 | _impl_.arg1_->Clear(); |
5810 | 0 | } |
5811 | 0 | if (cached_has_bits & 0x00000002u) { |
5812 | 0 | GOOGLE_DCHECK(_impl_.arg2_ != nullptr); |
5813 | 0 | _impl_.arg2_->Clear(); |
5814 | 0 | } |
5815 | 0 | if (cached_has_bits & 0x00000004u) { |
5816 | 0 | GOOGLE_DCHECK(_impl_.arg3_ != nullptr); |
5817 | 0 | _impl_.arg3_->Clear(); |
5818 | 0 | } |
5819 | 0 | } |
5820 | 0 | _impl_.op_ = 0; |
5821 | 0 | _impl_._has_bits_.Clear(); |
5822 | 0 | _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); |
5823 | 0 | } |
5824 | | |
5825 | 0 | const char* TernaryOp::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { |
5826 | 0 | #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure |
5827 | 0 | _Internal::HasBits has_bits{}; |
5828 | 0 | while (!ctx->Done(&ptr)) { |
5829 | 0 | uint32_t tag; |
5830 | 0 | ptr = ::_pbi::ReadTag(ptr, &tag); |
5831 | 0 | switch (tag >> 3) { |
5832 | | // required .solidity.yul.test.yul_fuzzer.TernaryOp.TOp op = 1; |
5833 | 0 | case 1: |
5834 | 0 | if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 8)) { |
5835 | 0 | uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); |
5836 | 0 | CHK_(ptr); |
5837 | 0 | if (PROTOBUF_PREDICT_TRUE(::solidity::yul::test::yul_fuzzer::TernaryOp_TOp_IsValid(val))) { |
5838 | 0 | _internal_set_op(static_cast<::solidity::yul::test::yul_fuzzer::TernaryOp_TOp>(val)); |
5839 | 0 | } else { |
5840 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::WriteVarint(1, val, mutable_unknown_fields()); |
5841 | 0 | } |
5842 | 0 | } else |
5843 | 0 | goto handle_unusual; |
5844 | 0 | continue; |
5845 | | // required .solidity.yul.test.yul_fuzzer.Expression arg1 = 2; |
5846 | 0 | case 2: |
5847 | 0 | if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 18)) { |
5848 | 0 | ptr = ctx->ParseMessage(_internal_mutable_arg1(), ptr); |
5849 | 0 | CHK_(ptr); |
5850 | 0 | } else |
5851 | 0 | goto handle_unusual; |
5852 | 0 | continue; |
5853 | | // required .solidity.yul.test.yul_fuzzer.Expression arg2 = 3; |
5854 | 0 | case 3: |
5855 | 0 | if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 26)) { |
5856 | 0 | ptr = ctx->ParseMessage(_internal_mutable_arg2(), ptr); |
5857 | 0 | CHK_(ptr); |
5858 | 0 | } else |
5859 | 0 | goto handle_unusual; |
5860 | 0 | continue; |
5861 | | // required .solidity.yul.test.yul_fuzzer.Expression arg3 = 4; |
5862 | 0 | case 4: |
5863 | 0 | if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 34)) { |
5864 | 0 | ptr = ctx->ParseMessage(_internal_mutable_arg3(), ptr); |
5865 | 0 | CHK_(ptr); |
5866 | 0 | } else |
5867 | 0 | goto handle_unusual; |
5868 | 0 | continue; |
5869 | 0 | default: |
5870 | 0 | goto handle_unusual; |
5871 | 0 | } // switch |
5872 | 0 | handle_unusual: |
5873 | 0 | if ((tag == 0) || ((tag & 7) == 4)) { |
5874 | 0 | CHK_(ptr); |
5875 | 0 | ctx->SetLastTag(tag); |
5876 | 0 | goto message_done; |
5877 | 0 | } |
5878 | 0 | ptr = UnknownFieldParse( |
5879 | 0 | tag, |
5880 | 0 | _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), |
5881 | 0 | ptr, ctx); |
5882 | 0 | CHK_(ptr != nullptr); |
5883 | 0 | } // while |
5884 | 0 | message_done: |
5885 | 0 | _impl_._has_bits_.Or(has_bits); |
5886 | 0 | return ptr; |
5887 | 0 | failure: |
5888 | 0 | ptr = nullptr; |
5889 | 0 | goto message_done; |
5890 | 0 | #undef CHK_ |
5891 | 0 | } |
5892 | | |
5893 | | uint8_t* TernaryOp::_InternalSerialize( |
5894 | 0 | uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { |
5895 | | // @@protoc_insertion_point(serialize_to_array_start:solidity.yul.test.yul_fuzzer.TernaryOp) |
5896 | 0 | uint32_t cached_has_bits = 0; |
5897 | 0 | (void) cached_has_bits; |
5898 | |
|
5899 | 0 | cached_has_bits = _impl_._has_bits_[0]; |
5900 | | // required .solidity.yul.test.yul_fuzzer.TernaryOp.TOp op = 1; |
5901 | 0 | if (cached_has_bits & 0x00000008u) { |
5902 | 0 | target = stream->EnsureSpace(target); |
5903 | 0 | target = ::_pbi::WireFormatLite::WriteEnumToArray( |
5904 | 0 | 1, this->_internal_op(), target); |
5905 | 0 | } |
5906 | | |
5907 | | // required .solidity.yul.test.yul_fuzzer.Expression arg1 = 2; |
5908 | 0 | if (cached_has_bits & 0x00000001u) { |
5909 | 0 | target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: |
5910 | 0 | InternalWriteMessage(2, _Internal::arg1(this), |
5911 | 0 | _Internal::arg1(this).GetCachedSize(), target, stream); |
5912 | 0 | } |
5913 | | |
5914 | | // required .solidity.yul.test.yul_fuzzer.Expression arg2 = 3; |
5915 | 0 | if (cached_has_bits & 0x00000002u) { |
5916 | 0 | target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: |
5917 | 0 | InternalWriteMessage(3, _Internal::arg2(this), |
5918 | 0 | _Internal::arg2(this).GetCachedSize(), target, stream); |
5919 | 0 | } |
5920 | | |
5921 | | // required .solidity.yul.test.yul_fuzzer.Expression arg3 = 4; |
5922 | 0 | if (cached_has_bits & 0x00000004u) { |
5923 | 0 | target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: |
5924 | 0 | InternalWriteMessage(4, _Internal::arg3(this), |
5925 | 0 | _Internal::arg3(this).GetCachedSize(), target, stream); |
5926 | 0 | } |
5927 | |
|
5928 | 0 | if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { |
5929 | 0 | target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( |
5930 | 0 | _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); |
5931 | 0 | } |
5932 | | // @@protoc_insertion_point(serialize_to_array_end:solidity.yul.test.yul_fuzzer.TernaryOp) |
5933 | 0 | return target; |
5934 | 0 | } |
5935 | | |
5936 | 0 | size_t TernaryOp::RequiredFieldsByteSizeFallback() const { |
5937 | | // @@protoc_insertion_point(required_fields_byte_size_fallback_start:solidity.yul.test.yul_fuzzer.TernaryOp) |
5938 | 0 | size_t total_size = 0; |
5939 | |
|
5940 | 0 | if (_internal_has_arg1()) { |
5941 | | // required .solidity.yul.test.yul_fuzzer.Expression arg1 = 2; |
5942 | 0 | total_size += 1 + |
5943 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
5944 | 0 | *_impl_.arg1_); |
5945 | 0 | } |
5946 | |
|
5947 | 0 | if (_internal_has_arg2()) { |
5948 | | // required .solidity.yul.test.yul_fuzzer.Expression arg2 = 3; |
5949 | 0 | total_size += 1 + |
5950 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
5951 | 0 | *_impl_.arg2_); |
5952 | 0 | } |
5953 | |
|
5954 | 0 | if (_internal_has_arg3()) { |
5955 | | // required .solidity.yul.test.yul_fuzzer.Expression arg3 = 4; |
5956 | 0 | total_size += 1 + |
5957 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
5958 | 0 | *_impl_.arg3_); |
5959 | 0 | } |
5960 | |
|
5961 | 0 | if (_internal_has_op()) { |
5962 | | // required .solidity.yul.test.yul_fuzzer.TernaryOp.TOp op = 1; |
5963 | 0 | total_size += 1 + |
5964 | 0 | ::_pbi::WireFormatLite::EnumSize(this->_internal_op()); |
5965 | 0 | } |
5966 | |
|
5967 | 0 | return total_size; |
5968 | 0 | } |
5969 | 29.8k | size_t TernaryOp::ByteSizeLong() const { |
5970 | | // @@protoc_insertion_point(message_byte_size_start:solidity.yul.test.yul_fuzzer.TernaryOp) |
5971 | 29.8k | size_t total_size = 0; |
5972 | | |
5973 | 29.8k | if (((_impl_._has_bits_[0] & 0x0000000f) ^ 0x0000000f) == 0) { // All required fields are present. |
5974 | | // required .solidity.yul.test.yul_fuzzer.Expression arg1 = 2; |
5975 | 29.8k | total_size += 1 + |
5976 | 29.8k | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
5977 | 29.8k | *_impl_.arg1_); |
5978 | | |
5979 | | // required .solidity.yul.test.yul_fuzzer.Expression arg2 = 3; |
5980 | 29.8k | total_size += 1 + |
5981 | 29.8k | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
5982 | 29.8k | *_impl_.arg2_); |
5983 | | |
5984 | | // required .solidity.yul.test.yul_fuzzer.Expression arg3 = 4; |
5985 | 29.8k | total_size += 1 + |
5986 | 29.8k | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
5987 | 29.8k | *_impl_.arg3_); |
5988 | | |
5989 | | // required .solidity.yul.test.yul_fuzzer.TernaryOp.TOp op = 1; |
5990 | 29.8k | total_size += 1 + |
5991 | 29.8k | ::_pbi::WireFormatLite::EnumSize(this->_internal_op()); |
5992 | | |
5993 | 29.8k | } else { |
5994 | 0 | total_size += RequiredFieldsByteSizeFallback(); |
5995 | 0 | } |
5996 | 29.8k | uint32_t cached_has_bits = 0; |
5997 | | // Prevent compiler warnings about cached_has_bits being unused |
5998 | 29.8k | (void) cached_has_bits; |
5999 | | |
6000 | 29.8k | return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); |
6001 | 29.8k | } |
6002 | | |
6003 | | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData TernaryOp::_class_data_ = { |
6004 | | ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, |
6005 | | TernaryOp::MergeImpl |
6006 | | }; |
6007 | 0 | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*TernaryOp::GetClassData() const { return &_class_data_; } |
6008 | | |
6009 | | |
6010 | 0 | void TernaryOp::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { |
6011 | 0 | auto* const _this = static_cast<TernaryOp*>(&to_msg); |
6012 | 0 | auto& from = static_cast<const TernaryOp&>(from_msg); |
6013 | | // @@protoc_insertion_point(class_specific_merge_from_start:solidity.yul.test.yul_fuzzer.TernaryOp) |
6014 | 0 | GOOGLE_DCHECK_NE(&from, _this); |
6015 | 0 | uint32_t cached_has_bits = 0; |
6016 | 0 | (void) cached_has_bits; |
6017 | |
|
6018 | 0 | cached_has_bits = from._impl_._has_bits_[0]; |
6019 | 0 | if (cached_has_bits & 0x0000000fu) { |
6020 | 0 | if (cached_has_bits & 0x00000001u) { |
6021 | 0 | _this->_internal_mutable_arg1()->::solidity::yul::test::yul_fuzzer::Expression::MergeFrom( |
6022 | 0 | from._internal_arg1()); |
6023 | 0 | } |
6024 | 0 | if (cached_has_bits & 0x00000002u) { |
6025 | 0 | _this->_internal_mutable_arg2()->::solidity::yul::test::yul_fuzzer::Expression::MergeFrom( |
6026 | 0 | from._internal_arg2()); |
6027 | 0 | } |
6028 | 0 | if (cached_has_bits & 0x00000004u) { |
6029 | 0 | _this->_internal_mutable_arg3()->::solidity::yul::test::yul_fuzzer::Expression::MergeFrom( |
6030 | 0 | from._internal_arg3()); |
6031 | 0 | } |
6032 | 0 | if (cached_has_bits & 0x00000008u) { |
6033 | 0 | _this->_impl_.op_ = from._impl_.op_; |
6034 | 0 | } |
6035 | 0 | _this->_impl_._has_bits_[0] |= cached_has_bits; |
6036 | 0 | } |
6037 | 0 | _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); |
6038 | 0 | } |
6039 | | |
6040 | 0 | void TernaryOp::CopyFrom(const TernaryOp& from) { |
6041 | | // @@protoc_insertion_point(class_specific_copy_from_start:solidity.yul.test.yul_fuzzer.TernaryOp) |
6042 | 0 | if (&from == this) return; |
6043 | 0 | Clear(); |
6044 | 0 | MergeFrom(from); |
6045 | 0 | } |
6046 | | |
6047 | 0 | bool TernaryOp::IsInitialized() const { |
6048 | 0 | if (_Internal::MissingRequiredFields(_impl_._has_bits_)) return false; |
6049 | 0 | if (_internal_has_arg1()) { |
6050 | 0 | if (!_impl_.arg1_->IsInitialized()) return false; |
6051 | 0 | } |
6052 | 0 | if (_internal_has_arg2()) { |
6053 | 0 | if (!_impl_.arg2_->IsInitialized()) return false; |
6054 | 0 | } |
6055 | 0 | if (_internal_has_arg3()) { |
6056 | 0 | if (!_impl_.arg3_->IsInitialized()) return false; |
6057 | 0 | } |
6058 | 0 | return true; |
6059 | 0 | } |
6060 | | |
6061 | 0 | void TernaryOp::InternalSwap(TernaryOp* other) { |
6062 | 0 | using std::swap; |
6063 | 0 | _internal_metadata_.InternalSwap(&other->_internal_metadata_); |
6064 | 0 | swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); |
6065 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::memswap< |
6066 | 0 | PROTOBUF_FIELD_OFFSET(TernaryOp, _impl_.op_) |
6067 | 0 | + sizeof(TernaryOp::_impl_.op_) |
6068 | 0 | - PROTOBUF_FIELD_OFFSET(TernaryOp, _impl_.arg1_)>( |
6069 | 0 | reinterpret_cast<char*>(&_impl_.arg1_), |
6070 | 0 | reinterpret_cast<char*>(&other->_impl_.arg1_)); |
6071 | 0 | } |
6072 | | |
6073 | 629k | ::PROTOBUF_NAMESPACE_ID::Metadata TernaryOp::GetMetadata() const { |
6074 | 629k | return ::_pbi::AssignDescriptors( |
6075 | 629k | &descriptor_table_yulProto_2eproto_getter, &descriptor_table_yulProto_2eproto_once, |
6076 | 629k | file_level_metadata_yulProto_2eproto[12]); |
6077 | 629k | } |
6078 | | |
6079 | | // =================================================================== |
6080 | | |
6081 | | class CopyFunc::_Internal { |
6082 | | public: |
6083 | | using HasBits = decltype(std::declval<CopyFunc>()._impl_._has_bits_); |
6084 | 0 | static void set_has_ct(HasBits* has_bits) { |
6085 | 0 | (*has_bits)[0] |= 8u; |
6086 | 0 | } |
6087 | | static const ::solidity::yul::test::yul_fuzzer::Expression& target(const CopyFunc* msg); |
6088 | 0 | static void set_has_target(HasBits* has_bits) { |
6089 | 0 | (*has_bits)[0] |= 1u; |
6090 | 0 | } |
6091 | | static const ::solidity::yul::test::yul_fuzzer::Expression& source(const CopyFunc* msg); |
6092 | 0 | static void set_has_source(HasBits* has_bits) { |
6093 | 0 | (*has_bits)[0] |= 2u; |
6094 | 0 | } |
6095 | | static const ::solidity::yul::test::yul_fuzzer::Expression& size(const CopyFunc* msg); |
6096 | 0 | static void set_has_size(HasBits* has_bits) { |
6097 | 0 | (*has_bits)[0] |= 4u; |
6098 | 0 | } |
6099 | 0 | static bool MissingRequiredFields(const HasBits& has_bits) { |
6100 | 0 | return ((has_bits[0] & 0x0000000f) ^ 0x0000000f) != 0; |
6101 | 0 | } |
6102 | | }; |
6103 | | |
6104 | | const ::solidity::yul::test::yul_fuzzer::Expression& |
6105 | 0 | CopyFunc::_Internal::target(const CopyFunc* msg) { |
6106 | 0 | return *msg->_impl_.target_; |
6107 | 0 | } |
6108 | | const ::solidity::yul::test::yul_fuzzer::Expression& |
6109 | 0 | CopyFunc::_Internal::source(const CopyFunc* msg) { |
6110 | 0 | return *msg->_impl_.source_; |
6111 | 0 | } |
6112 | | const ::solidity::yul::test::yul_fuzzer::Expression& |
6113 | 0 | CopyFunc::_Internal::size(const CopyFunc* msg) { |
6114 | 0 | return *msg->_impl_.size_; |
6115 | 0 | } |
6116 | | CopyFunc::CopyFunc(::PROTOBUF_NAMESPACE_ID::Arena* arena, |
6117 | | bool is_message_owned) |
6118 | 16.0k | : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { |
6119 | 16.0k | SharedCtor(arena, is_message_owned); |
6120 | | // @@protoc_insertion_point(arena_constructor:solidity.yul.test.yul_fuzzer.CopyFunc) |
6121 | 16.0k | } |
6122 | | CopyFunc::CopyFunc(const CopyFunc& from) |
6123 | 0 | : ::PROTOBUF_NAMESPACE_ID::Message() { |
6124 | 0 | CopyFunc* const _this = this; (void)_this; |
6125 | 0 | new (&_impl_) Impl_{ |
6126 | 0 | decltype(_impl_._has_bits_){from._impl_._has_bits_} |
6127 | 0 | , /*decltype(_impl_._cached_size_)*/{} |
6128 | 0 | , decltype(_impl_.target_){nullptr} |
6129 | 0 | , decltype(_impl_.source_){nullptr} |
6130 | 0 | , decltype(_impl_.size_){nullptr} |
6131 | 0 | , decltype(_impl_.ct_){}}; |
6132 | |
|
6133 | 0 | _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); |
6134 | 0 | if (from._internal_has_target()) { |
6135 | 0 | _this->_impl_.target_ = new ::solidity::yul::test::yul_fuzzer::Expression(*from._impl_.target_); |
6136 | 0 | } |
6137 | 0 | if (from._internal_has_source()) { |
6138 | 0 | _this->_impl_.source_ = new ::solidity::yul::test::yul_fuzzer::Expression(*from._impl_.source_); |
6139 | 0 | } |
6140 | 0 | if (from._internal_has_size()) { |
6141 | 0 | _this->_impl_.size_ = new ::solidity::yul::test::yul_fuzzer::Expression(*from._impl_.size_); |
6142 | 0 | } |
6143 | 0 | _this->_impl_.ct_ = from._impl_.ct_; |
6144 | | // @@protoc_insertion_point(copy_constructor:solidity.yul.test.yul_fuzzer.CopyFunc) |
6145 | 0 | } |
6146 | | |
6147 | | inline void CopyFunc::SharedCtor( |
6148 | 16.0k | ::_pb::Arena* arena, bool is_message_owned) { |
6149 | 16.0k | (void)arena; |
6150 | 16.0k | (void)is_message_owned; |
6151 | 16.0k | new (&_impl_) Impl_{ |
6152 | 16.0k | decltype(_impl_._has_bits_){} |
6153 | 16.0k | , /*decltype(_impl_._cached_size_)*/{} |
6154 | 16.0k | , decltype(_impl_.target_){nullptr} |
6155 | 16.0k | , decltype(_impl_.source_){nullptr} |
6156 | 16.0k | , decltype(_impl_.size_){nullptr} |
6157 | 16.0k | , decltype(_impl_.ct_){0} |
6158 | 16.0k | }; |
6159 | 16.0k | } |
6160 | | |
6161 | 16.0k | CopyFunc::~CopyFunc() { |
6162 | | // @@protoc_insertion_point(destructor:solidity.yul.test.yul_fuzzer.CopyFunc) |
6163 | 16.0k | if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { |
6164 | 0 | (void)arena; |
6165 | 0 | return; |
6166 | 0 | } |
6167 | 16.0k | SharedDtor(); |
6168 | 16.0k | } |
6169 | | |
6170 | 16.0k | inline void CopyFunc::SharedDtor() { |
6171 | 16.0k | GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); |
6172 | 16.0k | if (this != internal_default_instance()) delete _impl_.target_; |
6173 | 16.0k | if (this != internal_default_instance()) delete _impl_.source_; |
6174 | 16.0k | if (this != internal_default_instance()) delete _impl_.size_; |
6175 | 16.0k | } |
6176 | | |
6177 | 0 | void CopyFunc::SetCachedSize(int size) const { |
6178 | 0 | _impl_._cached_size_.Set(size); |
6179 | 0 | } |
6180 | | |
6181 | 0 | void CopyFunc::Clear() { |
6182 | | // @@protoc_insertion_point(message_clear_start:solidity.yul.test.yul_fuzzer.CopyFunc) |
6183 | 0 | uint32_t cached_has_bits = 0; |
6184 | | // Prevent compiler warnings about cached_has_bits being unused |
6185 | 0 | (void) cached_has_bits; |
6186 | |
|
6187 | 0 | cached_has_bits = _impl_._has_bits_[0]; |
6188 | 0 | if (cached_has_bits & 0x00000007u) { |
6189 | 0 | if (cached_has_bits & 0x00000001u) { |
6190 | 0 | GOOGLE_DCHECK(_impl_.target_ != nullptr); |
6191 | 0 | _impl_.target_->Clear(); |
6192 | 0 | } |
6193 | 0 | if (cached_has_bits & 0x00000002u) { |
6194 | 0 | GOOGLE_DCHECK(_impl_.source_ != nullptr); |
6195 | 0 | _impl_.source_->Clear(); |
6196 | 0 | } |
6197 | 0 | if (cached_has_bits & 0x00000004u) { |
6198 | 0 | GOOGLE_DCHECK(_impl_.size_ != nullptr); |
6199 | 0 | _impl_.size_->Clear(); |
6200 | 0 | } |
6201 | 0 | } |
6202 | 0 | _impl_.ct_ = 0; |
6203 | 0 | _impl_._has_bits_.Clear(); |
6204 | 0 | _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); |
6205 | 0 | } |
6206 | | |
6207 | 0 | const char* CopyFunc::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { |
6208 | 0 | #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure |
6209 | 0 | _Internal::HasBits has_bits{}; |
6210 | 0 | while (!ctx->Done(&ptr)) { |
6211 | 0 | uint32_t tag; |
6212 | 0 | ptr = ::_pbi::ReadTag(ptr, &tag); |
6213 | 0 | switch (tag >> 3) { |
6214 | | // required .solidity.yul.test.yul_fuzzer.CopyFunc.CopyType ct = 1; |
6215 | 0 | case 1: |
6216 | 0 | if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 8)) { |
6217 | 0 | uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); |
6218 | 0 | CHK_(ptr); |
6219 | 0 | if (PROTOBUF_PREDICT_TRUE(::solidity::yul::test::yul_fuzzer::CopyFunc_CopyType_IsValid(val))) { |
6220 | 0 | _internal_set_ct(static_cast<::solidity::yul::test::yul_fuzzer::CopyFunc_CopyType>(val)); |
6221 | 0 | } else { |
6222 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::WriteVarint(1, val, mutable_unknown_fields()); |
6223 | 0 | } |
6224 | 0 | } else |
6225 | 0 | goto handle_unusual; |
6226 | 0 | continue; |
6227 | | // required .solidity.yul.test.yul_fuzzer.Expression target = 2; |
6228 | 0 | case 2: |
6229 | 0 | if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 18)) { |
6230 | 0 | ptr = ctx->ParseMessage(_internal_mutable_target(), ptr); |
6231 | 0 | CHK_(ptr); |
6232 | 0 | } else |
6233 | 0 | goto handle_unusual; |
6234 | 0 | continue; |
6235 | | // required .solidity.yul.test.yul_fuzzer.Expression source = 3; |
6236 | 0 | case 3: |
6237 | 0 | if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 26)) { |
6238 | 0 | ptr = ctx->ParseMessage(_internal_mutable_source(), ptr); |
6239 | 0 | CHK_(ptr); |
6240 | 0 | } else |
6241 | 0 | goto handle_unusual; |
6242 | 0 | continue; |
6243 | | // required .solidity.yul.test.yul_fuzzer.Expression size = 4; |
6244 | 0 | case 4: |
6245 | 0 | if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 34)) { |
6246 | 0 | ptr = ctx->ParseMessage(_internal_mutable_size(), ptr); |
6247 | 0 | CHK_(ptr); |
6248 | 0 | } else |
6249 | 0 | goto handle_unusual; |
6250 | 0 | continue; |
6251 | 0 | default: |
6252 | 0 | goto handle_unusual; |
6253 | 0 | } // switch |
6254 | 0 | handle_unusual: |
6255 | 0 | if ((tag == 0) || ((tag & 7) == 4)) { |
6256 | 0 | CHK_(ptr); |
6257 | 0 | ctx->SetLastTag(tag); |
6258 | 0 | goto message_done; |
6259 | 0 | } |
6260 | 0 | ptr = UnknownFieldParse( |
6261 | 0 | tag, |
6262 | 0 | _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), |
6263 | 0 | ptr, ctx); |
6264 | 0 | CHK_(ptr != nullptr); |
6265 | 0 | } // while |
6266 | 0 | message_done: |
6267 | 0 | _impl_._has_bits_.Or(has_bits); |
6268 | 0 | return ptr; |
6269 | 0 | failure: |
6270 | 0 | ptr = nullptr; |
6271 | 0 | goto message_done; |
6272 | 0 | #undef CHK_ |
6273 | 0 | } |
6274 | | |
6275 | | uint8_t* CopyFunc::_InternalSerialize( |
6276 | 0 | uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { |
6277 | | // @@protoc_insertion_point(serialize_to_array_start:solidity.yul.test.yul_fuzzer.CopyFunc) |
6278 | 0 | uint32_t cached_has_bits = 0; |
6279 | 0 | (void) cached_has_bits; |
6280 | |
|
6281 | 0 | cached_has_bits = _impl_._has_bits_[0]; |
6282 | | // required .solidity.yul.test.yul_fuzzer.CopyFunc.CopyType ct = 1; |
6283 | 0 | if (cached_has_bits & 0x00000008u) { |
6284 | 0 | target = stream->EnsureSpace(target); |
6285 | 0 | target = ::_pbi::WireFormatLite::WriteEnumToArray( |
6286 | 0 | 1, this->_internal_ct(), target); |
6287 | 0 | } |
6288 | | |
6289 | | // required .solidity.yul.test.yul_fuzzer.Expression target = 2; |
6290 | 0 | if (cached_has_bits & 0x00000001u) { |
6291 | 0 | target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: |
6292 | 0 | InternalWriteMessage(2, _Internal::target(this), |
6293 | 0 | _Internal::target(this).GetCachedSize(), target, stream); |
6294 | 0 | } |
6295 | | |
6296 | | // required .solidity.yul.test.yul_fuzzer.Expression source = 3; |
6297 | 0 | if (cached_has_bits & 0x00000002u) { |
6298 | 0 | target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: |
6299 | 0 | InternalWriteMessage(3, _Internal::source(this), |
6300 | 0 | _Internal::source(this).GetCachedSize(), target, stream); |
6301 | 0 | } |
6302 | | |
6303 | | // required .solidity.yul.test.yul_fuzzer.Expression size = 4; |
6304 | 0 | if (cached_has_bits & 0x00000004u) { |
6305 | 0 | target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: |
6306 | 0 | InternalWriteMessage(4, _Internal::size(this), |
6307 | 0 | _Internal::size(this).GetCachedSize(), target, stream); |
6308 | 0 | } |
6309 | |
|
6310 | 0 | if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { |
6311 | 0 | target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( |
6312 | 0 | _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); |
6313 | 0 | } |
6314 | | // @@protoc_insertion_point(serialize_to_array_end:solidity.yul.test.yul_fuzzer.CopyFunc) |
6315 | 0 | return target; |
6316 | 0 | } |
6317 | | |
6318 | 0 | size_t CopyFunc::RequiredFieldsByteSizeFallback() const { |
6319 | | // @@protoc_insertion_point(required_fields_byte_size_fallback_start:solidity.yul.test.yul_fuzzer.CopyFunc) |
6320 | 0 | size_t total_size = 0; |
6321 | |
|
6322 | 0 | if (_internal_has_target()) { |
6323 | | // required .solidity.yul.test.yul_fuzzer.Expression target = 2; |
6324 | 0 | total_size += 1 + |
6325 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
6326 | 0 | *_impl_.target_); |
6327 | 0 | } |
6328 | |
|
6329 | 0 | if (_internal_has_source()) { |
6330 | | // required .solidity.yul.test.yul_fuzzer.Expression source = 3; |
6331 | 0 | total_size += 1 + |
6332 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
6333 | 0 | *_impl_.source_); |
6334 | 0 | } |
6335 | |
|
6336 | 0 | if (_internal_has_size()) { |
6337 | | // required .solidity.yul.test.yul_fuzzer.Expression size = 4; |
6338 | 0 | total_size += 1 + |
6339 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
6340 | 0 | *_impl_.size_); |
6341 | 0 | } |
6342 | |
|
6343 | 0 | if (_internal_has_ct()) { |
6344 | | // required .solidity.yul.test.yul_fuzzer.CopyFunc.CopyType ct = 1; |
6345 | 0 | total_size += 1 + |
6346 | 0 | ::_pbi::WireFormatLite::EnumSize(this->_internal_ct()); |
6347 | 0 | } |
6348 | |
|
6349 | 0 | return total_size; |
6350 | 0 | } |
6351 | 10.5k | size_t CopyFunc::ByteSizeLong() const { |
6352 | | // @@protoc_insertion_point(message_byte_size_start:solidity.yul.test.yul_fuzzer.CopyFunc) |
6353 | 10.5k | size_t total_size = 0; |
6354 | | |
6355 | 10.5k | if (((_impl_._has_bits_[0] & 0x0000000f) ^ 0x0000000f) == 0) { // All required fields are present. |
6356 | | // required .solidity.yul.test.yul_fuzzer.Expression target = 2; |
6357 | 10.5k | total_size += 1 + |
6358 | 10.5k | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
6359 | 10.5k | *_impl_.target_); |
6360 | | |
6361 | | // required .solidity.yul.test.yul_fuzzer.Expression source = 3; |
6362 | 10.5k | total_size += 1 + |
6363 | 10.5k | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
6364 | 10.5k | *_impl_.source_); |
6365 | | |
6366 | | // required .solidity.yul.test.yul_fuzzer.Expression size = 4; |
6367 | 10.5k | total_size += 1 + |
6368 | 10.5k | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
6369 | 10.5k | *_impl_.size_); |
6370 | | |
6371 | | // required .solidity.yul.test.yul_fuzzer.CopyFunc.CopyType ct = 1; |
6372 | 10.5k | total_size += 1 + |
6373 | 10.5k | ::_pbi::WireFormatLite::EnumSize(this->_internal_ct()); |
6374 | | |
6375 | 10.5k | } else { |
6376 | 0 | total_size += RequiredFieldsByteSizeFallback(); |
6377 | 0 | } |
6378 | 10.5k | uint32_t cached_has_bits = 0; |
6379 | | // Prevent compiler warnings about cached_has_bits being unused |
6380 | 10.5k | (void) cached_has_bits; |
6381 | | |
6382 | 10.5k | return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); |
6383 | 10.5k | } |
6384 | | |
6385 | | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CopyFunc::_class_data_ = { |
6386 | | ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, |
6387 | | CopyFunc::MergeImpl |
6388 | | }; |
6389 | 0 | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CopyFunc::GetClassData() const { return &_class_data_; } |
6390 | | |
6391 | | |
6392 | 0 | void CopyFunc::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { |
6393 | 0 | auto* const _this = static_cast<CopyFunc*>(&to_msg); |
6394 | 0 | auto& from = static_cast<const CopyFunc&>(from_msg); |
6395 | | // @@protoc_insertion_point(class_specific_merge_from_start:solidity.yul.test.yul_fuzzer.CopyFunc) |
6396 | 0 | GOOGLE_DCHECK_NE(&from, _this); |
6397 | 0 | uint32_t cached_has_bits = 0; |
6398 | 0 | (void) cached_has_bits; |
6399 | |
|
6400 | 0 | cached_has_bits = from._impl_._has_bits_[0]; |
6401 | 0 | if (cached_has_bits & 0x0000000fu) { |
6402 | 0 | if (cached_has_bits & 0x00000001u) { |
6403 | 0 | _this->_internal_mutable_target()->::solidity::yul::test::yul_fuzzer::Expression::MergeFrom( |
6404 | 0 | from._internal_target()); |
6405 | 0 | } |
6406 | 0 | if (cached_has_bits & 0x00000002u) { |
6407 | 0 | _this->_internal_mutable_source()->::solidity::yul::test::yul_fuzzer::Expression::MergeFrom( |
6408 | 0 | from._internal_source()); |
6409 | 0 | } |
6410 | 0 | if (cached_has_bits & 0x00000004u) { |
6411 | 0 | _this->_internal_mutable_size()->::solidity::yul::test::yul_fuzzer::Expression::MergeFrom( |
6412 | 0 | from._internal_size()); |
6413 | 0 | } |
6414 | 0 | if (cached_has_bits & 0x00000008u) { |
6415 | 0 | _this->_impl_.ct_ = from._impl_.ct_; |
6416 | 0 | } |
6417 | 0 | _this->_impl_._has_bits_[0] |= cached_has_bits; |
6418 | 0 | } |
6419 | 0 | _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); |
6420 | 0 | } |
6421 | | |
6422 | 0 | void CopyFunc::CopyFrom(const CopyFunc& from) { |
6423 | | // @@protoc_insertion_point(class_specific_copy_from_start:solidity.yul.test.yul_fuzzer.CopyFunc) |
6424 | 0 | if (&from == this) return; |
6425 | 0 | Clear(); |
6426 | 0 | MergeFrom(from); |
6427 | 0 | } |
6428 | | |
6429 | 0 | bool CopyFunc::IsInitialized() const { |
6430 | 0 | if (_Internal::MissingRequiredFields(_impl_._has_bits_)) return false; |
6431 | 0 | if (_internal_has_target()) { |
6432 | 0 | if (!_impl_.target_->IsInitialized()) return false; |
6433 | 0 | } |
6434 | 0 | if (_internal_has_source()) { |
6435 | 0 | if (!_impl_.source_->IsInitialized()) return false; |
6436 | 0 | } |
6437 | 0 | if (_internal_has_size()) { |
6438 | 0 | if (!_impl_.size_->IsInitialized()) return false; |
6439 | 0 | } |
6440 | 0 | return true; |
6441 | 0 | } |
6442 | | |
6443 | 0 | void CopyFunc::InternalSwap(CopyFunc* other) { |
6444 | 0 | using std::swap; |
6445 | 0 | _internal_metadata_.InternalSwap(&other->_internal_metadata_); |
6446 | 0 | swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); |
6447 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::memswap< |
6448 | 0 | PROTOBUF_FIELD_OFFSET(CopyFunc, _impl_.ct_) |
6449 | 0 | + sizeof(CopyFunc::_impl_.ct_) |
6450 | 0 | - PROTOBUF_FIELD_OFFSET(CopyFunc, _impl_.target_)>( |
6451 | 0 | reinterpret_cast<char*>(&_impl_.target_), |
6452 | 0 | reinterpret_cast<char*>(&other->_impl_.target_)); |
6453 | 0 | } |
6454 | | |
6455 | 277k | ::PROTOBUF_NAMESPACE_ID::Metadata CopyFunc::GetMetadata() const { |
6456 | 277k | return ::_pbi::AssignDescriptors( |
6457 | 277k | &descriptor_table_yulProto_2eproto_getter, &descriptor_table_yulProto_2eproto_once, |
6458 | 277k | file_level_metadata_yulProto_2eproto[13]); |
6459 | 277k | } |
6460 | | |
6461 | | // =================================================================== |
6462 | | |
6463 | | class ExtCodeCopy::_Internal { |
6464 | | public: |
6465 | | using HasBits = decltype(std::declval<ExtCodeCopy>()._impl_._has_bits_); |
6466 | | static const ::solidity::yul::test::yul_fuzzer::Expression& addr(const ExtCodeCopy* msg); |
6467 | 0 | static void set_has_addr(HasBits* has_bits) { |
6468 | 0 | (*has_bits)[0] |= 1u; |
6469 | 0 | } |
6470 | | static const ::solidity::yul::test::yul_fuzzer::Expression& target(const ExtCodeCopy* msg); |
6471 | 0 | static void set_has_target(HasBits* has_bits) { |
6472 | 0 | (*has_bits)[0] |= 2u; |
6473 | 0 | } |
6474 | | static const ::solidity::yul::test::yul_fuzzer::Expression& source(const ExtCodeCopy* msg); |
6475 | 0 | static void set_has_source(HasBits* has_bits) { |
6476 | 0 | (*has_bits)[0] |= 4u; |
6477 | 0 | } |
6478 | | static const ::solidity::yul::test::yul_fuzzer::Expression& size(const ExtCodeCopy* msg); |
6479 | 0 | static void set_has_size(HasBits* has_bits) { |
6480 | 0 | (*has_bits)[0] |= 8u; |
6481 | 0 | } |
6482 | 0 | static bool MissingRequiredFields(const HasBits& has_bits) { |
6483 | 0 | return ((has_bits[0] & 0x0000000f) ^ 0x0000000f) != 0; |
6484 | 0 | } |
6485 | | }; |
6486 | | |
6487 | | const ::solidity::yul::test::yul_fuzzer::Expression& |
6488 | 0 | ExtCodeCopy::_Internal::addr(const ExtCodeCopy* msg) { |
6489 | 0 | return *msg->_impl_.addr_; |
6490 | 0 | } |
6491 | | const ::solidity::yul::test::yul_fuzzer::Expression& |
6492 | 0 | ExtCodeCopy::_Internal::target(const ExtCodeCopy* msg) { |
6493 | 0 | return *msg->_impl_.target_; |
6494 | 0 | } |
6495 | | const ::solidity::yul::test::yul_fuzzer::Expression& |
6496 | 0 | ExtCodeCopy::_Internal::source(const ExtCodeCopy* msg) { |
6497 | 0 | return *msg->_impl_.source_; |
6498 | 0 | } |
6499 | | const ::solidity::yul::test::yul_fuzzer::Expression& |
6500 | 0 | ExtCodeCopy::_Internal::size(const ExtCodeCopy* msg) { |
6501 | 0 | return *msg->_impl_.size_; |
6502 | 0 | } |
6503 | | ExtCodeCopy::ExtCodeCopy(::PROTOBUF_NAMESPACE_ID::Arena* arena, |
6504 | | bool is_message_owned) |
6505 | 18.8k | : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { |
6506 | 18.8k | SharedCtor(arena, is_message_owned); |
6507 | | // @@protoc_insertion_point(arena_constructor:solidity.yul.test.yul_fuzzer.ExtCodeCopy) |
6508 | 18.8k | } |
6509 | | ExtCodeCopy::ExtCodeCopy(const ExtCodeCopy& from) |
6510 | 0 | : ::PROTOBUF_NAMESPACE_ID::Message() { |
6511 | 0 | ExtCodeCopy* const _this = this; (void)_this; |
6512 | 0 | new (&_impl_) Impl_{ |
6513 | 0 | decltype(_impl_._has_bits_){from._impl_._has_bits_} |
6514 | 0 | , /*decltype(_impl_._cached_size_)*/{} |
6515 | 0 | , decltype(_impl_.addr_){nullptr} |
6516 | 0 | , decltype(_impl_.target_){nullptr} |
6517 | 0 | , decltype(_impl_.source_){nullptr} |
6518 | 0 | , decltype(_impl_.size_){nullptr}}; |
6519 | |
|
6520 | 0 | _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); |
6521 | 0 | if (from._internal_has_addr()) { |
6522 | 0 | _this->_impl_.addr_ = new ::solidity::yul::test::yul_fuzzer::Expression(*from._impl_.addr_); |
6523 | 0 | } |
6524 | 0 | if (from._internal_has_target()) { |
6525 | 0 | _this->_impl_.target_ = new ::solidity::yul::test::yul_fuzzer::Expression(*from._impl_.target_); |
6526 | 0 | } |
6527 | 0 | if (from._internal_has_source()) { |
6528 | 0 | _this->_impl_.source_ = new ::solidity::yul::test::yul_fuzzer::Expression(*from._impl_.source_); |
6529 | 0 | } |
6530 | 0 | if (from._internal_has_size()) { |
6531 | 0 | _this->_impl_.size_ = new ::solidity::yul::test::yul_fuzzer::Expression(*from._impl_.size_); |
6532 | 0 | } |
6533 | | // @@protoc_insertion_point(copy_constructor:solidity.yul.test.yul_fuzzer.ExtCodeCopy) |
6534 | 0 | } |
6535 | | |
6536 | | inline void ExtCodeCopy::SharedCtor( |
6537 | 18.8k | ::_pb::Arena* arena, bool is_message_owned) { |
6538 | 18.8k | (void)arena; |
6539 | 18.8k | (void)is_message_owned; |
6540 | 18.8k | new (&_impl_) Impl_{ |
6541 | 18.8k | decltype(_impl_._has_bits_){} |
6542 | 18.8k | , /*decltype(_impl_._cached_size_)*/{} |
6543 | 18.8k | , decltype(_impl_.addr_){nullptr} |
6544 | 18.8k | , decltype(_impl_.target_){nullptr} |
6545 | 18.8k | , decltype(_impl_.source_){nullptr} |
6546 | 18.8k | , decltype(_impl_.size_){nullptr} |
6547 | 18.8k | }; |
6548 | 18.8k | } |
6549 | | |
6550 | 18.8k | ExtCodeCopy::~ExtCodeCopy() { |
6551 | | // @@protoc_insertion_point(destructor:solidity.yul.test.yul_fuzzer.ExtCodeCopy) |
6552 | 18.8k | if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { |
6553 | 0 | (void)arena; |
6554 | 0 | return; |
6555 | 0 | } |
6556 | 18.8k | SharedDtor(); |
6557 | 18.8k | } |
6558 | | |
6559 | 18.8k | inline void ExtCodeCopy::SharedDtor() { |
6560 | 18.8k | GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); |
6561 | 18.8k | if (this != internal_default_instance()) delete _impl_.addr_; |
6562 | 18.8k | if (this != internal_default_instance()) delete _impl_.target_; |
6563 | 18.8k | if (this != internal_default_instance()) delete _impl_.source_; |
6564 | 18.8k | if (this != internal_default_instance()) delete _impl_.size_; |
6565 | 18.8k | } |
6566 | | |
6567 | 0 | void ExtCodeCopy::SetCachedSize(int size) const { |
6568 | 0 | _impl_._cached_size_.Set(size); |
6569 | 0 | } |
6570 | | |
6571 | 0 | void ExtCodeCopy::Clear() { |
6572 | | // @@protoc_insertion_point(message_clear_start:solidity.yul.test.yul_fuzzer.ExtCodeCopy) |
6573 | 0 | uint32_t cached_has_bits = 0; |
6574 | | // Prevent compiler warnings about cached_has_bits being unused |
6575 | 0 | (void) cached_has_bits; |
6576 | |
|
6577 | 0 | cached_has_bits = _impl_._has_bits_[0]; |
6578 | 0 | if (cached_has_bits & 0x0000000fu) { |
6579 | 0 | if (cached_has_bits & 0x00000001u) { |
6580 | 0 | GOOGLE_DCHECK(_impl_.addr_ != nullptr); |
6581 | 0 | _impl_.addr_->Clear(); |
6582 | 0 | } |
6583 | 0 | if (cached_has_bits & 0x00000002u) { |
6584 | 0 | GOOGLE_DCHECK(_impl_.target_ != nullptr); |
6585 | 0 | _impl_.target_->Clear(); |
6586 | 0 | } |
6587 | 0 | if (cached_has_bits & 0x00000004u) { |
6588 | 0 | GOOGLE_DCHECK(_impl_.source_ != nullptr); |
6589 | 0 | _impl_.source_->Clear(); |
6590 | 0 | } |
6591 | 0 | if (cached_has_bits & 0x00000008u) { |
6592 | 0 | GOOGLE_DCHECK(_impl_.size_ != nullptr); |
6593 | 0 | _impl_.size_->Clear(); |
6594 | 0 | } |
6595 | 0 | } |
6596 | 0 | _impl_._has_bits_.Clear(); |
6597 | 0 | _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); |
6598 | 0 | } |
6599 | | |
6600 | 0 | const char* ExtCodeCopy::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { |
6601 | 0 | #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure |
6602 | 0 | _Internal::HasBits has_bits{}; |
6603 | 0 | while (!ctx->Done(&ptr)) { |
6604 | 0 | uint32_t tag; |
6605 | 0 | ptr = ::_pbi::ReadTag(ptr, &tag); |
6606 | 0 | switch (tag >> 3) { |
6607 | | // required .solidity.yul.test.yul_fuzzer.Expression addr = 1; |
6608 | 0 | case 1: |
6609 | 0 | if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 10)) { |
6610 | 0 | ptr = ctx->ParseMessage(_internal_mutable_addr(), ptr); |
6611 | 0 | CHK_(ptr); |
6612 | 0 | } else |
6613 | 0 | goto handle_unusual; |
6614 | 0 | continue; |
6615 | | // required .solidity.yul.test.yul_fuzzer.Expression target = 2; |
6616 | 0 | case 2: |
6617 | 0 | if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 18)) { |
6618 | 0 | ptr = ctx->ParseMessage(_internal_mutable_target(), ptr); |
6619 | 0 | CHK_(ptr); |
6620 | 0 | } else |
6621 | 0 | goto handle_unusual; |
6622 | 0 | continue; |
6623 | | // required .solidity.yul.test.yul_fuzzer.Expression source = 3; |
6624 | 0 | case 3: |
6625 | 0 | if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 26)) { |
6626 | 0 | ptr = ctx->ParseMessage(_internal_mutable_source(), ptr); |
6627 | 0 | CHK_(ptr); |
6628 | 0 | } else |
6629 | 0 | goto handle_unusual; |
6630 | 0 | continue; |
6631 | | // required .solidity.yul.test.yul_fuzzer.Expression size = 4; |
6632 | 0 | case 4: |
6633 | 0 | if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 34)) { |
6634 | 0 | ptr = ctx->ParseMessage(_internal_mutable_size(), ptr); |
6635 | 0 | CHK_(ptr); |
6636 | 0 | } else |
6637 | 0 | goto handle_unusual; |
6638 | 0 | continue; |
6639 | 0 | default: |
6640 | 0 | goto handle_unusual; |
6641 | 0 | } // switch |
6642 | 0 | handle_unusual: |
6643 | 0 | if ((tag == 0) || ((tag & 7) == 4)) { |
6644 | 0 | CHK_(ptr); |
6645 | 0 | ctx->SetLastTag(tag); |
6646 | 0 | goto message_done; |
6647 | 0 | } |
6648 | 0 | ptr = UnknownFieldParse( |
6649 | 0 | tag, |
6650 | 0 | _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), |
6651 | 0 | ptr, ctx); |
6652 | 0 | CHK_(ptr != nullptr); |
6653 | 0 | } // while |
6654 | 0 | message_done: |
6655 | 0 | _impl_._has_bits_.Or(has_bits); |
6656 | 0 | return ptr; |
6657 | 0 | failure: |
6658 | 0 | ptr = nullptr; |
6659 | 0 | goto message_done; |
6660 | 0 | #undef CHK_ |
6661 | 0 | } |
6662 | | |
6663 | | uint8_t* ExtCodeCopy::_InternalSerialize( |
6664 | 0 | uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { |
6665 | | // @@protoc_insertion_point(serialize_to_array_start:solidity.yul.test.yul_fuzzer.ExtCodeCopy) |
6666 | 0 | uint32_t cached_has_bits = 0; |
6667 | 0 | (void) cached_has_bits; |
6668 | |
|
6669 | 0 | cached_has_bits = _impl_._has_bits_[0]; |
6670 | | // required .solidity.yul.test.yul_fuzzer.Expression addr = 1; |
6671 | 0 | if (cached_has_bits & 0x00000001u) { |
6672 | 0 | target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: |
6673 | 0 | InternalWriteMessage(1, _Internal::addr(this), |
6674 | 0 | _Internal::addr(this).GetCachedSize(), target, stream); |
6675 | 0 | } |
6676 | | |
6677 | | // required .solidity.yul.test.yul_fuzzer.Expression target = 2; |
6678 | 0 | if (cached_has_bits & 0x00000002u) { |
6679 | 0 | target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: |
6680 | 0 | InternalWriteMessage(2, _Internal::target(this), |
6681 | 0 | _Internal::target(this).GetCachedSize(), target, stream); |
6682 | 0 | } |
6683 | | |
6684 | | // required .solidity.yul.test.yul_fuzzer.Expression source = 3; |
6685 | 0 | if (cached_has_bits & 0x00000004u) { |
6686 | 0 | target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: |
6687 | 0 | InternalWriteMessage(3, _Internal::source(this), |
6688 | 0 | _Internal::source(this).GetCachedSize(), target, stream); |
6689 | 0 | } |
6690 | | |
6691 | | // required .solidity.yul.test.yul_fuzzer.Expression size = 4; |
6692 | 0 | if (cached_has_bits & 0x00000008u) { |
6693 | 0 | target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: |
6694 | 0 | InternalWriteMessage(4, _Internal::size(this), |
6695 | 0 | _Internal::size(this).GetCachedSize(), target, stream); |
6696 | 0 | } |
6697 | |
|
6698 | 0 | if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { |
6699 | 0 | target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( |
6700 | 0 | _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); |
6701 | 0 | } |
6702 | | // @@protoc_insertion_point(serialize_to_array_end:solidity.yul.test.yul_fuzzer.ExtCodeCopy) |
6703 | 0 | return target; |
6704 | 0 | } |
6705 | | |
6706 | 0 | size_t ExtCodeCopy::RequiredFieldsByteSizeFallback() const { |
6707 | | // @@protoc_insertion_point(required_fields_byte_size_fallback_start:solidity.yul.test.yul_fuzzer.ExtCodeCopy) |
6708 | 0 | size_t total_size = 0; |
6709 | |
|
6710 | 0 | if (_internal_has_addr()) { |
6711 | | // required .solidity.yul.test.yul_fuzzer.Expression addr = 1; |
6712 | 0 | total_size += 1 + |
6713 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
6714 | 0 | *_impl_.addr_); |
6715 | 0 | } |
6716 | |
|
6717 | 0 | if (_internal_has_target()) { |
6718 | | // required .solidity.yul.test.yul_fuzzer.Expression target = 2; |
6719 | 0 | total_size += 1 + |
6720 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
6721 | 0 | *_impl_.target_); |
6722 | 0 | } |
6723 | |
|
6724 | 0 | if (_internal_has_source()) { |
6725 | | // required .solidity.yul.test.yul_fuzzer.Expression source = 3; |
6726 | 0 | total_size += 1 + |
6727 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
6728 | 0 | *_impl_.source_); |
6729 | 0 | } |
6730 | |
|
6731 | 0 | if (_internal_has_size()) { |
6732 | | // required .solidity.yul.test.yul_fuzzer.Expression size = 4; |
6733 | 0 | total_size += 1 + |
6734 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
6735 | 0 | *_impl_.size_); |
6736 | 0 | } |
6737 | |
|
6738 | 0 | return total_size; |
6739 | 0 | } |
6740 | 13.3k | size_t ExtCodeCopy::ByteSizeLong() const { |
6741 | | // @@protoc_insertion_point(message_byte_size_start:solidity.yul.test.yul_fuzzer.ExtCodeCopy) |
6742 | 13.3k | size_t total_size = 0; |
6743 | | |
6744 | 13.3k | if (((_impl_._has_bits_[0] & 0x0000000f) ^ 0x0000000f) == 0) { // All required fields are present. |
6745 | | // required .solidity.yul.test.yul_fuzzer.Expression addr = 1; |
6746 | 13.3k | total_size += 1 + |
6747 | 13.3k | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
6748 | 13.3k | *_impl_.addr_); |
6749 | | |
6750 | | // required .solidity.yul.test.yul_fuzzer.Expression target = 2; |
6751 | 13.3k | total_size += 1 + |
6752 | 13.3k | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
6753 | 13.3k | *_impl_.target_); |
6754 | | |
6755 | | // required .solidity.yul.test.yul_fuzzer.Expression source = 3; |
6756 | 13.3k | total_size += 1 + |
6757 | 13.3k | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
6758 | 13.3k | *_impl_.source_); |
6759 | | |
6760 | | // required .solidity.yul.test.yul_fuzzer.Expression size = 4; |
6761 | 13.3k | total_size += 1 + |
6762 | 13.3k | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
6763 | 13.3k | *_impl_.size_); |
6764 | | |
6765 | 13.3k | } else { |
6766 | 0 | total_size += RequiredFieldsByteSizeFallback(); |
6767 | 0 | } |
6768 | 13.3k | uint32_t cached_has_bits = 0; |
6769 | | // Prevent compiler warnings about cached_has_bits being unused |
6770 | 13.3k | (void) cached_has_bits; |
6771 | | |
6772 | 13.3k | return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); |
6773 | 13.3k | } |
6774 | | |
6775 | | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData ExtCodeCopy::_class_data_ = { |
6776 | | ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, |
6777 | | ExtCodeCopy::MergeImpl |
6778 | | }; |
6779 | 0 | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*ExtCodeCopy::GetClassData() const { return &_class_data_; } |
6780 | | |
6781 | | |
6782 | 0 | void ExtCodeCopy::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { |
6783 | 0 | auto* const _this = static_cast<ExtCodeCopy*>(&to_msg); |
6784 | 0 | auto& from = static_cast<const ExtCodeCopy&>(from_msg); |
6785 | | // @@protoc_insertion_point(class_specific_merge_from_start:solidity.yul.test.yul_fuzzer.ExtCodeCopy) |
6786 | 0 | GOOGLE_DCHECK_NE(&from, _this); |
6787 | 0 | uint32_t cached_has_bits = 0; |
6788 | 0 | (void) cached_has_bits; |
6789 | |
|
6790 | 0 | cached_has_bits = from._impl_._has_bits_[0]; |
6791 | 0 | if (cached_has_bits & 0x0000000fu) { |
6792 | 0 | if (cached_has_bits & 0x00000001u) { |
6793 | 0 | _this->_internal_mutable_addr()->::solidity::yul::test::yul_fuzzer::Expression::MergeFrom( |
6794 | 0 | from._internal_addr()); |
6795 | 0 | } |
6796 | 0 | if (cached_has_bits & 0x00000002u) { |
6797 | 0 | _this->_internal_mutable_target()->::solidity::yul::test::yul_fuzzer::Expression::MergeFrom( |
6798 | 0 | from._internal_target()); |
6799 | 0 | } |
6800 | 0 | if (cached_has_bits & 0x00000004u) { |
6801 | 0 | _this->_internal_mutable_source()->::solidity::yul::test::yul_fuzzer::Expression::MergeFrom( |
6802 | 0 | from._internal_source()); |
6803 | 0 | } |
6804 | 0 | if (cached_has_bits & 0x00000008u) { |
6805 | 0 | _this->_internal_mutable_size()->::solidity::yul::test::yul_fuzzer::Expression::MergeFrom( |
6806 | 0 | from._internal_size()); |
6807 | 0 | } |
6808 | 0 | } |
6809 | 0 | _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); |
6810 | 0 | } |
6811 | | |
6812 | 0 | void ExtCodeCopy::CopyFrom(const ExtCodeCopy& from) { |
6813 | | // @@protoc_insertion_point(class_specific_copy_from_start:solidity.yul.test.yul_fuzzer.ExtCodeCopy) |
6814 | 0 | if (&from == this) return; |
6815 | 0 | Clear(); |
6816 | 0 | MergeFrom(from); |
6817 | 0 | } |
6818 | | |
6819 | 0 | bool ExtCodeCopy::IsInitialized() const { |
6820 | 0 | if (_Internal::MissingRequiredFields(_impl_._has_bits_)) return false; |
6821 | 0 | if (_internal_has_addr()) { |
6822 | 0 | if (!_impl_.addr_->IsInitialized()) return false; |
6823 | 0 | } |
6824 | 0 | if (_internal_has_target()) { |
6825 | 0 | if (!_impl_.target_->IsInitialized()) return false; |
6826 | 0 | } |
6827 | 0 | if (_internal_has_source()) { |
6828 | 0 | if (!_impl_.source_->IsInitialized()) return false; |
6829 | 0 | } |
6830 | 0 | if (_internal_has_size()) { |
6831 | 0 | if (!_impl_.size_->IsInitialized()) return false; |
6832 | 0 | } |
6833 | 0 | return true; |
6834 | 0 | } |
6835 | | |
6836 | 0 | void ExtCodeCopy::InternalSwap(ExtCodeCopy* other) { |
6837 | 0 | using std::swap; |
6838 | 0 | _internal_metadata_.InternalSwap(&other->_internal_metadata_); |
6839 | 0 | swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); |
6840 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::memswap< |
6841 | 0 | PROTOBUF_FIELD_OFFSET(ExtCodeCopy, _impl_.size_) |
6842 | 0 | + sizeof(ExtCodeCopy::_impl_.size_) |
6843 | 0 | - PROTOBUF_FIELD_OFFSET(ExtCodeCopy, _impl_.addr_)>( |
6844 | 0 | reinterpret_cast<char*>(&_impl_.addr_), |
6845 | 0 | reinterpret_cast<char*>(&other->_impl_.addr_)); |
6846 | 0 | } |
6847 | | |
6848 | 327k | ::PROTOBUF_NAMESPACE_ID::Metadata ExtCodeCopy::GetMetadata() const { |
6849 | 327k | return ::_pbi::AssignDescriptors( |
6850 | 327k | &descriptor_table_yulProto_2eproto_getter, &descriptor_table_yulProto_2eproto_once, |
6851 | 327k | file_level_metadata_yulProto_2eproto[14]); |
6852 | 327k | } |
6853 | | |
6854 | | // =================================================================== |
6855 | | |
6856 | | class NullaryOp::_Internal { |
6857 | | public: |
6858 | | using HasBits = decltype(std::declval<NullaryOp>()._impl_._has_bits_); |
6859 | 0 | static void set_has_op(HasBits* has_bits) { |
6860 | 0 | (*has_bits)[0] |= 1u; |
6861 | 0 | } |
6862 | 0 | static bool MissingRequiredFields(const HasBits& has_bits) { |
6863 | 0 | return ((has_bits[0] & 0x00000001) ^ 0x00000001) != 0; |
6864 | 0 | } |
6865 | | }; |
6866 | | |
6867 | | NullaryOp::NullaryOp(::PROTOBUF_NAMESPACE_ID::Arena* arena, |
6868 | | bool is_message_owned) |
6869 | 59.7k | : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { |
6870 | 59.7k | SharedCtor(arena, is_message_owned); |
6871 | | // @@protoc_insertion_point(arena_constructor:solidity.yul.test.yul_fuzzer.NullaryOp) |
6872 | 59.7k | } |
6873 | | NullaryOp::NullaryOp(const NullaryOp& from) |
6874 | 0 | : ::PROTOBUF_NAMESPACE_ID::Message() { |
6875 | 0 | NullaryOp* const _this = this; (void)_this; |
6876 | 0 | new (&_impl_) Impl_{ |
6877 | 0 | decltype(_impl_._has_bits_){from._impl_._has_bits_} |
6878 | 0 | , /*decltype(_impl_._cached_size_)*/{} |
6879 | 0 | , decltype(_impl_.op_){}}; |
6880 | |
|
6881 | 0 | _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); |
6882 | 0 | _this->_impl_.op_ = from._impl_.op_; |
6883 | | // @@protoc_insertion_point(copy_constructor:solidity.yul.test.yul_fuzzer.NullaryOp) |
6884 | 0 | } |
6885 | | |
6886 | | inline void NullaryOp::SharedCtor( |
6887 | 59.7k | ::_pb::Arena* arena, bool is_message_owned) { |
6888 | 59.7k | (void)arena; |
6889 | 59.7k | (void)is_message_owned; |
6890 | 59.7k | new (&_impl_) Impl_{ |
6891 | 59.7k | decltype(_impl_._has_bits_){} |
6892 | 59.7k | , /*decltype(_impl_._cached_size_)*/{} |
6893 | 59.7k | , decltype(_impl_.op_){1} |
6894 | 59.7k | }; |
6895 | 59.7k | } |
6896 | | |
6897 | 59.7k | NullaryOp::~NullaryOp() { |
6898 | | // @@protoc_insertion_point(destructor:solidity.yul.test.yul_fuzzer.NullaryOp) |
6899 | 59.7k | if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { |
6900 | 0 | (void)arena; |
6901 | 0 | return; |
6902 | 0 | } |
6903 | 59.7k | SharedDtor(); |
6904 | 59.7k | } |
6905 | | |
6906 | 59.7k | inline void NullaryOp::SharedDtor() { |
6907 | 59.7k | GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); |
6908 | 59.7k | } |
6909 | | |
6910 | 0 | void NullaryOp::SetCachedSize(int size) const { |
6911 | 0 | _impl_._cached_size_.Set(size); |
6912 | 0 | } |
6913 | | |
6914 | 0 | void NullaryOp::Clear() { |
6915 | | // @@protoc_insertion_point(message_clear_start:solidity.yul.test.yul_fuzzer.NullaryOp) |
6916 | 0 | uint32_t cached_has_bits = 0; |
6917 | | // Prevent compiler warnings about cached_has_bits being unused |
6918 | 0 | (void) cached_has_bits; |
6919 | |
|
6920 | 0 | _impl_.op_ = 1; |
6921 | 0 | _impl_._has_bits_.Clear(); |
6922 | 0 | _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); |
6923 | 0 | } |
6924 | | |
6925 | 0 | const char* NullaryOp::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { |
6926 | 0 | #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure |
6927 | 0 | _Internal::HasBits has_bits{}; |
6928 | 0 | while (!ctx->Done(&ptr)) { |
6929 | 0 | uint32_t tag; |
6930 | 0 | ptr = ::_pbi::ReadTag(ptr, &tag); |
6931 | 0 | switch (tag >> 3) { |
6932 | | // required .solidity.yul.test.yul_fuzzer.NullaryOp.NOp op = 1; |
6933 | 0 | case 1: |
6934 | 0 | if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 8)) { |
6935 | 0 | uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); |
6936 | 0 | CHK_(ptr); |
6937 | 0 | if (PROTOBUF_PREDICT_TRUE(::solidity::yul::test::yul_fuzzer::NullaryOp_NOp_IsValid(val))) { |
6938 | 0 | _internal_set_op(static_cast<::solidity::yul::test::yul_fuzzer::NullaryOp_NOp>(val)); |
6939 | 0 | } else { |
6940 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::WriteVarint(1, val, mutable_unknown_fields()); |
6941 | 0 | } |
6942 | 0 | } else |
6943 | 0 | goto handle_unusual; |
6944 | 0 | continue; |
6945 | 0 | default: |
6946 | 0 | goto handle_unusual; |
6947 | 0 | } // switch |
6948 | 0 | handle_unusual: |
6949 | 0 | if ((tag == 0) || ((tag & 7) == 4)) { |
6950 | 0 | CHK_(ptr); |
6951 | 0 | ctx->SetLastTag(tag); |
6952 | 0 | goto message_done; |
6953 | 0 | } |
6954 | 0 | ptr = UnknownFieldParse( |
6955 | 0 | tag, |
6956 | 0 | _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), |
6957 | 0 | ptr, ctx); |
6958 | 0 | CHK_(ptr != nullptr); |
6959 | 0 | } // while |
6960 | 0 | message_done: |
6961 | 0 | _impl_._has_bits_.Or(has_bits); |
6962 | 0 | return ptr; |
6963 | 0 | failure: |
6964 | 0 | ptr = nullptr; |
6965 | 0 | goto message_done; |
6966 | 0 | #undef CHK_ |
6967 | 0 | } |
6968 | | |
6969 | | uint8_t* NullaryOp::_InternalSerialize( |
6970 | 0 | uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { |
6971 | | // @@protoc_insertion_point(serialize_to_array_start:solidity.yul.test.yul_fuzzer.NullaryOp) |
6972 | 0 | uint32_t cached_has_bits = 0; |
6973 | 0 | (void) cached_has_bits; |
6974 | |
|
6975 | 0 | cached_has_bits = _impl_._has_bits_[0]; |
6976 | | // required .solidity.yul.test.yul_fuzzer.NullaryOp.NOp op = 1; |
6977 | 0 | if (cached_has_bits & 0x00000001u) { |
6978 | 0 | target = stream->EnsureSpace(target); |
6979 | 0 | target = ::_pbi::WireFormatLite::WriteEnumToArray( |
6980 | 0 | 1, this->_internal_op(), target); |
6981 | 0 | } |
6982 | |
|
6983 | 0 | if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { |
6984 | 0 | target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( |
6985 | 0 | _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); |
6986 | 0 | } |
6987 | | // @@protoc_insertion_point(serialize_to_array_end:solidity.yul.test.yul_fuzzer.NullaryOp) |
6988 | 0 | return target; |
6989 | 0 | } |
6990 | | |
6991 | 55.3k | size_t NullaryOp::ByteSizeLong() const { |
6992 | | // @@protoc_insertion_point(message_byte_size_start:solidity.yul.test.yul_fuzzer.NullaryOp) |
6993 | 55.3k | size_t total_size = 0; |
6994 | | |
6995 | | // required .solidity.yul.test.yul_fuzzer.NullaryOp.NOp op = 1; |
6996 | 55.3k | if (_internal_has_op()) { |
6997 | 55.3k | total_size += 1 + |
6998 | 55.3k | ::_pbi::WireFormatLite::EnumSize(this->_internal_op()); |
6999 | 55.3k | } |
7000 | 55.3k | uint32_t cached_has_bits = 0; |
7001 | | // Prevent compiler warnings about cached_has_bits being unused |
7002 | 55.3k | (void) cached_has_bits; |
7003 | | |
7004 | 55.3k | return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); |
7005 | 55.3k | } |
7006 | | |
7007 | | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData NullaryOp::_class_data_ = { |
7008 | | ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, |
7009 | | NullaryOp::MergeImpl |
7010 | | }; |
7011 | 0 | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*NullaryOp::GetClassData() const { return &_class_data_; } |
7012 | | |
7013 | | |
7014 | 0 | void NullaryOp::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { |
7015 | 0 | auto* const _this = static_cast<NullaryOp*>(&to_msg); |
7016 | 0 | auto& from = static_cast<const NullaryOp&>(from_msg); |
7017 | | // @@protoc_insertion_point(class_specific_merge_from_start:solidity.yul.test.yul_fuzzer.NullaryOp) |
7018 | 0 | GOOGLE_DCHECK_NE(&from, _this); |
7019 | 0 | uint32_t cached_has_bits = 0; |
7020 | 0 | (void) cached_has_bits; |
7021 | |
|
7022 | 0 | if (from._internal_has_op()) { |
7023 | 0 | _this->_internal_set_op(from._internal_op()); |
7024 | 0 | } |
7025 | 0 | _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); |
7026 | 0 | } |
7027 | | |
7028 | 0 | void NullaryOp::CopyFrom(const NullaryOp& from) { |
7029 | | // @@protoc_insertion_point(class_specific_copy_from_start:solidity.yul.test.yul_fuzzer.NullaryOp) |
7030 | 0 | if (&from == this) return; |
7031 | 0 | Clear(); |
7032 | 0 | MergeFrom(from); |
7033 | 0 | } |
7034 | | |
7035 | 0 | bool NullaryOp::IsInitialized() const { |
7036 | 0 | if (_Internal::MissingRequiredFields(_impl_._has_bits_)) return false; |
7037 | 0 | return true; |
7038 | 0 | } |
7039 | | |
7040 | 0 | void NullaryOp::InternalSwap(NullaryOp* other) { |
7041 | 0 | using std::swap; |
7042 | 0 | _internal_metadata_.InternalSwap(&other->_internal_metadata_); |
7043 | 0 | swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); |
7044 | 0 | swap(_impl_.op_, other->_impl_.op_); |
7045 | 0 | } |
7046 | | |
7047 | 611k | ::PROTOBUF_NAMESPACE_ID::Metadata NullaryOp::GetMetadata() const { |
7048 | 611k | return ::_pbi::AssignDescriptors( |
7049 | 611k | &descriptor_table_yulProto_2eproto_getter, &descriptor_table_yulProto_2eproto_once, |
7050 | 611k | file_level_metadata_yulProto_2eproto[15]); |
7051 | 611k | } |
7052 | | |
7053 | | // =================================================================== |
7054 | | |
7055 | | class StoreFunc::_Internal { |
7056 | | public: |
7057 | | using HasBits = decltype(std::declval<StoreFunc>()._impl_._has_bits_); |
7058 | | static const ::solidity::yul::test::yul_fuzzer::Expression& loc(const StoreFunc* msg); |
7059 | 0 | static void set_has_loc(HasBits* has_bits) { |
7060 | 0 | (*has_bits)[0] |= 1u; |
7061 | 0 | } |
7062 | | static const ::solidity::yul::test::yul_fuzzer::Expression& val(const StoreFunc* msg); |
7063 | 0 | static void set_has_val(HasBits* has_bits) { |
7064 | 0 | (*has_bits)[0] |= 2u; |
7065 | 0 | } |
7066 | 0 | static void set_has_st(HasBits* has_bits) { |
7067 | 0 | (*has_bits)[0] |= 4u; |
7068 | 0 | } |
7069 | 0 | static bool MissingRequiredFields(const HasBits& has_bits) { |
7070 | 0 | return ((has_bits[0] & 0x00000007) ^ 0x00000007) != 0; |
7071 | 0 | } |
7072 | | }; |
7073 | | |
7074 | | const ::solidity::yul::test::yul_fuzzer::Expression& |
7075 | 0 | StoreFunc::_Internal::loc(const StoreFunc* msg) { |
7076 | 0 | return *msg->_impl_.loc_; |
7077 | 0 | } |
7078 | | const ::solidity::yul::test::yul_fuzzer::Expression& |
7079 | 0 | StoreFunc::_Internal::val(const StoreFunc* msg) { |
7080 | 0 | return *msg->_impl_.val_; |
7081 | 0 | } |
7082 | | StoreFunc::StoreFunc(::PROTOBUF_NAMESPACE_ID::Arena* arena, |
7083 | | bool is_message_owned) |
7084 | 147k | : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { |
7085 | 147k | SharedCtor(arena, is_message_owned); |
7086 | | // @@protoc_insertion_point(arena_constructor:solidity.yul.test.yul_fuzzer.StoreFunc) |
7087 | 147k | } |
7088 | | StoreFunc::StoreFunc(const StoreFunc& from) |
7089 | 0 | : ::PROTOBUF_NAMESPACE_ID::Message() { |
7090 | 0 | StoreFunc* const _this = this; (void)_this; |
7091 | 0 | new (&_impl_) Impl_{ |
7092 | 0 | decltype(_impl_._has_bits_){from._impl_._has_bits_} |
7093 | 0 | , /*decltype(_impl_._cached_size_)*/{} |
7094 | 0 | , decltype(_impl_.loc_){nullptr} |
7095 | 0 | , decltype(_impl_.val_){nullptr} |
7096 | 0 | , decltype(_impl_.st_){}}; |
7097 | |
|
7098 | 0 | _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); |
7099 | 0 | if (from._internal_has_loc()) { |
7100 | 0 | _this->_impl_.loc_ = new ::solidity::yul::test::yul_fuzzer::Expression(*from._impl_.loc_); |
7101 | 0 | } |
7102 | 0 | if (from._internal_has_val()) { |
7103 | 0 | _this->_impl_.val_ = new ::solidity::yul::test::yul_fuzzer::Expression(*from._impl_.val_); |
7104 | 0 | } |
7105 | 0 | _this->_impl_.st_ = from._impl_.st_; |
7106 | | // @@protoc_insertion_point(copy_constructor:solidity.yul.test.yul_fuzzer.StoreFunc) |
7107 | 0 | } |
7108 | | |
7109 | | inline void StoreFunc::SharedCtor( |
7110 | 147k | ::_pb::Arena* arena, bool is_message_owned) { |
7111 | 147k | (void)arena; |
7112 | 147k | (void)is_message_owned; |
7113 | 147k | new (&_impl_) Impl_{ |
7114 | 147k | decltype(_impl_._has_bits_){} |
7115 | 147k | , /*decltype(_impl_._cached_size_)*/{} |
7116 | 147k | , decltype(_impl_.loc_){nullptr} |
7117 | 147k | , decltype(_impl_.val_){nullptr} |
7118 | 147k | , decltype(_impl_.st_){0} |
7119 | 147k | }; |
7120 | 147k | } |
7121 | | |
7122 | 147k | StoreFunc::~StoreFunc() { |
7123 | | // @@protoc_insertion_point(destructor:solidity.yul.test.yul_fuzzer.StoreFunc) |
7124 | 147k | if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { |
7125 | 0 | (void)arena; |
7126 | 0 | return; |
7127 | 0 | } |
7128 | 147k | SharedDtor(); |
7129 | 147k | } |
7130 | | |
7131 | 147k | inline void StoreFunc::SharedDtor() { |
7132 | 147k | GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); |
7133 | 147k | if (this != internal_default_instance()) delete _impl_.loc_; |
7134 | 147k | if (this != internal_default_instance()) delete _impl_.val_; |
7135 | 147k | } |
7136 | | |
7137 | 0 | void StoreFunc::SetCachedSize(int size) const { |
7138 | 0 | _impl_._cached_size_.Set(size); |
7139 | 0 | } |
7140 | | |
7141 | 0 | void StoreFunc::Clear() { |
7142 | | // @@protoc_insertion_point(message_clear_start:solidity.yul.test.yul_fuzzer.StoreFunc) |
7143 | 0 | uint32_t cached_has_bits = 0; |
7144 | | // Prevent compiler warnings about cached_has_bits being unused |
7145 | 0 | (void) cached_has_bits; |
7146 | |
|
7147 | 0 | cached_has_bits = _impl_._has_bits_[0]; |
7148 | 0 | if (cached_has_bits & 0x00000003u) { |
7149 | 0 | if (cached_has_bits & 0x00000001u) { |
7150 | 0 | GOOGLE_DCHECK(_impl_.loc_ != nullptr); |
7151 | 0 | _impl_.loc_->Clear(); |
7152 | 0 | } |
7153 | 0 | if (cached_has_bits & 0x00000002u) { |
7154 | 0 | GOOGLE_DCHECK(_impl_.val_ != nullptr); |
7155 | 0 | _impl_.val_->Clear(); |
7156 | 0 | } |
7157 | 0 | } |
7158 | 0 | _impl_.st_ = 0; |
7159 | 0 | _impl_._has_bits_.Clear(); |
7160 | 0 | _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); |
7161 | 0 | } |
7162 | | |
7163 | 0 | const char* StoreFunc::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { |
7164 | 0 | #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure |
7165 | 0 | _Internal::HasBits has_bits{}; |
7166 | 0 | while (!ctx->Done(&ptr)) { |
7167 | 0 | uint32_t tag; |
7168 | 0 | ptr = ::_pbi::ReadTag(ptr, &tag); |
7169 | 0 | switch (tag >> 3) { |
7170 | | // required .solidity.yul.test.yul_fuzzer.Expression loc = 1; |
7171 | 0 | case 1: |
7172 | 0 | if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 10)) { |
7173 | 0 | ptr = ctx->ParseMessage(_internal_mutable_loc(), ptr); |
7174 | 0 | CHK_(ptr); |
7175 | 0 | } else |
7176 | 0 | goto handle_unusual; |
7177 | 0 | continue; |
7178 | | // required .solidity.yul.test.yul_fuzzer.Expression val = 2; |
7179 | 0 | case 2: |
7180 | 0 | if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 18)) { |
7181 | 0 | ptr = ctx->ParseMessage(_internal_mutable_val(), ptr); |
7182 | 0 | CHK_(ptr); |
7183 | 0 | } else |
7184 | 0 | goto handle_unusual; |
7185 | 0 | continue; |
7186 | | // required .solidity.yul.test.yul_fuzzer.StoreFunc.Storage st = 3; |
7187 | 0 | case 3: |
7188 | 0 | if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 24)) { |
7189 | 0 | uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); |
7190 | 0 | CHK_(ptr); |
7191 | 0 | if (PROTOBUF_PREDICT_TRUE(::solidity::yul::test::yul_fuzzer::StoreFunc_Storage_IsValid(val))) { |
7192 | 0 | _internal_set_st(static_cast<::solidity::yul::test::yul_fuzzer::StoreFunc_Storage>(val)); |
7193 | 0 | } else { |
7194 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::WriteVarint(3, val, mutable_unknown_fields()); |
7195 | 0 | } |
7196 | 0 | } else |
7197 | 0 | goto handle_unusual; |
7198 | 0 | continue; |
7199 | 0 | default: |
7200 | 0 | goto handle_unusual; |
7201 | 0 | } // switch |
7202 | 0 | handle_unusual: |
7203 | 0 | if ((tag == 0) || ((tag & 7) == 4)) { |
7204 | 0 | CHK_(ptr); |
7205 | 0 | ctx->SetLastTag(tag); |
7206 | 0 | goto message_done; |
7207 | 0 | } |
7208 | 0 | ptr = UnknownFieldParse( |
7209 | 0 | tag, |
7210 | 0 | _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), |
7211 | 0 | ptr, ctx); |
7212 | 0 | CHK_(ptr != nullptr); |
7213 | 0 | } // while |
7214 | 0 | message_done: |
7215 | 0 | _impl_._has_bits_.Or(has_bits); |
7216 | 0 | return ptr; |
7217 | 0 | failure: |
7218 | 0 | ptr = nullptr; |
7219 | 0 | goto message_done; |
7220 | 0 | #undef CHK_ |
7221 | 0 | } |
7222 | | |
7223 | | uint8_t* StoreFunc::_InternalSerialize( |
7224 | 0 | uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { |
7225 | | // @@protoc_insertion_point(serialize_to_array_start:solidity.yul.test.yul_fuzzer.StoreFunc) |
7226 | 0 | uint32_t cached_has_bits = 0; |
7227 | 0 | (void) cached_has_bits; |
7228 | |
|
7229 | 0 | cached_has_bits = _impl_._has_bits_[0]; |
7230 | | // required .solidity.yul.test.yul_fuzzer.Expression loc = 1; |
7231 | 0 | if (cached_has_bits & 0x00000001u) { |
7232 | 0 | target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: |
7233 | 0 | InternalWriteMessage(1, _Internal::loc(this), |
7234 | 0 | _Internal::loc(this).GetCachedSize(), target, stream); |
7235 | 0 | } |
7236 | | |
7237 | | // required .solidity.yul.test.yul_fuzzer.Expression val = 2; |
7238 | 0 | if (cached_has_bits & 0x00000002u) { |
7239 | 0 | target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: |
7240 | 0 | InternalWriteMessage(2, _Internal::val(this), |
7241 | 0 | _Internal::val(this).GetCachedSize(), target, stream); |
7242 | 0 | } |
7243 | | |
7244 | | // required .solidity.yul.test.yul_fuzzer.StoreFunc.Storage st = 3; |
7245 | 0 | if (cached_has_bits & 0x00000004u) { |
7246 | 0 | target = stream->EnsureSpace(target); |
7247 | 0 | target = ::_pbi::WireFormatLite::WriteEnumToArray( |
7248 | 0 | 3, this->_internal_st(), target); |
7249 | 0 | } |
7250 | |
|
7251 | 0 | if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { |
7252 | 0 | target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( |
7253 | 0 | _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); |
7254 | 0 | } |
7255 | | // @@protoc_insertion_point(serialize_to_array_end:solidity.yul.test.yul_fuzzer.StoreFunc) |
7256 | 0 | return target; |
7257 | 0 | } |
7258 | | |
7259 | 0 | size_t StoreFunc::RequiredFieldsByteSizeFallback() const { |
7260 | | // @@protoc_insertion_point(required_fields_byte_size_fallback_start:solidity.yul.test.yul_fuzzer.StoreFunc) |
7261 | 0 | size_t total_size = 0; |
7262 | |
|
7263 | 0 | if (_internal_has_loc()) { |
7264 | | // required .solidity.yul.test.yul_fuzzer.Expression loc = 1; |
7265 | 0 | total_size += 1 + |
7266 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
7267 | 0 | *_impl_.loc_); |
7268 | 0 | } |
7269 | |
|
7270 | 0 | if (_internal_has_val()) { |
7271 | | // required .solidity.yul.test.yul_fuzzer.Expression val = 2; |
7272 | 0 | total_size += 1 + |
7273 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
7274 | 0 | *_impl_.val_); |
7275 | 0 | } |
7276 | |
|
7277 | 0 | if (_internal_has_st()) { |
7278 | | // required .solidity.yul.test.yul_fuzzer.StoreFunc.Storage st = 3; |
7279 | 0 | total_size += 1 + |
7280 | 0 | ::_pbi::WireFormatLite::EnumSize(this->_internal_st()); |
7281 | 0 | } |
7282 | |
|
7283 | 0 | return total_size; |
7284 | 0 | } |
7285 | 144k | size_t StoreFunc::ByteSizeLong() const { |
7286 | | // @@protoc_insertion_point(message_byte_size_start:solidity.yul.test.yul_fuzzer.StoreFunc) |
7287 | 144k | size_t total_size = 0; |
7288 | | |
7289 | 144k | if (((_impl_._has_bits_[0] & 0x00000007) ^ 0x00000007) == 0) { // All required fields are present. |
7290 | | // required .solidity.yul.test.yul_fuzzer.Expression loc = 1; |
7291 | 144k | total_size += 1 + |
7292 | 144k | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
7293 | 144k | *_impl_.loc_); |
7294 | | |
7295 | | // required .solidity.yul.test.yul_fuzzer.Expression val = 2; |
7296 | 144k | total_size += 1 + |
7297 | 144k | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
7298 | 144k | *_impl_.val_); |
7299 | | |
7300 | | // required .solidity.yul.test.yul_fuzzer.StoreFunc.Storage st = 3; |
7301 | 144k | total_size += 1 + |
7302 | 144k | ::_pbi::WireFormatLite::EnumSize(this->_internal_st()); |
7303 | | |
7304 | 144k | } else { |
7305 | 0 | total_size += RequiredFieldsByteSizeFallback(); |
7306 | 0 | } |
7307 | 144k | uint32_t cached_has_bits = 0; |
7308 | | // Prevent compiler warnings about cached_has_bits being unused |
7309 | 144k | (void) cached_has_bits; |
7310 | | |
7311 | 144k | return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); |
7312 | 144k | } |
7313 | | |
7314 | | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData StoreFunc::_class_data_ = { |
7315 | | ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, |
7316 | | StoreFunc::MergeImpl |
7317 | | }; |
7318 | 0 | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*StoreFunc::GetClassData() const { return &_class_data_; } |
7319 | | |
7320 | | |
7321 | 0 | void StoreFunc::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { |
7322 | 0 | auto* const _this = static_cast<StoreFunc*>(&to_msg); |
7323 | 0 | auto& from = static_cast<const StoreFunc&>(from_msg); |
7324 | | // @@protoc_insertion_point(class_specific_merge_from_start:solidity.yul.test.yul_fuzzer.StoreFunc) |
7325 | 0 | GOOGLE_DCHECK_NE(&from, _this); |
7326 | 0 | uint32_t cached_has_bits = 0; |
7327 | 0 | (void) cached_has_bits; |
7328 | |
|
7329 | 0 | cached_has_bits = from._impl_._has_bits_[0]; |
7330 | 0 | if (cached_has_bits & 0x00000007u) { |
7331 | 0 | if (cached_has_bits & 0x00000001u) { |
7332 | 0 | _this->_internal_mutable_loc()->::solidity::yul::test::yul_fuzzer::Expression::MergeFrom( |
7333 | 0 | from._internal_loc()); |
7334 | 0 | } |
7335 | 0 | if (cached_has_bits & 0x00000002u) { |
7336 | 0 | _this->_internal_mutable_val()->::solidity::yul::test::yul_fuzzer::Expression::MergeFrom( |
7337 | 0 | from._internal_val()); |
7338 | 0 | } |
7339 | 0 | if (cached_has_bits & 0x00000004u) { |
7340 | 0 | _this->_impl_.st_ = from._impl_.st_; |
7341 | 0 | } |
7342 | 0 | _this->_impl_._has_bits_[0] |= cached_has_bits; |
7343 | 0 | } |
7344 | 0 | _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); |
7345 | 0 | } |
7346 | | |
7347 | 0 | void StoreFunc::CopyFrom(const StoreFunc& from) { |
7348 | | // @@protoc_insertion_point(class_specific_copy_from_start:solidity.yul.test.yul_fuzzer.StoreFunc) |
7349 | 0 | if (&from == this) return; |
7350 | 0 | Clear(); |
7351 | 0 | MergeFrom(from); |
7352 | 0 | } |
7353 | | |
7354 | 0 | bool StoreFunc::IsInitialized() const { |
7355 | 0 | if (_Internal::MissingRequiredFields(_impl_._has_bits_)) return false; |
7356 | 0 | if (_internal_has_loc()) { |
7357 | 0 | if (!_impl_.loc_->IsInitialized()) return false; |
7358 | 0 | } |
7359 | 0 | if (_internal_has_val()) { |
7360 | 0 | if (!_impl_.val_->IsInitialized()) return false; |
7361 | 0 | } |
7362 | 0 | return true; |
7363 | 0 | } |
7364 | | |
7365 | 0 | void StoreFunc::InternalSwap(StoreFunc* other) { |
7366 | 0 | using std::swap; |
7367 | 0 | _internal_metadata_.InternalSwap(&other->_internal_metadata_); |
7368 | 0 | swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); |
7369 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::memswap< |
7370 | 0 | PROTOBUF_FIELD_OFFSET(StoreFunc, _impl_.st_) |
7371 | 0 | + sizeof(StoreFunc::_impl_.st_) |
7372 | 0 | - PROTOBUF_FIELD_OFFSET(StoreFunc, _impl_.loc_)>( |
7373 | 0 | reinterpret_cast<char*>(&_impl_.loc_), |
7374 | 0 | reinterpret_cast<char*>(&other->_impl_.loc_)); |
7375 | 0 | } |
7376 | | |
7377 | 4.42M | ::PROTOBUF_NAMESPACE_ID::Metadata StoreFunc::GetMetadata() const { |
7378 | 4.42M | return ::_pbi::AssignDescriptors( |
7379 | 4.42M | &descriptor_table_yulProto_2eproto_getter, &descriptor_table_yulProto_2eproto_once, |
7380 | 4.42M | file_level_metadata_yulProto_2eproto[16]); |
7381 | 4.42M | } |
7382 | | |
7383 | | // =================================================================== |
7384 | | |
7385 | | class LogFunc::_Internal { |
7386 | | public: |
7387 | | using HasBits = decltype(std::declval<LogFunc>()._impl_._has_bits_); |
7388 | | static const ::solidity::yul::test::yul_fuzzer::Expression& pos(const LogFunc* msg); |
7389 | 0 | static void set_has_pos(HasBits* has_bits) { |
7390 | 0 | (*has_bits)[0] |= 1u; |
7391 | 0 | } |
7392 | | static const ::solidity::yul::test::yul_fuzzer::Expression& size(const LogFunc* msg); |
7393 | 0 | static void set_has_size(HasBits* has_bits) { |
7394 | 0 | (*has_bits)[0] |= 2u; |
7395 | 0 | } |
7396 | 0 | static void set_has_num_topics(HasBits* has_bits) { |
7397 | 0 | (*has_bits)[0] |= 64u; |
7398 | 0 | } |
7399 | | static const ::solidity::yul::test::yul_fuzzer::Expression& t1(const LogFunc* msg); |
7400 | 0 | static void set_has_t1(HasBits* has_bits) { |
7401 | 0 | (*has_bits)[0] |= 4u; |
7402 | 0 | } |
7403 | | static const ::solidity::yul::test::yul_fuzzer::Expression& t2(const LogFunc* msg); |
7404 | 0 | static void set_has_t2(HasBits* has_bits) { |
7405 | 0 | (*has_bits)[0] |= 8u; |
7406 | 0 | } |
7407 | | static const ::solidity::yul::test::yul_fuzzer::Expression& t3(const LogFunc* msg); |
7408 | 0 | static void set_has_t3(HasBits* has_bits) { |
7409 | 0 | (*has_bits)[0] |= 16u; |
7410 | 0 | } |
7411 | | static const ::solidity::yul::test::yul_fuzzer::Expression& t4(const LogFunc* msg); |
7412 | 0 | static void set_has_t4(HasBits* has_bits) { |
7413 | 0 | (*has_bits)[0] |= 32u; |
7414 | 0 | } |
7415 | 0 | static bool MissingRequiredFields(const HasBits& has_bits) { |
7416 | 0 | return ((has_bits[0] & 0x0000007f) ^ 0x0000007f) != 0; |
7417 | 0 | } |
7418 | | }; |
7419 | | |
7420 | | const ::solidity::yul::test::yul_fuzzer::Expression& |
7421 | 0 | LogFunc::_Internal::pos(const LogFunc* msg) { |
7422 | 0 | return *msg->_impl_.pos_; |
7423 | 0 | } |
7424 | | const ::solidity::yul::test::yul_fuzzer::Expression& |
7425 | 0 | LogFunc::_Internal::size(const LogFunc* msg) { |
7426 | 0 | return *msg->_impl_.size_; |
7427 | 0 | } |
7428 | | const ::solidity::yul::test::yul_fuzzer::Expression& |
7429 | 0 | LogFunc::_Internal::t1(const LogFunc* msg) { |
7430 | 0 | return *msg->_impl_.t1_; |
7431 | 0 | } |
7432 | | const ::solidity::yul::test::yul_fuzzer::Expression& |
7433 | 0 | LogFunc::_Internal::t2(const LogFunc* msg) { |
7434 | 0 | return *msg->_impl_.t2_; |
7435 | 0 | } |
7436 | | const ::solidity::yul::test::yul_fuzzer::Expression& |
7437 | 0 | LogFunc::_Internal::t3(const LogFunc* msg) { |
7438 | 0 | return *msg->_impl_.t3_; |
7439 | 0 | } |
7440 | | const ::solidity::yul::test::yul_fuzzer::Expression& |
7441 | 0 | LogFunc::_Internal::t4(const LogFunc* msg) { |
7442 | 0 | return *msg->_impl_.t4_; |
7443 | 0 | } |
7444 | | LogFunc::LogFunc(::PROTOBUF_NAMESPACE_ID::Arena* arena, |
7445 | | bool is_message_owned) |
7446 | 10.0k | : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { |
7447 | 10.0k | SharedCtor(arena, is_message_owned); |
7448 | | // @@protoc_insertion_point(arena_constructor:solidity.yul.test.yul_fuzzer.LogFunc) |
7449 | 10.0k | } |
7450 | | LogFunc::LogFunc(const LogFunc& from) |
7451 | 0 | : ::PROTOBUF_NAMESPACE_ID::Message() { |
7452 | 0 | LogFunc* const _this = this; (void)_this; |
7453 | 0 | new (&_impl_) Impl_{ |
7454 | 0 | decltype(_impl_._has_bits_){from._impl_._has_bits_} |
7455 | 0 | , /*decltype(_impl_._cached_size_)*/{} |
7456 | 0 | , decltype(_impl_.pos_){nullptr} |
7457 | 0 | , decltype(_impl_.size_){nullptr} |
7458 | 0 | , decltype(_impl_.t1_){nullptr} |
7459 | 0 | , decltype(_impl_.t2_){nullptr} |
7460 | 0 | , decltype(_impl_.t3_){nullptr} |
7461 | 0 | , decltype(_impl_.t4_){nullptr} |
7462 | 0 | , decltype(_impl_.num_topics_){}}; |
7463 | |
|
7464 | 0 | _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); |
7465 | 0 | if (from._internal_has_pos()) { |
7466 | 0 | _this->_impl_.pos_ = new ::solidity::yul::test::yul_fuzzer::Expression(*from._impl_.pos_); |
7467 | 0 | } |
7468 | 0 | if (from._internal_has_size()) { |
7469 | 0 | _this->_impl_.size_ = new ::solidity::yul::test::yul_fuzzer::Expression(*from._impl_.size_); |
7470 | 0 | } |
7471 | 0 | if (from._internal_has_t1()) { |
7472 | 0 | _this->_impl_.t1_ = new ::solidity::yul::test::yul_fuzzer::Expression(*from._impl_.t1_); |
7473 | 0 | } |
7474 | 0 | if (from._internal_has_t2()) { |
7475 | 0 | _this->_impl_.t2_ = new ::solidity::yul::test::yul_fuzzer::Expression(*from._impl_.t2_); |
7476 | 0 | } |
7477 | 0 | if (from._internal_has_t3()) { |
7478 | 0 | _this->_impl_.t3_ = new ::solidity::yul::test::yul_fuzzer::Expression(*from._impl_.t3_); |
7479 | 0 | } |
7480 | 0 | if (from._internal_has_t4()) { |
7481 | 0 | _this->_impl_.t4_ = new ::solidity::yul::test::yul_fuzzer::Expression(*from._impl_.t4_); |
7482 | 0 | } |
7483 | 0 | _this->_impl_.num_topics_ = from._impl_.num_topics_; |
7484 | | // @@protoc_insertion_point(copy_constructor:solidity.yul.test.yul_fuzzer.LogFunc) |
7485 | 0 | } |
7486 | | |
7487 | | inline void LogFunc::SharedCtor( |
7488 | 10.0k | ::_pb::Arena* arena, bool is_message_owned) { |
7489 | 10.0k | (void)arena; |
7490 | 10.0k | (void)is_message_owned; |
7491 | 10.0k | new (&_impl_) Impl_{ |
7492 | 10.0k | decltype(_impl_._has_bits_){} |
7493 | 10.0k | , /*decltype(_impl_._cached_size_)*/{} |
7494 | 10.0k | , decltype(_impl_.pos_){nullptr} |
7495 | 10.0k | , decltype(_impl_.size_){nullptr} |
7496 | 10.0k | , decltype(_impl_.t1_){nullptr} |
7497 | 10.0k | , decltype(_impl_.t2_){nullptr} |
7498 | 10.0k | , decltype(_impl_.t3_){nullptr} |
7499 | 10.0k | , decltype(_impl_.t4_){nullptr} |
7500 | 10.0k | , decltype(_impl_.num_topics_){0} |
7501 | 10.0k | }; |
7502 | 10.0k | } |
7503 | | |
7504 | 10.0k | LogFunc::~LogFunc() { |
7505 | | // @@protoc_insertion_point(destructor:solidity.yul.test.yul_fuzzer.LogFunc) |
7506 | 10.0k | if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { |
7507 | 0 | (void)arena; |
7508 | 0 | return; |
7509 | 0 | } |
7510 | 10.0k | SharedDtor(); |
7511 | 10.0k | } |
7512 | | |
7513 | 10.0k | inline void LogFunc::SharedDtor() { |
7514 | 10.0k | GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); |
7515 | 10.0k | if (this != internal_default_instance()) delete _impl_.pos_; |
7516 | 10.0k | if (this != internal_default_instance()) delete _impl_.size_; |
7517 | 10.0k | if (this != internal_default_instance()) delete _impl_.t1_; |
7518 | 10.0k | if (this != internal_default_instance()) delete _impl_.t2_; |
7519 | 10.0k | if (this != internal_default_instance()) delete _impl_.t3_; |
7520 | 10.0k | if (this != internal_default_instance()) delete _impl_.t4_; |
7521 | 10.0k | } |
7522 | | |
7523 | 0 | void LogFunc::SetCachedSize(int size) const { |
7524 | 0 | _impl_._cached_size_.Set(size); |
7525 | 0 | } |
7526 | | |
7527 | 0 | void LogFunc::Clear() { |
7528 | | // @@protoc_insertion_point(message_clear_start:solidity.yul.test.yul_fuzzer.LogFunc) |
7529 | 0 | uint32_t cached_has_bits = 0; |
7530 | | // Prevent compiler warnings about cached_has_bits being unused |
7531 | 0 | (void) cached_has_bits; |
7532 | |
|
7533 | 0 | cached_has_bits = _impl_._has_bits_[0]; |
7534 | 0 | if (cached_has_bits & 0x0000003fu) { |
7535 | 0 | if (cached_has_bits & 0x00000001u) { |
7536 | 0 | GOOGLE_DCHECK(_impl_.pos_ != nullptr); |
7537 | 0 | _impl_.pos_->Clear(); |
7538 | 0 | } |
7539 | 0 | if (cached_has_bits & 0x00000002u) { |
7540 | 0 | GOOGLE_DCHECK(_impl_.size_ != nullptr); |
7541 | 0 | _impl_.size_->Clear(); |
7542 | 0 | } |
7543 | 0 | if (cached_has_bits & 0x00000004u) { |
7544 | 0 | GOOGLE_DCHECK(_impl_.t1_ != nullptr); |
7545 | 0 | _impl_.t1_->Clear(); |
7546 | 0 | } |
7547 | 0 | if (cached_has_bits & 0x00000008u) { |
7548 | 0 | GOOGLE_DCHECK(_impl_.t2_ != nullptr); |
7549 | 0 | _impl_.t2_->Clear(); |
7550 | 0 | } |
7551 | 0 | if (cached_has_bits & 0x00000010u) { |
7552 | 0 | GOOGLE_DCHECK(_impl_.t3_ != nullptr); |
7553 | 0 | _impl_.t3_->Clear(); |
7554 | 0 | } |
7555 | 0 | if (cached_has_bits & 0x00000020u) { |
7556 | 0 | GOOGLE_DCHECK(_impl_.t4_ != nullptr); |
7557 | 0 | _impl_.t4_->Clear(); |
7558 | 0 | } |
7559 | 0 | } |
7560 | 0 | _impl_.num_topics_ = 0; |
7561 | 0 | _impl_._has_bits_.Clear(); |
7562 | 0 | _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); |
7563 | 0 | } |
7564 | | |
7565 | 0 | const char* LogFunc::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { |
7566 | 0 | #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure |
7567 | 0 | _Internal::HasBits has_bits{}; |
7568 | 0 | while (!ctx->Done(&ptr)) { |
7569 | 0 | uint32_t tag; |
7570 | 0 | ptr = ::_pbi::ReadTag(ptr, &tag); |
7571 | 0 | switch (tag >> 3) { |
7572 | | // required .solidity.yul.test.yul_fuzzer.Expression pos = 1; |
7573 | 0 | case 1: |
7574 | 0 | if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 10)) { |
7575 | 0 | ptr = ctx->ParseMessage(_internal_mutable_pos(), ptr); |
7576 | 0 | CHK_(ptr); |
7577 | 0 | } else |
7578 | 0 | goto handle_unusual; |
7579 | 0 | continue; |
7580 | | // required .solidity.yul.test.yul_fuzzer.Expression size = 2; |
7581 | 0 | case 2: |
7582 | 0 | if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 18)) { |
7583 | 0 | ptr = ctx->ParseMessage(_internal_mutable_size(), ptr); |
7584 | 0 | CHK_(ptr); |
7585 | 0 | } else |
7586 | 0 | goto handle_unusual; |
7587 | 0 | continue; |
7588 | | // required .solidity.yul.test.yul_fuzzer.LogFunc.NumTopics num_topics = 3; |
7589 | 0 | case 3: |
7590 | 0 | if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 24)) { |
7591 | 0 | uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); |
7592 | 0 | CHK_(ptr); |
7593 | 0 | if (PROTOBUF_PREDICT_TRUE(::solidity::yul::test::yul_fuzzer::LogFunc_NumTopics_IsValid(val))) { |
7594 | 0 | _internal_set_num_topics(static_cast<::solidity::yul::test::yul_fuzzer::LogFunc_NumTopics>(val)); |
7595 | 0 | } else { |
7596 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::WriteVarint(3, val, mutable_unknown_fields()); |
7597 | 0 | } |
7598 | 0 | } else |
7599 | 0 | goto handle_unusual; |
7600 | 0 | continue; |
7601 | | // required .solidity.yul.test.yul_fuzzer.Expression t1 = 4; |
7602 | 0 | case 4: |
7603 | 0 | if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 34)) { |
7604 | 0 | ptr = ctx->ParseMessage(_internal_mutable_t1(), ptr); |
7605 | 0 | CHK_(ptr); |
7606 | 0 | } else |
7607 | 0 | goto handle_unusual; |
7608 | 0 | continue; |
7609 | | // required .solidity.yul.test.yul_fuzzer.Expression t2 = 5; |
7610 | 0 | case 5: |
7611 | 0 | if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 42)) { |
7612 | 0 | ptr = ctx->ParseMessage(_internal_mutable_t2(), ptr); |
7613 | 0 | CHK_(ptr); |
7614 | 0 | } else |
7615 | 0 | goto handle_unusual; |
7616 | 0 | continue; |
7617 | | // required .solidity.yul.test.yul_fuzzer.Expression t3 = 6; |
7618 | 0 | case 6: |
7619 | 0 | if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 50)) { |
7620 | 0 | ptr = ctx->ParseMessage(_internal_mutable_t3(), ptr); |
7621 | 0 | CHK_(ptr); |
7622 | 0 | } else |
7623 | 0 | goto handle_unusual; |
7624 | 0 | continue; |
7625 | | // required .solidity.yul.test.yul_fuzzer.Expression t4 = 7; |
7626 | 0 | case 7: |
7627 | 0 | if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 58)) { |
7628 | 0 | ptr = ctx->ParseMessage(_internal_mutable_t4(), ptr); |
7629 | 0 | CHK_(ptr); |
7630 | 0 | } else |
7631 | 0 | goto handle_unusual; |
7632 | 0 | continue; |
7633 | 0 | default: |
7634 | 0 | goto handle_unusual; |
7635 | 0 | } // switch |
7636 | 0 | handle_unusual: |
7637 | 0 | if ((tag == 0) || ((tag & 7) == 4)) { |
7638 | 0 | CHK_(ptr); |
7639 | 0 | ctx->SetLastTag(tag); |
7640 | 0 | goto message_done; |
7641 | 0 | } |
7642 | 0 | ptr = UnknownFieldParse( |
7643 | 0 | tag, |
7644 | 0 | _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), |
7645 | 0 | ptr, ctx); |
7646 | 0 | CHK_(ptr != nullptr); |
7647 | 0 | } // while |
7648 | 0 | message_done: |
7649 | 0 | _impl_._has_bits_.Or(has_bits); |
7650 | 0 | return ptr; |
7651 | 0 | failure: |
7652 | 0 | ptr = nullptr; |
7653 | 0 | goto message_done; |
7654 | 0 | #undef CHK_ |
7655 | 0 | } |
7656 | | |
7657 | | uint8_t* LogFunc::_InternalSerialize( |
7658 | 0 | uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { |
7659 | | // @@protoc_insertion_point(serialize_to_array_start:solidity.yul.test.yul_fuzzer.LogFunc) |
7660 | 0 | uint32_t cached_has_bits = 0; |
7661 | 0 | (void) cached_has_bits; |
7662 | |
|
7663 | 0 | cached_has_bits = _impl_._has_bits_[0]; |
7664 | | // required .solidity.yul.test.yul_fuzzer.Expression pos = 1; |
7665 | 0 | if (cached_has_bits & 0x00000001u) { |
7666 | 0 | target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: |
7667 | 0 | InternalWriteMessage(1, _Internal::pos(this), |
7668 | 0 | _Internal::pos(this).GetCachedSize(), target, stream); |
7669 | 0 | } |
7670 | | |
7671 | | // required .solidity.yul.test.yul_fuzzer.Expression size = 2; |
7672 | 0 | if (cached_has_bits & 0x00000002u) { |
7673 | 0 | target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: |
7674 | 0 | InternalWriteMessage(2, _Internal::size(this), |
7675 | 0 | _Internal::size(this).GetCachedSize(), target, stream); |
7676 | 0 | } |
7677 | | |
7678 | | // required .solidity.yul.test.yul_fuzzer.LogFunc.NumTopics num_topics = 3; |
7679 | 0 | if (cached_has_bits & 0x00000040u) { |
7680 | 0 | target = stream->EnsureSpace(target); |
7681 | 0 | target = ::_pbi::WireFormatLite::WriteEnumToArray( |
7682 | 0 | 3, this->_internal_num_topics(), target); |
7683 | 0 | } |
7684 | | |
7685 | | // required .solidity.yul.test.yul_fuzzer.Expression t1 = 4; |
7686 | 0 | if (cached_has_bits & 0x00000004u) { |
7687 | 0 | target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: |
7688 | 0 | InternalWriteMessage(4, _Internal::t1(this), |
7689 | 0 | _Internal::t1(this).GetCachedSize(), target, stream); |
7690 | 0 | } |
7691 | | |
7692 | | // required .solidity.yul.test.yul_fuzzer.Expression t2 = 5; |
7693 | 0 | if (cached_has_bits & 0x00000008u) { |
7694 | 0 | target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: |
7695 | 0 | InternalWriteMessage(5, _Internal::t2(this), |
7696 | 0 | _Internal::t2(this).GetCachedSize(), target, stream); |
7697 | 0 | } |
7698 | | |
7699 | | // required .solidity.yul.test.yul_fuzzer.Expression t3 = 6; |
7700 | 0 | if (cached_has_bits & 0x00000010u) { |
7701 | 0 | target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: |
7702 | 0 | InternalWriteMessage(6, _Internal::t3(this), |
7703 | 0 | _Internal::t3(this).GetCachedSize(), target, stream); |
7704 | 0 | } |
7705 | | |
7706 | | // required .solidity.yul.test.yul_fuzzer.Expression t4 = 7; |
7707 | 0 | if (cached_has_bits & 0x00000020u) { |
7708 | 0 | target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: |
7709 | 0 | InternalWriteMessage(7, _Internal::t4(this), |
7710 | 0 | _Internal::t4(this).GetCachedSize(), target, stream); |
7711 | 0 | } |
7712 | |
|
7713 | 0 | if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { |
7714 | 0 | target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( |
7715 | 0 | _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); |
7716 | 0 | } |
7717 | | // @@protoc_insertion_point(serialize_to_array_end:solidity.yul.test.yul_fuzzer.LogFunc) |
7718 | 0 | return target; |
7719 | 0 | } |
7720 | | |
7721 | 0 | size_t LogFunc::RequiredFieldsByteSizeFallback() const { |
7722 | | // @@protoc_insertion_point(required_fields_byte_size_fallback_start:solidity.yul.test.yul_fuzzer.LogFunc) |
7723 | 0 | size_t total_size = 0; |
7724 | |
|
7725 | 0 | if (_internal_has_pos()) { |
7726 | | // required .solidity.yul.test.yul_fuzzer.Expression pos = 1; |
7727 | 0 | total_size += 1 + |
7728 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
7729 | 0 | *_impl_.pos_); |
7730 | 0 | } |
7731 | |
|
7732 | 0 | if (_internal_has_size()) { |
7733 | | // required .solidity.yul.test.yul_fuzzer.Expression size = 2; |
7734 | 0 | total_size += 1 + |
7735 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
7736 | 0 | *_impl_.size_); |
7737 | 0 | } |
7738 | |
|
7739 | 0 | if (_internal_has_t1()) { |
7740 | | // required .solidity.yul.test.yul_fuzzer.Expression t1 = 4; |
7741 | 0 | total_size += 1 + |
7742 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
7743 | 0 | *_impl_.t1_); |
7744 | 0 | } |
7745 | |
|
7746 | 0 | if (_internal_has_t2()) { |
7747 | | // required .solidity.yul.test.yul_fuzzer.Expression t2 = 5; |
7748 | 0 | total_size += 1 + |
7749 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
7750 | 0 | *_impl_.t2_); |
7751 | 0 | } |
7752 | |
|
7753 | 0 | if (_internal_has_t3()) { |
7754 | | // required .solidity.yul.test.yul_fuzzer.Expression t3 = 6; |
7755 | 0 | total_size += 1 + |
7756 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
7757 | 0 | *_impl_.t3_); |
7758 | 0 | } |
7759 | |
|
7760 | 0 | if (_internal_has_t4()) { |
7761 | | // required .solidity.yul.test.yul_fuzzer.Expression t4 = 7; |
7762 | 0 | total_size += 1 + |
7763 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
7764 | 0 | *_impl_.t4_); |
7765 | 0 | } |
7766 | |
|
7767 | 0 | if (_internal_has_num_topics()) { |
7768 | | // required .solidity.yul.test.yul_fuzzer.LogFunc.NumTopics num_topics = 3; |
7769 | 0 | total_size += 1 + |
7770 | 0 | ::_pbi::WireFormatLite::EnumSize(this->_internal_num_topics()); |
7771 | 0 | } |
7772 | |
|
7773 | 0 | return total_size; |
7774 | 0 | } |
7775 | 7.10k | size_t LogFunc::ByteSizeLong() const { |
7776 | | // @@protoc_insertion_point(message_byte_size_start:solidity.yul.test.yul_fuzzer.LogFunc) |
7777 | 7.10k | size_t total_size = 0; |
7778 | | |
7779 | 7.10k | if (((_impl_._has_bits_[0] & 0x0000007f) ^ 0x0000007f) == 0) { // All required fields are present. |
7780 | | // required .solidity.yul.test.yul_fuzzer.Expression pos = 1; |
7781 | 7.10k | total_size += 1 + |
7782 | 7.10k | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
7783 | 7.10k | *_impl_.pos_); |
7784 | | |
7785 | | // required .solidity.yul.test.yul_fuzzer.Expression size = 2; |
7786 | 7.10k | total_size += 1 + |
7787 | 7.10k | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
7788 | 7.10k | *_impl_.size_); |
7789 | | |
7790 | | // required .solidity.yul.test.yul_fuzzer.Expression t1 = 4; |
7791 | 7.10k | total_size += 1 + |
7792 | 7.10k | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
7793 | 7.10k | *_impl_.t1_); |
7794 | | |
7795 | | // required .solidity.yul.test.yul_fuzzer.Expression t2 = 5; |
7796 | 7.10k | total_size += 1 + |
7797 | 7.10k | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
7798 | 7.10k | *_impl_.t2_); |
7799 | | |
7800 | | // required .solidity.yul.test.yul_fuzzer.Expression t3 = 6; |
7801 | 7.10k | total_size += 1 + |
7802 | 7.10k | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
7803 | 7.10k | *_impl_.t3_); |
7804 | | |
7805 | | // required .solidity.yul.test.yul_fuzzer.Expression t4 = 7; |
7806 | 7.10k | total_size += 1 + |
7807 | 7.10k | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
7808 | 7.10k | *_impl_.t4_); |
7809 | | |
7810 | | // required .solidity.yul.test.yul_fuzzer.LogFunc.NumTopics num_topics = 3; |
7811 | 7.10k | total_size += 1 + |
7812 | 7.10k | ::_pbi::WireFormatLite::EnumSize(this->_internal_num_topics()); |
7813 | | |
7814 | 7.10k | } else { |
7815 | 0 | total_size += RequiredFieldsByteSizeFallback(); |
7816 | 0 | } |
7817 | 7.10k | uint32_t cached_has_bits = 0; |
7818 | | // Prevent compiler warnings about cached_has_bits being unused |
7819 | 7.10k | (void) cached_has_bits; |
7820 | | |
7821 | 7.10k | return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); |
7822 | 7.10k | } |
7823 | | |
7824 | | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData LogFunc::_class_data_ = { |
7825 | | ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, |
7826 | | LogFunc::MergeImpl |
7827 | | }; |
7828 | 0 | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*LogFunc::GetClassData() const { return &_class_data_; } |
7829 | | |
7830 | | |
7831 | 0 | void LogFunc::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { |
7832 | 0 | auto* const _this = static_cast<LogFunc*>(&to_msg); |
7833 | 0 | auto& from = static_cast<const LogFunc&>(from_msg); |
7834 | | // @@protoc_insertion_point(class_specific_merge_from_start:solidity.yul.test.yul_fuzzer.LogFunc) |
7835 | 0 | GOOGLE_DCHECK_NE(&from, _this); |
7836 | 0 | uint32_t cached_has_bits = 0; |
7837 | 0 | (void) cached_has_bits; |
7838 | |
|
7839 | 0 | cached_has_bits = from._impl_._has_bits_[0]; |
7840 | 0 | if (cached_has_bits & 0x0000007fu) { |
7841 | 0 | if (cached_has_bits & 0x00000001u) { |
7842 | 0 | _this->_internal_mutable_pos()->::solidity::yul::test::yul_fuzzer::Expression::MergeFrom( |
7843 | 0 | from._internal_pos()); |
7844 | 0 | } |
7845 | 0 | if (cached_has_bits & 0x00000002u) { |
7846 | 0 | _this->_internal_mutable_size()->::solidity::yul::test::yul_fuzzer::Expression::MergeFrom( |
7847 | 0 | from._internal_size()); |
7848 | 0 | } |
7849 | 0 | if (cached_has_bits & 0x00000004u) { |
7850 | 0 | _this->_internal_mutable_t1()->::solidity::yul::test::yul_fuzzer::Expression::MergeFrom( |
7851 | 0 | from._internal_t1()); |
7852 | 0 | } |
7853 | 0 | if (cached_has_bits & 0x00000008u) { |
7854 | 0 | _this->_internal_mutable_t2()->::solidity::yul::test::yul_fuzzer::Expression::MergeFrom( |
7855 | 0 | from._internal_t2()); |
7856 | 0 | } |
7857 | 0 | if (cached_has_bits & 0x00000010u) { |
7858 | 0 | _this->_internal_mutable_t3()->::solidity::yul::test::yul_fuzzer::Expression::MergeFrom( |
7859 | 0 | from._internal_t3()); |
7860 | 0 | } |
7861 | 0 | if (cached_has_bits & 0x00000020u) { |
7862 | 0 | _this->_internal_mutable_t4()->::solidity::yul::test::yul_fuzzer::Expression::MergeFrom( |
7863 | 0 | from._internal_t4()); |
7864 | 0 | } |
7865 | 0 | if (cached_has_bits & 0x00000040u) { |
7866 | 0 | _this->_impl_.num_topics_ = from._impl_.num_topics_; |
7867 | 0 | } |
7868 | 0 | _this->_impl_._has_bits_[0] |= cached_has_bits; |
7869 | 0 | } |
7870 | 0 | _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); |
7871 | 0 | } |
7872 | | |
7873 | 0 | void LogFunc::CopyFrom(const LogFunc& from) { |
7874 | | // @@protoc_insertion_point(class_specific_copy_from_start:solidity.yul.test.yul_fuzzer.LogFunc) |
7875 | 0 | if (&from == this) return; |
7876 | 0 | Clear(); |
7877 | 0 | MergeFrom(from); |
7878 | 0 | } |
7879 | | |
7880 | 0 | bool LogFunc::IsInitialized() const { |
7881 | 0 | if (_Internal::MissingRequiredFields(_impl_._has_bits_)) return false; |
7882 | 0 | if (_internal_has_pos()) { |
7883 | 0 | if (!_impl_.pos_->IsInitialized()) return false; |
7884 | 0 | } |
7885 | 0 | if (_internal_has_size()) { |
7886 | 0 | if (!_impl_.size_->IsInitialized()) return false; |
7887 | 0 | } |
7888 | 0 | if (_internal_has_t1()) { |
7889 | 0 | if (!_impl_.t1_->IsInitialized()) return false; |
7890 | 0 | } |
7891 | 0 | if (_internal_has_t2()) { |
7892 | 0 | if (!_impl_.t2_->IsInitialized()) return false; |
7893 | 0 | } |
7894 | 0 | if (_internal_has_t3()) { |
7895 | 0 | if (!_impl_.t3_->IsInitialized()) return false; |
7896 | 0 | } |
7897 | 0 | if (_internal_has_t4()) { |
7898 | 0 | if (!_impl_.t4_->IsInitialized()) return false; |
7899 | 0 | } |
7900 | 0 | return true; |
7901 | 0 | } |
7902 | | |
7903 | 0 | void LogFunc::InternalSwap(LogFunc* other) { |
7904 | 0 | using std::swap; |
7905 | 0 | _internal_metadata_.InternalSwap(&other->_internal_metadata_); |
7906 | 0 | swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); |
7907 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::memswap< |
7908 | 0 | PROTOBUF_FIELD_OFFSET(LogFunc, _impl_.num_topics_) |
7909 | 0 | + sizeof(LogFunc::_impl_.num_topics_) |
7910 | 0 | - PROTOBUF_FIELD_OFFSET(LogFunc, _impl_.pos_)>( |
7911 | 0 | reinterpret_cast<char*>(&_impl_.pos_), |
7912 | 0 | reinterpret_cast<char*>(&other->_impl_.pos_)); |
7913 | 0 | } |
7914 | | |
7915 | 241k | ::PROTOBUF_NAMESPACE_ID::Metadata LogFunc::GetMetadata() const { |
7916 | 241k | return ::_pbi::AssignDescriptors( |
7917 | 241k | &descriptor_table_yulProto_2eproto_getter, &descriptor_table_yulProto_2eproto_once, |
7918 | 241k | file_level_metadata_yulProto_2eproto[17]); |
7919 | 241k | } |
7920 | | |
7921 | | // =================================================================== |
7922 | | |
7923 | | class Expression::_Internal { |
7924 | | public: |
7925 | | static const ::solidity::yul::test::yul_fuzzer::VarRef& varref(const Expression* msg); |
7926 | | static const ::solidity::yul::test::yul_fuzzer::Literal& cons(const Expression* msg); |
7927 | | static const ::solidity::yul::test::yul_fuzzer::BinaryOp& binop(const Expression* msg); |
7928 | | static const ::solidity::yul::test::yul_fuzzer::UnaryOp& unop(const Expression* msg); |
7929 | | static const ::solidity::yul::test::yul_fuzzer::TernaryOp& top(const Expression* msg); |
7930 | | static const ::solidity::yul::test::yul_fuzzer::NullaryOp& nop(const Expression* msg); |
7931 | | static const ::solidity::yul::test::yul_fuzzer::FunctionCall& func_expr(const Expression* msg); |
7932 | | static const ::solidity::yul::test::yul_fuzzer::LowLevelCall& lowcall(const Expression* msg); |
7933 | | static const ::solidity::yul::test::yul_fuzzer::Create& create(const Expression* msg); |
7934 | | static const ::solidity::yul::test::yul_fuzzer::UnaryOpData& unopdata(const Expression* msg); |
7935 | | }; |
7936 | | |
7937 | | const ::solidity::yul::test::yul_fuzzer::VarRef& |
7938 | 0 | Expression::_Internal::varref(const Expression* msg) { |
7939 | 0 | return *msg->_impl_.expr_oneof_.varref_; |
7940 | 0 | } |
7941 | | const ::solidity::yul::test::yul_fuzzer::Literal& |
7942 | 0 | Expression::_Internal::cons(const Expression* msg) { |
7943 | 0 | return *msg->_impl_.expr_oneof_.cons_; |
7944 | 0 | } |
7945 | | const ::solidity::yul::test::yul_fuzzer::BinaryOp& |
7946 | 0 | Expression::_Internal::binop(const Expression* msg) { |
7947 | 0 | return *msg->_impl_.expr_oneof_.binop_; |
7948 | 0 | } |
7949 | | const ::solidity::yul::test::yul_fuzzer::UnaryOp& |
7950 | 0 | Expression::_Internal::unop(const Expression* msg) { |
7951 | 0 | return *msg->_impl_.expr_oneof_.unop_; |
7952 | 0 | } |
7953 | | const ::solidity::yul::test::yul_fuzzer::TernaryOp& |
7954 | 0 | Expression::_Internal::top(const Expression* msg) { |
7955 | 0 | return *msg->_impl_.expr_oneof_.top_; |
7956 | 0 | } |
7957 | | const ::solidity::yul::test::yul_fuzzer::NullaryOp& |
7958 | 0 | Expression::_Internal::nop(const Expression* msg) { |
7959 | 0 | return *msg->_impl_.expr_oneof_.nop_; |
7960 | 0 | } |
7961 | | const ::solidity::yul::test::yul_fuzzer::FunctionCall& |
7962 | 0 | Expression::_Internal::func_expr(const Expression* msg) { |
7963 | 0 | return *msg->_impl_.expr_oneof_.func_expr_; |
7964 | 0 | } |
7965 | | const ::solidity::yul::test::yul_fuzzer::LowLevelCall& |
7966 | 0 | Expression::_Internal::lowcall(const Expression* msg) { |
7967 | 0 | return *msg->_impl_.expr_oneof_.lowcall_; |
7968 | 0 | } |
7969 | | const ::solidity::yul::test::yul_fuzzer::Create& |
7970 | 0 | Expression::_Internal::create(const Expression* msg) { |
7971 | 0 | return *msg->_impl_.expr_oneof_.create_; |
7972 | 0 | } |
7973 | | const ::solidity::yul::test::yul_fuzzer::UnaryOpData& |
7974 | 0 | Expression::_Internal::unopdata(const Expression* msg) { |
7975 | 0 | return *msg->_impl_.expr_oneof_.unopdata_; |
7976 | 0 | } |
7977 | 29.8k | void Expression::set_allocated_varref(::solidity::yul::test::yul_fuzzer::VarRef* varref) { |
7978 | 29.8k | ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); |
7979 | 29.8k | clear_expr_oneof(); |
7980 | 29.8k | if (varref) { |
7981 | 29.8k | ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = |
7982 | 29.8k | ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(varref); |
7983 | 29.8k | if (message_arena != submessage_arena) { |
7984 | 0 | varref = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( |
7985 | 0 | message_arena, varref, submessage_arena); |
7986 | 0 | } |
7987 | 29.8k | set_has_varref(); |
7988 | 29.8k | _impl_.expr_oneof_.varref_ = varref; |
7989 | 29.8k | } |
7990 | | // @@protoc_insertion_point(field_set_allocated:solidity.yul.test.yul_fuzzer.Expression.varref) |
7991 | 29.8k | } |
7992 | 29.8k | void Expression::set_allocated_cons(::solidity::yul::test::yul_fuzzer::Literal* cons) { |
7993 | 29.8k | ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); |
7994 | 29.8k | clear_expr_oneof(); |
7995 | 29.8k | if (cons) { |
7996 | 29.8k | ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = |
7997 | 29.8k | ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(cons); |
7998 | 29.8k | if (message_arena != submessage_arena) { |
7999 | 0 | cons = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( |
8000 | 0 | message_arena, cons, submessage_arena); |
8001 | 0 | } |
8002 | 29.8k | set_has_cons(); |
8003 | 29.8k | _impl_.expr_oneof_.cons_ = cons; |
8004 | 29.8k | } |
8005 | | // @@protoc_insertion_point(field_set_allocated:solidity.yul.test.yul_fuzzer.Expression.cons) |
8006 | 29.8k | } |
8007 | 0 | void Expression::set_allocated_binop(::solidity::yul::test::yul_fuzzer::BinaryOp* binop) { |
8008 | 0 | ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); |
8009 | 0 | clear_expr_oneof(); |
8010 | 0 | if (binop) { |
8011 | 0 | ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = |
8012 | 0 | ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(binop); |
8013 | 0 | if (message_arena != submessage_arena) { |
8014 | 0 | binop = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( |
8015 | 0 | message_arena, binop, submessage_arena); |
8016 | 0 | } |
8017 | 0 | set_has_binop(); |
8018 | 0 | _impl_.expr_oneof_.binop_ = binop; |
8019 | 0 | } |
8020 | | // @@protoc_insertion_point(field_set_allocated:solidity.yul.test.yul_fuzzer.Expression.binop) |
8021 | 0 | } |
8022 | 0 | void Expression::set_allocated_unop(::solidity::yul::test::yul_fuzzer::UnaryOp* unop) { |
8023 | 0 | ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); |
8024 | 0 | clear_expr_oneof(); |
8025 | 0 | if (unop) { |
8026 | 0 | ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = |
8027 | 0 | ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(unop); |
8028 | 0 | if (message_arena != submessage_arena) { |
8029 | 0 | unop = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( |
8030 | 0 | message_arena, unop, submessage_arena); |
8031 | 0 | } |
8032 | 0 | set_has_unop(); |
8033 | 0 | _impl_.expr_oneof_.unop_ = unop; |
8034 | 0 | } |
8035 | | // @@protoc_insertion_point(field_set_allocated:solidity.yul.test.yul_fuzzer.Expression.unop) |
8036 | 0 | } |
8037 | 0 | void Expression::set_allocated_top(::solidity::yul::test::yul_fuzzer::TernaryOp* top) { |
8038 | 0 | ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); |
8039 | 0 | clear_expr_oneof(); |
8040 | 0 | if (top) { |
8041 | 0 | ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = |
8042 | 0 | ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(top); |
8043 | 0 | if (message_arena != submessage_arena) { |
8044 | 0 | top = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( |
8045 | 0 | message_arena, top, submessage_arena); |
8046 | 0 | } |
8047 | 0 | set_has_top(); |
8048 | 0 | _impl_.expr_oneof_.top_ = top; |
8049 | 0 | } |
8050 | | // @@protoc_insertion_point(field_set_allocated:solidity.yul.test.yul_fuzzer.Expression.top) |
8051 | 0 | } |
8052 | 0 | void Expression::set_allocated_nop(::solidity::yul::test::yul_fuzzer::NullaryOp* nop) { |
8053 | 0 | ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); |
8054 | 0 | clear_expr_oneof(); |
8055 | 0 | if (nop) { |
8056 | 0 | ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = |
8057 | 0 | ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(nop); |
8058 | 0 | if (message_arena != submessage_arena) { |
8059 | 0 | nop = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( |
8060 | 0 | message_arena, nop, submessage_arena); |
8061 | 0 | } |
8062 | 0 | set_has_nop(); |
8063 | 0 | _impl_.expr_oneof_.nop_ = nop; |
8064 | 0 | } |
8065 | | // @@protoc_insertion_point(field_set_allocated:solidity.yul.test.yul_fuzzer.Expression.nop) |
8066 | 0 | } |
8067 | 0 | void Expression::set_allocated_func_expr(::solidity::yul::test::yul_fuzzer::FunctionCall* func_expr) { |
8068 | 0 | ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); |
8069 | 0 | clear_expr_oneof(); |
8070 | 0 | if (func_expr) { |
8071 | 0 | ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = |
8072 | 0 | ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(func_expr); |
8073 | 0 | if (message_arena != submessage_arena) { |
8074 | 0 | func_expr = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( |
8075 | 0 | message_arena, func_expr, submessage_arena); |
8076 | 0 | } |
8077 | 0 | set_has_func_expr(); |
8078 | 0 | _impl_.expr_oneof_.func_expr_ = func_expr; |
8079 | 0 | } |
8080 | | // @@protoc_insertion_point(field_set_allocated:solidity.yul.test.yul_fuzzer.Expression.func_expr) |
8081 | 0 | } |
8082 | 0 | void Expression::set_allocated_lowcall(::solidity::yul::test::yul_fuzzer::LowLevelCall* lowcall) { |
8083 | 0 | ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); |
8084 | 0 | clear_expr_oneof(); |
8085 | 0 | if (lowcall) { |
8086 | 0 | ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = |
8087 | 0 | ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(lowcall); |
8088 | 0 | if (message_arena != submessage_arena) { |
8089 | 0 | lowcall = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( |
8090 | 0 | message_arena, lowcall, submessage_arena); |
8091 | 0 | } |
8092 | 0 | set_has_lowcall(); |
8093 | 0 | _impl_.expr_oneof_.lowcall_ = lowcall; |
8094 | 0 | } |
8095 | | // @@protoc_insertion_point(field_set_allocated:solidity.yul.test.yul_fuzzer.Expression.lowcall) |
8096 | 0 | } |
8097 | 0 | void Expression::set_allocated_create(::solidity::yul::test::yul_fuzzer::Create* create) { |
8098 | 0 | ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); |
8099 | 0 | clear_expr_oneof(); |
8100 | 0 | if (create) { |
8101 | 0 | ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = |
8102 | 0 | ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(create); |
8103 | 0 | if (message_arena != submessage_arena) { |
8104 | 0 | create = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( |
8105 | 0 | message_arena, create, submessage_arena); |
8106 | 0 | } |
8107 | 0 | set_has_create(); |
8108 | 0 | _impl_.expr_oneof_.create_ = create; |
8109 | 0 | } |
8110 | | // @@protoc_insertion_point(field_set_allocated:solidity.yul.test.yul_fuzzer.Expression.create) |
8111 | 0 | } |
8112 | 0 | void Expression::set_allocated_unopdata(::solidity::yul::test::yul_fuzzer::UnaryOpData* unopdata) { |
8113 | 0 | ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); |
8114 | 0 | clear_expr_oneof(); |
8115 | 0 | if (unopdata) { |
8116 | 0 | ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = |
8117 | 0 | ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(unopdata); |
8118 | 0 | if (message_arena != submessage_arena) { |
8119 | 0 | unopdata = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( |
8120 | 0 | message_arena, unopdata, submessage_arena); |
8121 | 0 | } |
8122 | 0 | set_has_unopdata(); |
8123 | 0 | _impl_.expr_oneof_.unopdata_ = unopdata; |
8124 | 0 | } |
8125 | | // @@protoc_insertion_point(field_set_allocated:solidity.yul.test.yul_fuzzer.Expression.unopdata) |
8126 | 0 | } |
8127 | | Expression::Expression(::PROTOBUF_NAMESPACE_ID::Arena* arena, |
8128 | | bool is_message_owned) |
8129 | 2.68M | : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { |
8130 | 2.68M | SharedCtor(arena, is_message_owned); |
8131 | | // @@protoc_insertion_point(arena_constructor:solidity.yul.test.yul_fuzzer.Expression) |
8132 | 2.68M | } |
8133 | | Expression::Expression(const Expression& from) |
8134 | 0 | : ::PROTOBUF_NAMESPACE_ID::Message() { |
8135 | 0 | Expression* const _this = this; (void)_this; |
8136 | 0 | new (&_impl_) Impl_{ |
8137 | 0 | decltype(_impl_.expr_oneof_){} |
8138 | 0 | , /*decltype(_impl_._cached_size_)*/{} |
8139 | 0 | , /*decltype(_impl_._oneof_case_)*/{}}; |
8140 | |
|
8141 | 0 | _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); |
8142 | 0 | clear_has_expr_oneof(); |
8143 | 0 | switch (from.expr_oneof_case()) { |
8144 | 0 | case kVarref: { |
8145 | 0 | _this->_internal_mutable_varref()->::solidity::yul::test::yul_fuzzer::VarRef::MergeFrom( |
8146 | 0 | from._internal_varref()); |
8147 | 0 | break; |
8148 | 0 | } |
8149 | 0 | case kCons: { |
8150 | 0 | _this->_internal_mutable_cons()->::solidity::yul::test::yul_fuzzer::Literal::MergeFrom( |
8151 | 0 | from._internal_cons()); |
8152 | 0 | break; |
8153 | 0 | } |
8154 | 0 | case kBinop: { |
8155 | 0 | _this->_internal_mutable_binop()->::solidity::yul::test::yul_fuzzer::BinaryOp::MergeFrom( |
8156 | 0 | from._internal_binop()); |
8157 | 0 | break; |
8158 | 0 | } |
8159 | 0 | case kUnop: { |
8160 | 0 | _this->_internal_mutable_unop()->::solidity::yul::test::yul_fuzzer::UnaryOp::MergeFrom( |
8161 | 0 | from._internal_unop()); |
8162 | 0 | break; |
8163 | 0 | } |
8164 | 0 | case kTop: { |
8165 | 0 | _this->_internal_mutable_top()->::solidity::yul::test::yul_fuzzer::TernaryOp::MergeFrom( |
8166 | 0 | from._internal_top()); |
8167 | 0 | break; |
8168 | 0 | } |
8169 | 0 | case kNop: { |
8170 | 0 | _this->_internal_mutable_nop()->::solidity::yul::test::yul_fuzzer::NullaryOp::MergeFrom( |
8171 | 0 | from._internal_nop()); |
8172 | 0 | break; |
8173 | 0 | } |
8174 | 0 | case kFuncExpr: { |
8175 | 0 | _this->_internal_mutable_func_expr()->::solidity::yul::test::yul_fuzzer::FunctionCall::MergeFrom( |
8176 | 0 | from._internal_func_expr()); |
8177 | 0 | break; |
8178 | 0 | } |
8179 | 0 | case kLowcall: { |
8180 | 0 | _this->_internal_mutable_lowcall()->::solidity::yul::test::yul_fuzzer::LowLevelCall::MergeFrom( |
8181 | 0 | from._internal_lowcall()); |
8182 | 0 | break; |
8183 | 0 | } |
8184 | 0 | case kCreate: { |
8185 | 0 | _this->_internal_mutable_create()->::solidity::yul::test::yul_fuzzer::Create::MergeFrom( |
8186 | 0 | from._internal_create()); |
8187 | 0 | break; |
8188 | 0 | } |
8189 | 0 | case kUnopdata: { |
8190 | 0 | _this->_internal_mutable_unopdata()->::solidity::yul::test::yul_fuzzer::UnaryOpData::MergeFrom( |
8191 | 0 | from._internal_unopdata()); |
8192 | 0 | break; |
8193 | 0 | } |
8194 | 0 | case EXPR_ONEOF_NOT_SET: { |
8195 | 0 | break; |
8196 | 0 | } |
8197 | 0 | } |
8198 | | // @@protoc_insertion_point(copy_constructor:solidity.yul.test.yul_fuzzer.Expression) |
8199 | 0 | } |
8200 | | |
8201 | | inline void Expression::SharedCtor( |
8202 | 2.68M | ::_pb::Arena* arena, bool is_message_owned) { |
8203 | 2.68M | (void)arena; |
8204 | 2.68M | (void)is_message_owned; |
8205 | 2.68M | new (&_impl_) Impl_{ |
8206 | 2.68M | decltype(_impl_.expr_oneof_){} |
8207 | 2.68M | , /*decltype(_impl_._cached_size_)*/{} |
8208 | 2.68M | , /*decltype(_impl_._oneof_case_)*/{} |
8209 | 2.68M | }; |
8210 | 2.68M | clear_has_expr_oneof(); |
8211 | 2.68M | } |
8212 | | |
8213 | 2.68M | Expression::~Expression() { |
8214 | | // @@protoc_insertion_point(destructor:solidity.yul.test.yul_fuzzer.Expression) |
8215 | 2.68M | if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { |
8216 | 0 | (void)arena; |
8217 | 0 | return; |
8218 | 0 | } |
8219 | 2.68M | SharedDtor(); |
8220 | 2.68M | } |
8221 | | |
8222 | 2.68M | inline void Expression::SharedDtor() { |
8223 | 2.68M | GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); |
8224 | 2.68M | if (has_expr_oneof()) { |
8225 | 759k | clear_expr_oneof(); |
8226 | 759k | } |
8227 | 2.68M | } |
8228 | | |
8229 | 0 | void Expression::SetCachedSize(int size) const { |
8230 | 0 | _impl_._cached_size_.Set(size); |
8231 | 0 | } |
8232 | | |
8233 | 1.37M | void Expression::clear_expr_oneof() { |
8234 | | // @@protoc_insertion_point(one_of_clear_start:solidity.yul.test.yul_fuzzer.Expression) |
8235 | 1.37M | switch (expr_oneof_case()) { |
8236 | 180k | case kVarref: { |
8237 | 180k | if (GetArenaForAllocation() == nullptr) { |
8238 | 180k | delete _impl_.expr_oneof_.varref_; |
8239 | 180k | } |
8240 | 180k | break; |
8241 | 0 | } |
8242 | 172k | case kCons: { |
8243 | 172k | if (GetArenaForAllocation() == nullptr) { |
8244 | 172k | delete _impl_.expr_oneof_.cons_; |
8245 | 172k | } |
8246 | 172k | break; |
8247 | 0 | } |
8248 | 136k | case kBinop: { |
8249 | 136k | if (GetArenaForAllocation() == nullptr) { |
8250 | 136k | delete _impl_.expr_oneof_.binop_; |
8251 | 136k | } |
8252 | 136k | break; |
8253 | 0 | } |
8254 | 73.0k | case kUnop: { |
8255 | 73.0k | if (GetArenaForAllocation() == nullptr) { |
8256 | 73.0k | delete _impl_.expr_oneof_.unop_; |
8257 | 73.0k | } |
8258 | 73.0k | break; |
8259 | 0 | } |
8260 | 31.8k | case kTop: { |
8261 | 31.8k | if (GetArenaForAllocation() == nullptr) { |
8262 | 31.8k | delete _impl_.expr_oneof_.top_; |
8263 | 31.8k | } |
8264 | 31.8k | break; |
8265 | 0 | } |
8266 | 59.7k | case kNop: { |
8267 | 59.7k | if (GetArenaForAllocation() == nullptr) { |
8268 | 59.7k | delete _impl_.expr_oneof_.nop_; |
8269 | 59.7k | } |
8270 | 59.7k | break; |
8271 | 0 | } |
8272 | 34.5k | case kFuncExpr: { |
8273 | 34.5k | if (GetArenaForAllocation() == nullptr) { |
8274 | 34.5k | delete _impl_.expr_oneof_.func_expr_; |
8275 | 34.5k | } |
8276 | 34.5k | break; |
8277 | 0 | } |
8278 | 27.3k | case kLowcall: { |
8279 | 27.3k | if (GetArenaForAllocation() == nullptr) { |
8280 | 27.3k | delete _impl_.expr_oneof_.lowcall_; |
8281 | 27.3k | } |
8282 | 27.3k | break; |
8283 | 0 | } |
8284 | 14.4k | case kCreate: { |
8285 | 14.4k | if (GetArenaForAllocation() == nullptr) { |
8286 | 14.4k | delete _impl_.expr_oneof_.create_; |
8287 | 14.4k | } |
8288 | 14.4k | break; |
8289 | 0 | } |
8290 | 28.8k | case kUnopdata: { |
8291 | 28.8k | if (GetArenaForAllocation() == nullptr) { |
8292 | 28.8k | delete _impl_.expr_oneof_.unopdata_; |
8293 | 28.8k | } |
8294 | 28.8k | break; |
8295 | 0 | } |
8296 | 620k | case EXPR_ONEOF_NOT_SET: { |
8297 | 620k | break; |
8298 | 0 | } |
8299 | 1.37M | } |
8300 | 1.37M | _impl_._oneof_case_[0] = EXPR_ONEOF_NOT_SET; |
8301 | 1.37M | } |
8302 | | |
8303 | | |
8304 | 560k | void Expression::Clear() { |
8305 | | // @@protoc_insertion_point(message_clear_start:solidity.yul.test.yul_fuzzer.Expression) |
8306 | 560k | uint32_t cached_has_bits = 0; |
8307 | | // Prevent compiler warnings about cached_has_bits being unused |
8308 | 560k | (void) cached_has_bits; |
8309 | | |
8310 | 560k | clear_expr_oneof(); |
8311 | 560k | _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); |
8312 | 560k | } |
8313 | | |
8314 | 0 | const char* Expression::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { |
8315 | 0 | #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure |
8316 | 0 | while (!ctx->Done(&ptr)) { |
8317 | 0 | uint32_t tag; |
8318 | 0 | ptr = ::_pbi::ReadTag(ptr, &tag); |
8319 | 0 | switch (tag >> 3) { |
8320 | | // .solidity.yul.test.yul_fuzzer.VarRef varref = 1; |
8321 | 0 | case 1: |
8322 | 0 | if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 10)) { |
8323 | 0 | ptr = ctx->ParseMessage(_internal_mutable_varref(), ptr); |
8324 | 0 | CHK_(ptr); |
8325 | 0 | } else |
8326 | 0 | goto handle_unusual; |
8327 | 0 | continue; |
8328 | | // .solidity.yul.test.yul_fuzzer.Literal cons = 2; |
8329 | 0 | case 2: |
8330 | 0 | if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 18)) { |
8331 | 0 | ptr = ctx->ParseMessage(_internal_mutable_cons(), ptr); |
8332 | 0 | CHK_(ptr); |
8333 | 0 | } else |
8334 | 0 | goto handle_unusual; |
8335 | 0 | continue; |
8336 | | // .solidity.yul.test.yul_fuzzer.BinaryOp binop = 3; |
8337 | 0 | case 3: |
8338 | 0 | if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 26)) { |
8339 | 0 | ptr = ctx->ParseMessage(_internal_mutable_binop(), ptr); |
8340 | 0 | CHK_(ptr); |
8341 | 0 | } else |
8342 | 0 | goto handle_unusual; |
8343 | 0 | continue; |
8344 | | // .solidity.yul.test.yul_fuzzer.UnaryOp unop = 4; |
8345 | 0 | case 4: |
8346 | 0 | if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 34)) { |
8347 | 0 | ptr = ctx->ParseMessage(_internal_mutable_unop(), ptr); |
8348 | 0 | CHK_(ptr); |
8349 | 0 | } else |
8350 | 0 | goto handle_unusual; |
8351 | 0 | continue; |
8352 | | // .solidity.yul.test.yul_fuzzer.TernaryOp top = 5; |
8353 | 0 | case 5: |
8354 | 0 | if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 42)) { |
8355 | 0 | ptr = ctx->ParseMessage(_internal_mutable_top(), ptr); |
8356 | 0 | CHK_(ptr); |
8357 | 0 | } else |
8358 | 0 | goto handle_unusual; |
8359 | 0 | continue; |
8360 | | // .solidity.yul.test.yul_fuzzer.NullaryOp nop = 6; |
8361 | 0 | case 6: |
8362 | 0 | if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 50)) { |
8363 | 0 | ptr = ctx->ParseMessage(_internal_mutable_nop(), ptr); |
8364 | 0 | CHK_(ptr); |
8365 | 0 | } else |
8366 | 0 | goto handle_unusual; |
8367 | 0 | continue; |
8368 | | // .solidity.yul.test.yul_fuzzer.FunctionCall func_expr = 7; |
8369 | 0 | case 7: |
8370 | 0 | if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 58)) { |
8371 | 0 | ptr = ctx->ParseMessage(_internal_mutable_func_expr(), ptr); |
8372 | 0 | CHK_(ptr); |
8373 | 0 | } else |
8374 | 0 | goto handle_unusual; |
8375 | 0 | continue; |
8376 | | // .solidity.yul.test.yul_fuzzer.LowLevelCall lowcall = 8; |
8377 | 0 | case 8: |
8378 | 0 | if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 66)) { |
8379 | 0 | ptr = ctx->ParseMessage(_internal_mutable_lowcall(), ptr); |
8380 | 0 | CHK_(ptr); |
8381 | 0 | } else |
8382 | 0 | goto handle_unusual; |
8383 | 0 | continue; |
8384 | | // .solidity.yul.test.yul_fuzzer.Create create = 9; |
8385 | 0 | case 9: |
8386 | 0 | if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 74)) { |
8387 | 0 | ptr = ctx->ParseMessage(_internal_mutable_create(), ptr); |
8388 | 0 | CHK_(ptr); |
8389 | 0 | } else |
8390 | 0 | goto handle_unusual; |
8391 | 0 | continue; |
8392 | | // .solidity.yul.test.yul_fuzzer.UnaryOpData unopdata = 10; |
8393 | 0 | case 10: |
8394 | 0 | if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 82)) { |
8395 | 0 | ptr = ctx->ParseMessage(_internal_mutable_unopdata(), ptr); |
8396 | 0 | CHK_(ptr); |
8397 | 0 | } else |
8398 | 0 | goto handle_unusual; |
8399 | 0 | continue; |
8400 | 0 | default: |
8401 | 0 | goto handle_unusual; |
8402 | 0 | } // switch |
8403 | 0 | handle_unusual: |
8404 | 0 | if ((tag == 0) || ((tag & 7) == 4)) { |
8405 | 0 | CHK_(ptr); |
8406 | 0 | ctx->SetLastTag(tag); |
8407 | 0 | goto message_done; |
8408 | 0 | } |
8409 | 0 | ptr = UnknownFieldParse( |
8410 | 0 | tag, |
8411 | 0 | _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), |
8412 | 0 | ptr, ctx); |
8413 | 0 | CHK_(ptr != nullptr); |
8414 | 0 | } // while |
8415 | 0 | message_done: |
8416 | 0 | return ptr; |
8417 | 0 | failure: |
8418 | 0 | ptr = nullptr; |
8419 | 0 | goto message_done; |
8420 | 0 | #undef CHK_ |
8421 | 0 | } |
8422 | | |
8423 | | uint8_t* Expression::_InternalSerialize( |
8424 | 0 | uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { |
8425 | | // @@protoc_insertion_point(serialize_to_array_start:solidity.yul.test.yul_fuzzer.Expression) |
8426 | 0 | uint32_t cached_has_bits = 0; |
8427 | 0 | (void) cached_has_bits; |
8428 | |
|
8429 | 0 | switch (expr_oneof_case()) { |
8430 | 0 | case kVarref: { |
8431 | 0 | target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: |
8432 | 0 | InternalWriteMessage(1, _Internal::varref(this), |
8433 | 0 | _Internal::varref(this).GetCachedSize(), target, stream); |
8434 | 0 | break; |
8435 | 0 | } |
8436 | 0 | case kCons: { |
8437 | 0 | target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: |
8438 | 0 | InternalWriteMessage(2, _Internal::cons(this), |
8439 | 0 | _Internal::cons(this).GetCachedSize(), target, stream); |
8440 | 0 | break; |
8441 | 0 | } |
8442 | 0 | case kBinop: { |
8443 | 0 | target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: |
8444 | 0 | InternalWriteMessage(3, _Internal::binop(this), |
8445 | 0 | _Internal::binop(this).GetCachedSize(), target, stream); |
8446 | 0 | break; |
8447 | 0 | } |
8448 | 0 | case kUnop: { |
8449 | 0 | target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: |
8450 | 0 | InternalWriteMessage(4, _Internal::unop(this), |
8451 | 0 | _Internal::unop(this).GetCachedSize(), target, stream); |
8452 | 0 | break; |
8453 | 0 | } |
8454 | 0 | case kTop: { |
8455 | 0 | target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: |
8456 | 0 | InternalWriteMessage(5, _Internal::top(this), |
8457 | 0 | _Internal::top(this).GetCachedSize(), target, stream); |
8458 | 0 | break; |
8459 | 0 | } |
8460 | 0 | case kNop: { |
8461 | 0 | target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: |
8462 | 0 | InternalWriteMessage(6, _Internal::nop(this), |
8463 | 0 | _Internal::nop(this).GetCachedSize(), target, stream); |
8464 | 0 | break; |
8465 | 0 | } |
8466 | 0 | case kFuncExpr: { |
8467 | 0 | target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: |
8468 | 0 | InternalWriteMessage(7, _Internal::func_expr(this), |
8469 | 0 | _Internal::func_expr(this).GetCachedSize(), target, stream); |
8470 | 0 | break; |
8471 | 0 | } |
8472 | 0 | case kLowcall: { |
8473 | 0 | target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: |
8474 | 0 | InternalWriteMessage(8, _Internal::lowcall(this), |
8475 | 0 | _Internal::lowcall(this).GetCachedSize(), target, stream); |
8476 | 0 | break; |
8477 | 0 | } |
8478 | 0 | case kCreate: { |
8479 | 0 | target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: |
8480 | 0 | InternalWriteMessage(9, _Internal::create(this), |
8481 | 0 | _Internal::create(this).GetCachedSize(), target, stream); |
8482 | 0 | break; |
8483 | 0 | } |
8484 | 0 | case kUnopdata: { |
8485 | 0 | target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: |
8486 | 0 | InternalWriteMessage(10, _Internal::unopdata(this), |
8487 | 0 | _Internal::unopdata(this).GetCachedSize(), target, stream); |
8488 | 0 | break; |
8489 | 0 | } |
8490 | 0 | default: ; |
8491 | 0 | } |
8492 | 0 | if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { |
8493 | 0 | target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( |
8494 | 0 | _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); |
8495 | 0 | } |
8496 | | // @@protoc_insertion_point(serialize_to_array_end:solidity.yul.test.yul_fuzzer.Expression) |
8497 | 0 | return target; |
8498 | 0 | } |
8499 | | |
8500 | 2.28M | size_t Expression::ByteSizeLong() const { |
8501 | | // @@protoc_insertion_point(message_byte_size_start:solidity.yul.test.yul_fuzzer.Expression) |
8502 | 2.28M | size_t total_size = 0; |
8503 | | |
8504 | 2.28M | uint32_t cached_has_bits = 0; |
8505 | | // Prevent compiler warnings about cached_has_bits being unused |
8506 | 2.28M | (void) cached_has_bits; |
8507 | | |
8508 | 2.28M | switch (expr_oneof_case()) { |
8509 | | // .solidity.yul.test.yul_fuzzer.VarRef varref = 1; |
8510 | 176k | case kVarref: { |
8511 | 176k | total_size += 1 + |
8512 | 176k | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
8513 | 176k | *_impl_.expr_oneof_.varref_); |
8514 | 176k | break; |
8515 | 0 | } |
8516 | | // .solidity.yul.test.yul_fuzzer.Literal cons = 2; |
8517 | 161k | case kCons: { |
8518 | 161k | total_size += 1 + |
8519 | 161k | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
8520 | 161k | *_impl_.expr_oneof_.cons_); |
8521 | 161k | break; |
8522 | 0 | } |
8523 | | // .solidity.yul.test.yul_fuzzer.BinaryOp binop = 3; |
8524 | 128k | case kBinop: { |
8525 | 128k | total_size += 1 + |
8526 | 128k | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
8527 | 128k | *_impl_.expr_oneof_.binop_); |
8528 | 128k | break; |
8529 | 0 | } |
8530 | | // .solidity.yul.test.yul_fuzzer.UnaryOp unop = 4; |
8531 | 65.5k | case kUnop: { |
8532 | 65.5k | total_size += 1 + |
8533 | 65.5k | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
8534 | 65.5k | *_impl_.expr_oneof_.unop_); |
8535 | 65.5k | break; |
8536 | 0 | } |
8537 | | // .solidity.yul.test.yul_fuzzer.TernaryOp top = 5; |
8538 | 29.8k | case kTop: { |
8539 | 29.8k | total_size += 1 + |
8540 | 29.8k | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
8541 | 29.8k | *_impl_.expr_oneof_.top_); |
8542 | 29.8k | break; |
8543 | 0 | } |
8544 | | // .solidity.yul.test.yul_fuzzer.NullaryOp nop = 6; |
8545 | 55.3k | case kNop: { |
8546 | 55.3k | total_size += 1 + |
8547 | 55.3k | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
8548 | 55.3k | *_impl_.expr_oneof_.nop_); |
8549 | 55.3k | break; |
8550 | 0 | } |
8551 | | // .solidity.yul.test.yul_fuzzer.FunctionCall func_expr = 7; |
8552 | 33.5k | case kFuncExpr: { |
8553 | 33.5k | total_size += 1 + |
8554 | 33.5k | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
8555 | 33.5k | *_impl_.expr_oneof_.func_expr_); |
8556 | 33.5k | break; |
8557 | 0 | } |
8558 | | // .solidity.yul.test.yul_fuzzer.LowLevelCall lowcall = 8; |
8559 | 23.2k | case kLowcall: { |
8560 | 23.2k | total_size += 1 + |
8561 | 23.2k | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
8562 | 23.2k | *_impl_.expr_oneof_.lowcall_); |
8563 | 23.2k | break; |
8564 | 0 | } |
8565 | | // .solidity.yul.test.yul_fuzzer.Create create = 9; |
8566 | 11.4k | case kCreate: { |
8567 | 11.4k | total_size += 1 + |
8568 | 11.4k | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
8569 | 11.4k | *_impl_.expr_oneof_.create_); |
8570 | 11.4k | break; |
8571 | 0 | } |
8572 | | // .solidity.yul.test.yul_fuzzer.UnaryOpData unopdata = 10; |
8573 | 28.0k | case kUnopdata: { |
8574 | 28.0k | total_size += 1 + |
8575 | 28.0k | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
8576 | 28.0k | *_impl_.expr_oneof_.unopdata_); |
8577 | 28.0k | break; |
8578 | 0 | } |
8579 | 1.57M | case EXPR_ONEOF_NOT_SET: { |
8580 | 1.57M | break; |
8581 | 0 | } |
8582 | 2.28M | } |
8583 | 2.28M | return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); |
8584 | 2.28M | } |
8585 | | |
8586 | | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData Expression::_class_data_ = { |
8587 | | ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, |
8588 | | Expression::MergeImpl |
8589 | | }; |
8590 | 840k | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*Expression::GetClassData() const { return &_class_data_; } |
8591 | | |
8592 | | |
8593 | 280k | void Expression::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { |
8594 | 280k | auto* const _this = static_cast<Expression*>(&to_msg); |
8595 | 280k | auto& from = static_cast<const Expression&>(from_msg); |
8596 | | // @@protoc_insertion_point(class_specific_merge_from_start:solidity.yul.test.yul_fuzzer.Expression) |
8597 | 280k | GOOGLE_DCHECK_NE(&from, _this); |
8598 | 280k | uint32_t cached_has_bits = 0; |
8599 | 280k | (void) cached_has_bits; |
8600 | | |
8601 | 280k | switch (from.expr_oneof_case()) { |
8602 | 0 | case kVarref: { |
8603 | 0 | _this->_internal_mutable_varref()->::solidity::yul::test::yul_fuzzer::VarRef::MergeFrom( |
8604 | 0 | from._internal_varref()); |
8605 | 0 | break; |
8606 | 0 | } |
8607 | 0 | case kCons: { |
8608 | 0 | _this->_internal_mutable_cons()->::solidity::yul::test::yul_fuzzer::Literal::MergeFrom( |
8609 | 0 | from._internal_cons()); |
8610 | 0 | break; |
8611 | 0 | } |
8612 | 0 | case kBinop: { |
8613 | 0 | _this->_internal_mutable_binop()->::solidity::yul::test::yul_fuzzer::BinaryOp::MergeFrom( |
8614 | 0 | from._internal_binop()); |
8615 | 0 | break; |
8616 | 0 | } |
8617 | 0 | case kUnop: { |
8618 | 0 | _this->_internal_mutable_unop()->::solidity::yul::test::yul_fuzzer::UnaryOp::MergeFrom( |
8619 | 0 | from._internal_unop()); |
8620 | 0 | break; |
8621 | 0 | } |
8622 | 0 | case kTop: { |
8623 | 0 | _this->_internal_mutable_top()->::solidity::yul::test::yul_fuzzer::TernaryOp::MergeFrom( |
8624 | 0 | from._internal_top()); |
8625 | 0 | break; |
8626 | 0 | } |
8627 | 0 | case kNop: { |
8628 | 0 | _this->_internal_mutable_nop()->::solidity::yul::test::yul_fuzzer::NullaryOp::MergeFrom( |
8629 | 0 | from._internal_nop()); |
8630 | 0 | break; |
8631 | 0 | } |
8632 | 0 | case kFuncExpr: { |
8633 | 0 | _this->_internal_mutable_func_expr()->::solidity::yul::test::yul_fuzzer::FunctionCall::MergeFrom( |
8634 | 0 | from._internal_func_expr()); |
8635 | 0 | break; |
8636 | 0 | } |
8637 | 0 | case kLowcall: { |
8638 | 0 | _this->_internal_mutable_lowcall()->::solidity::yul::test::yul_fuzzer::LowLevelCall::MergeFrom( |
8639 | 0 | from._internal_lowcall()); |
8640 | 0 | break; |
8641 | 0 | } |
8642 | 0 | case kCreate: { |
8643 | 0 | _this->_internal_mutable_create()->::solidity::yul::test::yul_fuzzer::Create::MergeFrom( |
8644 | 0 | from._internal_create()); |
8645 | 0 | break; |
8646 | 0 | } |
8647 | 0 | case kUnopdata: { |
8648 | 0 | _this->_internal_mutable_unopdata()->::solidity::yul::test::yul_fuzzer::UnaryOpData::MergeFrom( |
8649 | 0 | from._internal_unopdata()); |
8650 | 0 | break; |
8651 | 0 | } |
8652 | 280k | case EXPR_ONEOF_NOT_SET: { |
8653 | 280k | break; |
8654 | 0 | } |
8655 | 280k | } |
8656 | 280k | _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); |
8657 | 280k | } |
8658 | | |
8659 | 0 | void Expression::CopyFrom(const Expression& from) { |
8660 | | // @@protoc_insertion_point(class_specific_copy_from_start:solidity.yul.test.yul_fuzzer.Expression) |
8661 | 0 | if (&from == this) return; |
8662 | 0 | Clear(); |
8663 | 0 | MergeFrom(from); |
8664 | 0 | } |
8665 | | |
8666 | 0 | bool Expression::IsInitialized() const { |
8667 | 0 | switch (expr_oneof_case()) { |
8668 | 0 | case kVarref: { |
8669 | 0 | if (_internal_has_varref()) { |
8670 | 0 | if (!_impl_.expr_oneof_.varref_->IsInitialized()) return false; |
8671 | 0 | } |
8672 | 0 | break; |
8673 | 0 | } |
8674 | 0 | case kCons: { |
8675 | 0 | break; |
8676 | 0 | } |
8677 | 0 | case kBinop: { |
8678 | 0 | if (_internal_has_binop()) { |
8679 | 0 | if (!_impl_.expr_oneof_.binop_->IsInitialized()) return false; |
8680 | 0 | } |
8681 | 0 | break; |
8682 | 0 | } |
8683 | 0 | case kUnop: { |
8684 | 0 | if (_internal_has_unop()) { |
8685 | 0 | if (!_impl_.expr_oneof_.unop_->IsInitialized()) return false; |
8686 | 0 | } |
8687 | 0 | break; |
8688 | 0 | } |
8689 | 0 | case kTop: { |
8690 | 0 | if (_internal_has_top()) { |
8691 | 0 | if (!_impl_.expr_oneof_.top_->IsInitialized()) return false; |
8692 | 0 | } |
8693 | 0 | break; |
8694 | 0 | } |
8695 | 0 | case kNop: { |
8696 | 0 | if (_internal_has_nop()) { |
8697 | 0 | if (!_impl_.expr_oneof_.nop_->IsInitialized()) return false; |
8698 | 0 | } |
8699 | 0 | break; |
8700 | 0 | } |
8701 | 0 | case kFuncExpr: { |
8702 | 0 | if (_internal_has_func_expr()) { |
8703 | 0 | if (!_impl_.expr_oneof_.func_expr_->IsInitialized()) return false; |
8704 | 0 | } |
8705 | 0 | break; |
8706 | 0 | } |
8707 | 0 | case kLowcall: { |
8708 | 0 | if (_internal_has_lowcall()) { |
8709 | 0 | if (!_impl_.expr_oneof_.lowcall_->IsInitialized()) return false; |
8710 | 0 | } |
8711 | 0 | break; |
8712 | 0 | } |
8713 | 0 | case kCreate: { |
8714 | 0 | if (_internal_has_create()) { |
8715 | 0 | if (!_impl_.expr_oneof_.create_->IsInitialized()) return false; |
8716 | 0 | } |
8717 | 0 | break; |
8718 | 0 | } |
8719 | 0 | case kUnopdata: { |
8720 | 0 | if (_internal_has_unopdata()) { |
8721 | 0 | if (!_impl_.expr_oneof_.unopdata_->IsInitialized()) return false; |
8722 | 0 | } |
8723 | 0 | break; |
8724 | 0 | } |
8725 | 0 | case EXPR_ONEOF_NOT_SET: { |
8726 | 0 | break; |
8727 | 0 | } |
8728 | 0 | } |
8729 | 0 | return true; |
8730 | 0 | } |
8731 | | |
8732 | 0 | void Expression::InternalSwap(Expression* other) { |
8733 | 0 | using std::swap; |
8734 | 0 | _internal_metadata_.InternalSwap(&other->_internal_metadata_); |
8735 | 0 | swap(_impl_.expr_oneof_, other->_impl_.expr_oneof_); |
8736 | 0 | swap(_impl_._oneof_case_[0], other->_impl_._oneof_case_[0]); |
8737 | 0 | } |
8738 | | |
8739 | 44.7M | ::PROTOBUF_NAMESPACE_ID::Metadata Expression::GetMetadata() const { |
8740 | 44.7M | return ::_pbi::AssignDescriptors( |
8741 | 44.7M | &descriptor_table_yulProto_2eproto_getter, &descriptor_table_yulProto_2eproto_once, |
8742 | 44.7M | file_level_metadata_yulProto_2eproto[18]); |
8743 | 44.7M | } |
8744 | | |
8745 | | // =================================================================== |
8746 | | |
8747 | | class AssignmentStatement::_Internal { |
8748 | | public: |
8749 | | using HasBits = decltype(std::declval<AssignmentStatement>()._impl_._has_bits_); |
8750 | | static const ::solidity::yul::test::yul_fuzzer::VarRef& ref_id(const AssignmentStatement* msg); |
8751 | 0 | static void set_has_ref_id(HasBits* has_bits) { |
8752 | 0 | (*has_bits)[0] |= 1u; |
8753 | 0 | } |
8754 | | static const ::solidity::yul::test::yul_fuzzer::Expression& expr(const AssignmentStatement* msg); |
8755 | 0 | static void set_has_expr(HasBits* has_bits) { |
8756 | 0 | (*has_bits)[0] |= 2u; |
8757 | 0 | } |
8758 | 0 | static bool MissingRequiredFields(const HasBits& has_bits) { |
8759 | 0 | return ((has_bits[0] & 0x00000003) ^ 0x00000003) != 0; |
8760 | 0 | } |
8761 | | }; |
8762 | | |
8763 | | const ::solidity::yul::test::yul_fuzzer::VarRef& |
8764 | 0 | AssignmentStatement::_Internal::ref_id(const AssignmentStatement* msg) { |
8765 | 0 | return *msg->_impl_.ref_id_; |
8766 | 0 | } |
8767 | | const ::solidity::yul::test::yul_fuzzer::Expression& |
8768 | 0 | AssignmentStatement::_Internal::expr(const AssignmentStatement* msg) { |
8769 | 0 | return *msg->_impl_.expr_; |
8770 | 0 | } |
8771 | | AssignmentStatement::AssignmentStatement(::PROTOBUF_NAMESPACE_ID::Arena* arena, |
8772 | | bool is_message_owned) |
8773 | 31.9k | : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { |
8774 | 31.9k | SharedCtor(arena, is_message_owned); |
8775 | | // @@protoc_insertion_point(arena_constructor:solidity.yul.test.yul_fuzzer.AssignmentStatement) |
8776 | 31.9k | } |
8777 | | AssignmentStatement::AssignmentStatement(const AssignmentStatement& from) |
8778 | 0 | : ::PROTOBUF_NAMESPACE_ID::Message() { |
8779 | 0 | AssignmentStatement* const _this = this; (void)_this; |
8780 | 0 | new (&_impl_) Impl_{ |
8781 | 0 | decltype(_impl_._has_bits_){from._impl_._has_bits_} |
8782 | 0 | , /*decltype(_impl_._cached_size_)*/{} |
8783 | 0 | , decltype(_impl_.ref_id_){nullptr} |
8784 | 0 | , decltype(_impl_.expr_){nullptr}}; |
8785 | |
|
8786 | 0 | _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); |
8787 | 0 | if (from._internal_has_ref_id()) { |
8788 | 0 | _this->_impl_.ref_id_ = new ::solidity::yul::test::yul_fuzzer::VarRef(*from._impl_.ref_id_); |
8789 | 0 | } |
8790 | 0 | if (from._internal_has_expr()) { |
8791 | 0 | _this->_impl_.expr_ = new ::solidity::yul::test::yul_fuzzer::Expression(*from._impl_.expr_); |
8792 | 0 | } |
8793 | | // @@protoc_insertion_point(copy_constructor:solidity.yul.test.yul_fuzzer.AssignmentStatement) |
8794 | 0 | } |
8795 | | |
8796 | | inline void AssignmentStatement::SharedCtor( |
8797 | 31.9k | ::_pb::Arena* arena, bool is_message_owned) { |
8798 | 31.9k | (void)arena; |
8799 | 31.9k | (void)is_message_owned; |
8800 | 31.9k | new (&_impl_) Impl_{ |
8801 | 31.9k | decltype(_impl_._has_bits_){} |
8802 | 31.9k | , /*decltype(_impl_._cached_size_)*/{} |
8803 | 31.9k | , decltype(_impl_.ref_id_){nullptr} |
8804 | 31.9k | , decltype(_impl_.expr_){nullptr} |
8805 | 31.9k | }; |
8806 | 31.9k | } |
8807 | | |
8808 | 31.9k | AssignmentStatement::~AssignmentStatement() { |
8809 | | // @@protoc_insertion_point(destructor:solidity.yul.test.yul_fuzzer.AssignmentStatement) |
8810 | 31.9k | if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { |
8811 | 0 | (void)arena; |
8812 | 0 | return; |
8813 | 0 | } |
8814 | 31.9k | SharedDtor(); |
8815 | 31.9k | } |
8816 | | |
8817 | 31.9k | inline void AssignmentStatement::SharedDtor() { |
8818 | 31.9k | GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); |
8819 | 31.9k | if (this != internal_default_instance()) delete _impl_.ref_id_; |
8820 | 31.9k | if (this != internal_default_instance()) delete _impl_.expr_; |
8821 | 31.9k | } |
8822 | | |
8823 | 0 | void AssignmentStatement::SetCachedSize(int size) const { |
8824 | 0 | _impl_._cached_size_.Set(size); |
8825 | 0 | } |
8826 | | |
8827 | 0 | void AssignmentStatement::Clear() { |
8828 | | // @@protoc_insertion_point(message_clear_start:solidity.yul.test.yul_fuzzer.AssignmentStatement) |
8829 | 0 | uint32_t cached_has_bits = 0; |
8830 | | // Prevent compiler warnings about cached_has_bits being unused |
8831 | 0 | (void) cached_has_bits; |
8832 | |
|
8833 | 0 | cached_has_bits = _impl_._has_bits_[0]; |
8834 | 0 | if (cached_has_bits & 0x00000003u) { |
8835 | 0 | if (cached_has_bits & 0x00000001u) { |
8836 | 0 | GOOGLE_DCHECK(_impl_.ref_id_ != nullptr); |
8837 | 0 | _impl_.ref_id_->Clear(); |
8838 | 0 | } |
8839 | 0 | if (cached_has_bits & 0x00000002u) { |
8840 | 0 | GOOGLE_DCHECK(_impl_.expr_ != nullptr); |
8841 | 0 | _impl_.expr_->Clear(); |
8842 | 0 | } |
8843 | 0 | } |
8844 | 0 | _impl_._has_bits_.Clear(); |
8845 | 0 | _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); |
8846 | 0 | } |
8847 | | |
8848 | 0 | const char* AssignmentStatement::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { |
8849 | 0 | #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure |
8850 | 0 | _Internal::HasBits has_bits{}; |
8851 | 0 | while (!ctx->Done(&ptr)) { |
8852 | 0 | uint32_t tag; |
8853 | 0 | ptr = ::_pbi::ReadTag(ptr, &tag); |
8854 | 0 | switch (tag >> 3) { |
8855 | | // required .solidity.yul.test.yul_fuzzer.VarRef ref_id = 1; |
8856 | 0 | case 1: |
8857 | 0 | if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 10)) { |
8858 | 0 | ptr = ctx->ParseMessage(_internal_mutable_ref_id(), ptr); |
8859 | 0 | CHK_(ptr); |
8860 | 0 | } else |
8861 | 0 | goto handle_unusual; |
8862 | 0 | continue; |
8863 | | // required .solidity.yul.test.yul_fuzzer.Expression expr = 2; |
8864 | 0 | case 2: |
8865 | 0 | if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 18)) { |
8866 | 0 | ptr = ctx->ParseMessage(_internal_mutable_expr(), ptr); |
8867 | 0 | CHK_(ptr); |
8868 | 0 | } else |
8869 | 0 | goto handle_unusual; |
8870 | 0 | continue; |
8871 | 0 | default: |
8872 | 0 | goto handle_unusual; |
8873 | 0 | } // switch |
8874 | 0 | handle_unusual: |
8875 | 0 | if ((tag == 0) || ((tag & 7) == 4)) { |
8876 | 0 | CHK_(ptr); |
8877 | 0 | ctx->SetLastTag(tag); |
8878 | 0 | goto message_done; |
8879 | 0 | } |
8880 | 0 | ptr = UnknownFieldParse( |
8881 | 0 | tag, |
8882 | 0 | _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), |
8883 | 0 | ptr, ctx); |
8884 | 0 | CHK_(ptr != nullptr); |
8885 | 0 | } // while |
8886 | 0 | message_done: |
8887 | 0 | _impl_._has_bits_.Or(has_bits); |
8888 | 0 | return ptr; |
8889 | 0 | failure: |
8890 | 0 | ptr = nullptr; |
8891 | 0 | goto message_done; |
8892 | 0 | #undef CHK_ |
8893 | 0 | } |
8894 | | |
8895 | | uint8_t* AssignmentStatement::_InternalSerialize( |
8896 | 0 | uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { |
8897 | | // @@protoc_insertion_point(serialize_to_array_start:solidity.yul.test.yul_fuzzer.AssignmentStatement) |
8898 | 0 | uint32_t cached_has_bits = 0; |
8899 | 0 | (void) cached_has_bits; |
8900 | |
|
8901 | 0 | cached_has_bits = _impl_._has_bits_[0]; |
8902 | | // required .solidity.yul.test.yul_fuzzer.VarRef ref_id = 1; |
8903 | 0 | if (cached_has_bits & 0x00000001u) { |
8904 | 0 | target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: |
8905 | 0 | InternalWriteMessage(1, _Internal::ref_id(this), |
8906 | 0 | _Internal::ref_id(this).GetCachedSize(), target, stream); |
8907 | 0 | } |
8908 | | |
8909 | | // required .solidity.yul.test.yul_fuzzer.Expression expr = 2; |
8910 | 0 | if (cached_has_bits & 0x00000002u) { |
8911 | 0 | target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: |
8912 | 0 | InternalWriteMessage(2, _Internal::expr(this), |
8913 | 0 | _Internal::expr(this).GetCachedSize(), target, stream); |
8914 | 0 | } |
8915 | |
|
8916 | 0 | if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { |
8917 | 0 | target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( |
8918 | 0 | _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); |
8919 | 0 | } |
8920 | | // @@protoc_insertion_point(serialize_to_array_end:solidity.yul.test.yul_fuzzer.AssignmentStatement) |
8921 | 0 | return target; |
8922 | 0 | } |
8923 | | |
8924 | 0 | size_t AssignmentStatement::RequiredFieldsByteSizeFallback() const { |
8925 | | // @@protoc_insertion_point(required_fields_byte_size_fallback_start:solidity.yul.test.yul_fuzzer.AssignmentStatement) |
8926 | 0 | size_t total_size = 0; |
8927 | |
|
8928 | 0 | if (_internal_has_ref_id()) { |
8929 | | // required .solidity.yul.test.yul_fuzzer.VarRef ref_id = 1; |
8930 | 0 | total_size += 1 + |
8931 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
8932 | 0 | *_impl_.ref_id_); |
8933 | 0 | } |
8934 | |
|
8935 | 0 | if (_internal_has_expr()) { |
8936 | | // required .solidity.yul.test.yul_fuzzer.Expression expr = 2; |
8937 | 0 | total_size += 1 + |
8938 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
8939 | 0 | *_impl_.expr_); |
8940 | 0 | } |
8941 | |
|
8942 | 0 | return total_size; |
8943 | 0 | } |
8944 | 28.4k | size_t AssignmentStatement::ByteSizeLong() const { |
8945 | | // @@protoc_insertion_point(message_byte_size_start:solidity.yul.test.yul_fuzzer.AssignmentStatement) |
8946 | 28.4k | size_t total_size = 0; |
8947 | | |
8948 | 28.4k | if (((_impl_._has_bits_[0] & 0x00000003) ^ 0x00000003) == 0) { // All required fields are present. |
8949 | | // required .solidity.yul.test.yul_fuzzer.VarRef ref_id = 1; |
8950 | 28.4k | total_size += 1 + |
8951 | 28.4k | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
8952 | 28.4k | *_impl_.ref_id_); |
8953 | | |
8954 | | // required .solidity.yul.test.yul_fuzzer.Expression expr = 2; |
8955 | 28.4k | total_size += 1 + |
8956 | 28.4k | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
8957 | 28.4k | *_impl_.expr_); |
8958 | | |
8959 | 28.4k | } else { |
8960 | 0 | total_size += RequiredFieldsByteSizeFallback(); |
8961 | 0 | } |
8962 | 28.4k | uint32_t cached_has_bits = 0; |
8963 | | // Prevent compiler warnings about cached_has_bits being unused |
8964 | 28.4k | (void) cached_has_bits; |
8965 | | |
8966 | 28.4k | return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); |
8967 | 28.4k | } |
8968 | | |
8969 | | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData AssignmentStatement::_class_data_ = { |
8970 | | ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, |
8971 | | AssignmentStatement::MergeImpl |
8972 | | }; |
8973 | 0 | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*AssignmentStatement::GetClassData() const { return &_class_data_; } |
8974 | | |
8975 | | |
8976 | 0 | void AssignmentStatement::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { |
8977 | 0 | auto* const _this = static_cast<AssignmentStatement*>(&to_msg); |
8978 | 0 | auto& from = static_cast<const AssignmentStatement&>(from_msg); |
8979 | | // @@protoc_insertion_point(class_specific_merge_from_start:solidity.yul.test.yul_fuzzer.AssignmentStatement) |
8980 | 0 | GOOGLE_DCHECK_NE(&from, _this); |
8981 | 0 | uint32_t cached_has_bits = 0; |
8982 | 0 | (void) cached_has_bits; |
8983 | |
|
8984 | 0 | cached_has_bits = from._impl_._has_bits_[0]; |
8985 | 0 | if (cached_has_bits & 0x00000003u) { |
8986 | 0 | if (cached_has_bits & 0x00000001u) { |
8987 | 0 | _this->_internal_mutable_ref_id()->::solidity::yul::test::yul_fuzzer::VarRef::MergeFrom( |
8988 | 0 | from._internal_ref_id()); |
8989 | 0 | } |
8990 | 0 | if (cached_has_bits & 0x00000002u) { |
8991 | 0 | _this->_internal_mutable_expr()->::solidity::yul::test::yul_fuzzer::Expression::MergeFrom( |
8992 | 0 | from._internal_expr()); |
8993 | 0 | } |
8994 | 0 | } |
8995 | 0 | _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); |
8996 | 0 | } |
8997 | | |
8998 | 0 | void AssignmentStatement::CopyFrom(const AssignmentStatement& from) { |
8999 | | // @@protoc_insertion_point(class_specific_copy_from_start:solidity.yul.test.yul_fuzzer.AssignmentStatement) |
9000 | 0 | if (&from == this) return; |
9001 | 0 | Clear(); |
9002 | 0 | MergeFrom(from); |
9003 | 0 | } |
9004 | | |
9005 | 0 | bool AssignmentStatement::IsInitialized() const { |
9006 | 0 | if (_Internal::MissingRequiredFields(_impl_._has_bits_)) return false; |
9007 | 0 | if (_internal_has_ref_id()) { |
9008 | 0 | if (!_impl_.ref_id_->IsInitialized()) return false; |
9009 | 0 | } |
9010 | 0 | if (_internal_has_expr()) { |
9011 | 0 | if (!_impl_.expr_->IsInitialized()) return false; |
9012 | 0 | } |
9013 | 0 | return true; |
9014 | 0 | } |
9015 | | |
9016 | 0 | void AssignmentStatement::InternalSwap(AssignmentStatement* other) { |
9017 | 0 | using std::swap; |
9018 | 0 | _internal_metadata_.InternalSwap(&other->_internal_metadata_); |
9019 | 0 | swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); |
9020 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::memswap< |
9021 | 0 | PROTOBUF_FIELD_OFFSET(AssignmentStatement, _impl_.expr_) |
9022 | 0 | + sizeof(AssignmentStatement::_impl_.expr_) |
9023 | 0 | - PROTOBUF_FIELD_OFFSET(AssignmentStatement, _impl_.ref_id_)>( |
9024 | 0 | reinterpret_cast<char*>(&_impl_.ref_id_), |
9025 | 0 | reinterpret_cast<char*>(&other->_impl_.ref_id_)); |
9026 | 0 | } |
9027 | | |
9028 | 435k | ::PROTOBUF_NAMESPACE_ID::Metadata AssignmentStatement::GetMetadata() const { |
9029 | 435k | return ::_pbi::AssignDescriptors( |
9030 | 435k | &descriptor_table_yulProto_2eproto_getter, &descriptor_table_yulProto_2eproto_once, |
9031 | 435k | file_level_metadata_yulProto_2eproto[19]); |
9032 | 435k | } |
9033 | | |
9034 | | // =================================================================== |
9035 | | |
9036 | | class IfStmt::_Internal { |
9037 | | public: |
9038 | | using HasBits = decltype(std::declval<IfStmt>()._impl_._has_bits_); |
9039 | | static const ::solidity::yul::test::yul_fuzzer::Expression& cond(const IfStmt* msg); |
9040 | 0 | static void set_has_cond(HasBits* has_bits) { |
9041 | 0 | (*has_bits)[0] |= 1u; |
9042 | 0 | } |
9043 | | static const ::solidity::yul::test::yul_fuzzer::Block& if_body(const IfStmt* msg); |
9044 | 0 | static void set_has_if_body(HasBits* has_bits) { |
9045 | 0 | (*has_bits)[0] |= 2u; |
9046 | 0 | } |
9047 | 0 | static bool MissingRequiredFields(const HasBits& has_bits) { |
9048 | 0 | return ((has_bits[0] & 0x00000003) ^ 0x00000003) != 0; |
9049 | 0 | } |
9050 | | }; |
9051 | | |
9052 | | const ::solidity::yul::test::yul_fuzzer::Expression& |
9053 | 0 | IfStmt::_Internal::cond(const IfStmt* msg) { |
9054 | 0 | return *msg->_impl_.cond_; |
9055 | 0 | } |
9056 | | const ::solidity::yul::test::yul_fuzzer::Block& |
9057 | 0 | IfStmt::_Internal::if_body(const IfStmt* msg) { |
9058 | 0 | return *msg->_impl_.if_body_; |
9059 | 0 | } |
9060 | | IfStmt::IfStmt(::PROTOBUF_NAMESPACE_ID::Arena* arena, |
9061 | | bool is_message_owned) |
9062 | 180k | : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { |
9063 | 180k | SharedCtor(arena, is_message_owned); |
9064 | | // @@protoc_insertion_point(arena_constructor:solidity.yul.test.yul_fuzzer.IfStmt) |
9065 | 180k | } |
9066 | | IfStmt::IfStmt(const IfStmt& from) |
9067 | 0 | : ::PROTOBUF_NAMESPACE_ID::Message() { |
9068 | 0 | IfStmt* const _this = this; (void)_this; |
9069 | 0 | new (&_impl_) Impl_{ |
9070 | 0 | decltype(_impl_._has_bits_){from._impl_._has_bits_} |
9071 | 0 | , /*decltype(_impl_._cached_size_)*/{} |
9072 | 0 | , decltype(_impl_.cond_){nullptr} |
9073 | 0 | , decltype(_impl_.if_body_){nullptr}}; |
9074 | |
|
9075 | 0 | _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); |
9076 | 0 | if (from._internal_has_cond()) { |
9077 | 0 | _this->_impl_.cond_ = new ::solidity::yul::test::yul_fuzzer::Expression(*from._impl_.cond_); |
9078 | 0 | } |
9079 | 0 | if (from._internal_has_if_body()) { |
9080 | 0 | _this->_impl_.if_body_ = new ::solidity::yul::test::yul_fuzzer::Block(*from._impl_.if_body_); |
9081 | 0 | } |
9082 | | // @@protoc_insertion_point(copy_constructor:solidity.yul.test.yul_fuzzer.IfStmt) |
9083 | 0 | } |
9084 | | |
9085 | | inline void IfStmt::SharedCtor( |
9086 | 180k | ::_pb::Arena* arena, bool is_message_owned) { |
9087 | 180k | (void)arena; |
9088 | 180k | (void)is_message_owned; |
9089 | 180k | new (&_impl_) Impl_{ |
9090 | 180k | decltype(_impl_._has_bits_){} |
9091 | 180k | , /*decltype(_impl_._cached_size_)*/{} |
9092 | 180k | , decltype(_impl_.cond_){nullptr} |
9093 | 180k | , decltype(_impl_.if_body_){nullptr} |
9094 | 180k | }; |
9095 | 180k | } |
9096 | | |
9097 | 180k | IfStmt::~IfStmt() { |
9098 | | // @@protoc_insertion_point(destructor:solidity.yul.test.yul_fuzzer.IfStmt) |
9099 | 180k | if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { |
9100 | 0 | (void)arena; |
9101 | 0 | return; |
9102 | 0 | } |
9103 | 180k | SharedDtor(); |
9104 | 180k | } |
9105 | | |
9106 | 180k | inline void IfStmt::SharedDtor() { |
9107 | 180k | GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); |
9108 | 180k | if (this != internal_default_instance()) delete _impl_.cond_; |
9109 | 180k | if (this != internal_default_instance()) delete _impl_.if_body_; |
9110 | 180k | } |
9111 | | |
9112 | 0 | void IfStmt::SetCachedSize(int size) const { |
9113 | 0 | _impl_._cached_size_.Set(size); |
9114 | 0 | } |
9115 | | |
9116 | 0 | void IfStmt::Clear() { |
9117 | | // @@protoc_insertion_point(message_clear_start:solidity.yul.test.yul_fuzzer.IfStmt) |
9118 | 0 | uint32_t cached_has_bits = 0; |
9119 | | // Prevent compiler warnings about cached_has_bits being unused |
9120 | 0 | (void) cached_has_bits; |
9121 | |
|
9122 | 0 | cached_has_bits = _impl_._has_bits_[0]; |
9123 | 0 | if (cached_has_bits & 0x00000003u) { |
9124 | 0 | if (cached_has_bits & 0x00000001u) { |
9125 | 0 | GOOGLE_DCHECK(_impl_.cond_ != nullptr); |
9126 | 0 | _impl_.cond_->Clear(); |
9127 | 0 | } |
9128 | 0 | if (cached_has_bits & 0x00000002u) { |
9129 | 0 | GOOGLE_DCHECK(_impl_.if_body_ != nullptr); |
9130 | 0 | _impl_.if_body_->Clear(); |
9131 | 0 | } |
9132 | 0 | } |
9133 | 0 | _impl_._has_bits_.Clear(); |
9134 | 0 | _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); |
9135 | 0 | } |
9136 | | |
9137 | 0 | const char* IfStmt::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { |
9138 | 0 | #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure |
9139 | 0 | _Internal::HasBits has_bits{}; |
9140 | 0 | while (!ctx->Done(&ptr)) { |
9141 | 0 | uint32_t tag; |
9142 | 0 | ptr = ::_pbi::ReadTag(ptr, &tag); |
9143 | 0 | switch (tag >> 3) { |
9144 | | // required .solidity.yul.test.yul_fuzzer.Expression cond = 1; |
9145 | 0 | case 1: |
9146 | 0 | if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 10)) { |
9147 | 0 | ptr = ctx->ParseMessage(_internal_mutable_cond(), ptr); |
9148 | 0 | CHK_(ptr); |
9149 | 0 | } else |
9150 | 0 | goto handle_unusual; |
9151 | 0 | continue; |
9152 | | // required .solidity.yul.test.yul_fuzzer.Block if_body = 2; |
9153 | 0 | case 2: |
9154 | 0 | if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 18)) { |
9155 | 0 | ptr = ctx->ParseMessage(_internal_mutable_if_body(), ptr); |
9156 | 0 | CHK_(ptr); |
9157 | 0 | } else |
9158 | 0 | goto handle_unusual; |
9159 | 0 | continue; |
9160 | 0 | default: |
9161 | 0 | goto handle_unusual; |
9162 | 0 | } // switch |
9163 | 0 | handle_unusual: |
9164 | 0 | if ((tag == 0) || ((tag & 7) == 4)) { |
9165 | 0 | CHK_(ptr); |
9166 | 0 | ctx->SetLastTag(tag); |
9167 | 0 | goto message_done; |
9168 | 0 | } |
9169 | 0 | ptr = UnknownFieldParse( |
9170 | 0 | tag, |
9171 | 0 | _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), |
9172 | 0 | ptr, ctx); |
9173 | 0 | CHK_(ptr != nullptr); |
9174 | 0 | } // while |
9175 | 0 | message_done: |
9176 | 0 | _impl_._has_bits_.Or(has_bits); |
9177 | 0 | return ptr; |
9178 | 0 | failure: |
9179 | 0 | ptr = nullptr; |
9180 | 0 | goto message_done; |
9181 | 0 | #undef CHK_ |
9182 | 0 | } |
9183 | | |
9184 | | uint8_t* IfStmt::_InternalSerialize( |
9185 | 0 | uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { |
9186 | | // @@protoc_insertion_point(serialize_to_array_start:solidity.yul.test.yul_fuzzer.IfStmt) |
9187 | 0 | uint32_t cached_has_bits = 0; |
9188 | 0 | (void) cached_has_bits; |
9189 | |
|
9190 | 0 | cached_has_bits = _impl_._has_bits_[0]; |
9191 | | // required .solidity.yul.test.yul_fuzzer.Expression cond = 1; |
9192 | 0 | if (cached_has_bits & 0x00000001u) { |
9193 | 0 | target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: |
9194 | 0 | InternalWriteMessage(1, _Internal::cond(this), |
9195 | 0 | _Internal::cond(this).GetCachedSize(), target, stream); |
9196 | 0 | } |
9197 | | |
9198 | | // required .solidity.yul.test.yul_fuzzer.Block if_body = 2; |
9199 | 0 | if (cached_has_bits & 0x00000002u) { |
9200 | 0 | target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: |
9201 | 0 | InternalWriteMessage(2, _Internal::if_body(this), |
9202 | 0 | _Internal::if_body(this).GetCachedSize(), target, stream); |
9203 | 0 | } |
9204 | |
|
9205 | 0 | if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { |
9206 | 0 | target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( |
9207 | 0 | _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); |
9208 | 0 | } |
9209 | | // @@protoc_insertion_point(serialize_to_array_end:solidity.yul.test.yul_fuzzer.IfStmt) |
9210 | 0 | return target; |
9211 | 0 | } |
9212 | | |
9213 | 53.9k | size_t IfStmt::RequiredFieldsByteSizeFallback() const { |
9214 | | // @@protoc_insertion_point(required_fields_byte_size_fallback_start:solidity.yul.test.yul_fuzzer.IfStmt) |
9215 | 53.9k | size_t total_size = 0; |
9216 | | |
9217 | 53.9k | if (_internal_has_cond()) { |
9218 | | // required .solidity.yul.test.yul_fuzzer.Expression cond = 1; |
9219 | 0 | total_size += 1 + |
9220 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
9221 | 0 | *_impl_.cond_); |
9222 | 0 | } |
9223 | | |
9224 | 53.9k | if (_internal_has_if_body()) { |
9225 | | // required .solidity.yul.test.yul_fuzzer.Block if_body = 2; |
9226 | 0 | total_size += 1 + |
9227 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
9228 | 0 | *_impl_.if_body_); |
9229 | 0 | } |
9230 | | |
9231 | 53.9k | return total_size; |
9232 | 53.9k | } |
9233 | 176k | size_t IfStmt::ByteSizeLong() const { |
9234 | | // @@protoc_insertion_point(message_byte_size_start:solidity.yul.test.yul_fuzzer.IfStmt) |
9235 | 176k | size_t total_size = 0; |
9236 | | |
9237 | 176k | if (((_impl_._has_bits_[0] & 0x00000003) ^ 0x00000003) == 0) { // All required fields are present. |
9238 | | // required .solidity.yul.test.yul_fuzzer.Expression cond = 1; |
9239 | 122k | total_size += 1 + |
9240 | 122k | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
9241 | 122k | *_impl_.cond_); |
9242 | | |
9243 | | // required .solidity.yul.test.yul_fuzzer.Block if_body = 2; |
9244 | 122k | total_size += 1 + |
9245 | 122k | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
9246 | 122k | *_impl_.if_body_); |
9247 | | |
9248 | 122k | } else { |
9249 | 53.9k | total_size += RequiredFieldsByteSizeFallback(); |
9250 | 53.9k | } |
9251 | 176k | uint32_t cached_has_bits = 0; |
9252 | | // Prevent compiler warnings about cached_has_bits being unused |
9253 | 176k | (void) cached_has_bits; |
9254 | | |
9255 | 176k | return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); |
9256 | 176k | } |
9257 | | |
9258 | | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData IfStmt::_class_data_ = { |
9259 | | ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, |
9260 | | IfStmt::MergeImpl |
9261 | | }; |
9262 | 0 | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*IfStmt::GetClassData() const { return &_class_data_; } |
9263 | | |
9264 | | |
9265 | 0 | void IfStmt::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { |
9266 | 0 | auto* const _this = static_cast<IfStmt*>(&to_msg); |
9267 | 0 | auto& from = static_cast<const IfStmt&>(from_msg); |
9268 | | // @@protoc_insertion_point(class_specific_merge_from_start:solidity.yul.test.yul_fuzzer.IfStmt) |
9269 | 0 | GOOGLE_DCHECK_NE(&from, _this); |
9270 | 0 | uint32_t cached_has_bits = 0; |
9271 | 0 | (void) cached_has_bits; |
9272 | |
|
9273 | 0 | cached_has_bits = from._impl_._has_bits_[0]; |
9274 | 0 | if (cached_has_bits & 0x00000003u) { |
9275 | 0 | if (cached_has_bits & 0x00000001u) { |
9276 | 0 | _this->_internal_mutable_cond()->::solidity::yul::test::yul_fuzzer::Expression::MergeFrom( |
9277 | 0 | from._internal_cond()); |
9278 | 0 | } |
9279 | 0 | if (cached_has_bits & 0x00000002u) { |
9280 | 0 | _this->_internal_mutable_if_body()->::solidity::yul::test::yul_fuzzer::Block::MergeFrom( |
9281 | 0 | from._internal_if_body()); |
9282 | 0 | } |
9283 | 0 | } |
9284 | 0 | _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); |
9285 | 0 | } |
9286 | | |
9287 | 0 | void IfStmt::CopyFrom(const IfStmt& from) { |
9288 | | // @@protoc_insertion_point(class_specific_copy_from_start:solidity.yul.test.yul_fuzzer.IfStmt) |
9289 | 0 | if (&from == this) return; |
9290 | 0 | Clear(); |
9291 | 0 | MergeFrom(from); |
9292 | 0 | } |
9293 | | |
9294 | 0 | bool IfStmt::IsInitialized() const { |
9295 | 0 | if (_Internal::MissingRequiredFields(_impl_._has_bits_)) return false; |
9296 | 0 | if (_internal_has_cond()) { |
9297 | 0 | if (!_impl_.cond_->IsInitialized()) return false; |
9298 | 0 | } |
9299 | 0 | if (_internal_has_if_body()) { |
9300 | 0 | if (!_impl_.if_body_->IsInitialized()) return false; |
9301 | 0 | } |
9302 | 0 | return true; |
9303 | 0 | } |
9304 | | |
9305 | 0 | void IfStmt::InternalSwap(IfStmt* other) { |
9306 | 0 | using std::swap; |
9307 | 0 | _internal_metadata_.InternalSwap(&other->_internal_metadata_); |
9308 | 0 | swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); |
9309 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::memswap< |
9310 | 0 | PROTOBUF_FIELD_OFFSET(IfStmt, _impl_.if_body_) |
9311 | 0 | + sizeof(IfStmt::_impl_.if_body_) |
9312 | 0 | - PROTOBUF_FIELD_OFFSET(IfStmt, _impl_.cond_)>( |
9313 | 0 | reinterpret_cast<char*>(&_impl_.cond_), |
9314 | 0 | reinterpret_cast<char*>(&other->_impl_.cond_)); |
9315 | 0 | } |
9316 | | |
9317 | 6.44M | ::PROTOBUF_NAMESPACE_ID::Metadata IfStmt::GetMetadata() const { |
9318 | 6.44M | return ::_pbi::AssignDescriptors( |
9319 | 6.44M | &descriptor_table_yulProto_2eproto_getter, &descriptor_table_yulProto_2eproto_once, |
9320 | 6.44M | file_level_metadata_yulProto_2eproto[20]); |
9321 | 6.44M | } |
9322 | | |
9323 | | // =================================================================== |
9324 | | |
9325 | | class BoundedForStmt::_Internal { |
9326 | | public: |
9327 | | using HasBits = decltype(std::declval<BoundedForStmt>()._impl_._has_bits_); |
9328 | | static const ::solidity::yul::test::yul_fuzzer::Block& for_body(const BoundedForStmt* msg); |
9329 | 0 | static void set_has_for_body(HasBits* has_bits) { |
9330 | 0 | (*has_bits)[0] |= 1u; |
9331 | 0 | } |
9332 | 0 | static bool MissingRequiredFields(const HasBits& has_bits) { |
9333 | 0 | return ((has_bits[0] & 0x00000001) ^ 0x00000001) != 0; |
9334 | 0 | } |
9335 | | }; |
9336 | | |
9337 | | const ::solidity::yul::test::yul_fuzzer::Block& |
9338 | 0 | BoundedForStmt::_Internal::for_body(const BoundedForStmt* msg) { |
9339 | 0 | return *msg->_impl_.for_body_; |
9340 | 0 | } |
9341 | | BoundedForStmt::BoundedForStmt(::PROTOBUF_NAMESPACE_ID::Arena* arena, |
9342 | | bool is_message_owned) |
9343 | 185k | : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { |
9344 | 185k | SharedCtor(arena, is_message_owned); |
9345 | | // @@protoc_insertion_point(arena_constructor:solidity.yul.test.yul_fuzzer.BoundedForStmt) |
9346 | 185k | } |
9347 | | BoundedForStmt::BoundedForStmt(const BoundedForStmt& from) |
9348 | 0 | : ::PROTOBUF_NAMESPACE_ID::Message() { |
9349 | 0 | BoundedForStmt* const _this = this; (void)_this; |
9350 | 0 | new (&_impl_) Impl_{ |
9351 | 0 | decltype(_impl_._has_bits_){from._impl_._has_bits_} |
9352 | 0 | , /*decltype(_impl_._cached_size_)*/{} |
9353 | 0 | , decltype(_impl_.for_body_){nullptr}}; |
9354 | |
|
9355 | 0 | _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); |
9356 | 0 | if (from._internal_has_for_body()) { |
9357 | 0 | _this->_impl_.for_body_ = new ::solidity::yul::test::yul_fuzzer::Block(*from._impl_.for_body_); |
9358 | 0 | } |
9359 | | // @@protoc_insertion_point(copy_constructor:solidity.yul.test.yul_fuzzer.BoundedForStmt) |
9360 | 0 | } |
9361 | | |
9362 | | inline void BoundedForStmt::SharedCtor( |
9363 | 185k | ::_pb::Arena* arena, bool is_message_owned) { |
9364 | 185k | (void)arena; |
9365 | 185k | (void)is_message_owned; |
9366 | 185k | new (&_impl_) Impl_{ |
9367 | 185k | decltype(_impl_._has_bits_){} |
9368 | 185k | , /*decltype(_impl_._cached_size_)*/{} |
9369 | 185k | , decltype(_impl_.for_body_){nullptr} |
9370 | 185k | }; |
9371 | 185k | } |
9372 | | |
9373 | 185k | BoundedForStmt::~BoundedForStmt() { |
9374 | | // @@protoc_insertion_point(destructor:solidity.yul.test.yul_fuzzer.BoundedForStmt) |
9375 | 185k | if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { |
9376 | 0 | (void)arena; |
9377 | 0 | return; |
9378 | 0 | } |
9379 | 185k | SharedDtor(); |
9380 | 185k | } |
9381 | | |
9382 | 185k | inline void BoundedForStmt::SharedDtor() { |
9383 | 185k | GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); |
9384 | 185k | if (this != internal_default_instance()) delete _impl_.for_body_; |
9385 | 185k | } |
9386 | | |
9387 | 0 | void BoundedForStmt::SetCachedSize(int size) const { |
9388 | 0 | _impl_._cached_size_.Set(size); |
9389 | 0 | } |
9390 | | |
9391 | 0 | void BoundedForStmt::Clear() { |
9392 | | // @@protoc_insertion_point(message_clear_start:solidity.yul.test.yul_fuzzer.BoundedForStmt) |
9393 | 0 | uint32_t cached_has_bits = 0; |
9394 | | // Prevent compiler warnings about cached_has_bits being unused |
9395 | 0 | (void) cached_has_bits; |
9396 | |
|
9397 | 0 | cached_has_bits = _impl_._has_bits_[0]; |
9398 | 0 | if (cached_has_bits & 0x00000001u) { |
9399 | 0 | GOOGLE_DCHECK(_impl_.for_body_ != nullptr); |
9400 | 0 | _impl_.for_body_->Clear(); |
9401 | 0 | } |
9402 | 0 | _impl_._has_bits_.Clear(); |
9403 | 0 | _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); |
9404 | 0 | } |
9405 | | |
9406 | 0 | const char* BoundedForStmt::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { |
9407 | 0 | #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure |
9408 | 0 | _Internal::HasBits has_bits{}; |
9409 | 0 | while (!ctx->Done(&ptr)) { |
9410 | 0 | uint32_t tag; |
9411 | 0 | ptr = ::_pbi::ReadTag(ptr, &tag); |
9412 | 0 | switch (tag >> 3) { |
9413 | | // required .solidity.yul.test.yul_fuzzer.Block for_body = 1; |
9414 | 0 | case 1: |
9415 | 0 | if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 10)) { |
9416 | 0 | ptr = ctx->ParseMessage(_internal_mutable_for_body(), ptr); |
9417 | 0 | CHK_(ptr); |
9418 | 0 | } else |
9419 | 0 | goto handle_unusual; |
9420 | 0 | continue; |
9421 | 0 | default: |
9422 | 0 | goto handle_unusual; |
9423 | 0 | } // switch |
9424 | 0 | handle_unusual: |
9425 | 0 | if ((tag == 0) || ((tag & 7) == 4)) { |
9426 | 0 | CHK_(ptr); |
9427 | 0 | ctx->SetLastTag(tag); |
9428 | 0 | goto message_done; |
9429 | 0 | } |
9430 | 0 | ptr = UnknownFieldParse( |
9431 | 0 | tag, |
9432 | 0 | _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), |
9433 | 0 | ptr, ctx); |
9434 | 0 | CHK_(ptr != nullptr); |
9435 | 0 | } // while |
9436 | 0 | message_done: |
9437 | 0 | _impl_._has_bits_.Or(has_bits); |
9438 | 0 | return ptr; |
9439 | 0 | failure: |
9440 | 0 | ptr = nullptr; |
9441 | 0 | goto message_done; |
9442 | 0 | #undef CHK_ |
9443 | 0 | } |
9444 | | |
9445 | | uint8_t* BoundedForStmt::_InternalSerialize( |
9446 | 0 | uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { |
9447 | | // @@protoc_insertion_point(serialize_to_array_start:solidity.yul.test.yul_fuzzer.BoundedForStmt) |
9448 | 0 | uint32_t cached_has_bits = 0; |
9449 | 0 | (void) cached_has_bits; |
9450 | |
|
9451 | 0 | cached_has_bits = _impl_._has_bits_[0]; |
9452 | | // required .solidity.yul.test.yul_fuzzer.Block for_body = 1; |
9453 | 0 | if (cached_has_bits & 0x00000001u) { |
9454 | 0 | target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: |
9455 | 0 | InternalWriteMessage(1, _Internal::for_body(this), |
9456 | 0 | _Internal::for_body(this).GetCachedSize(), target, stream); |
9457 | 0 | } |
9458 | |
|
9459 | 0 | if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { |
9460 | 0 | target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( |
9461 | 0 | _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); |
9462 | 0 | } |
9463 | | // @@protoc_insertion_point(serialize_to_array_end:solidity.yul.test.yul_fuzzer.BoundedForStmt) |
9464 | 0 | return target; |
9465 | 0 | } |
9466 | | |
9467 | 182k | size_t BoundedForStmt::ByteSizeLong() const { |
9468 | | // @@protoc_insertion_point(message_byte_size_start:solidity.yul.test.yul_fuzzer.BoundedForStmt) |
9469 | 182k | size_t total_size = 0; |
9470 | | |
9471 | | // required .solidity.yul.test.yul_fuzzer.Block for_body = 1; |
9472 | 182k | if (_internal_has_for_body()) { |
9473 | 128k | total_size += 1 + |
9474 | 128k | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
9475 | 128k | *_impl_.for_body_); |
9476 | 128k | } |
9477 | 182k | uint32_t cached_has_bits = 0; |
9478 | | // Prevent compiler warnings about cached_has_bits being unused |
9479 | 182k | (void) cached_has_bits; |
9480 | | |
9481 | 182k | return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); |
9482 | 182k | } |
9483 | | |
9484 | | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData BoundedForStmt::_class_data_ = { |
9485 | | ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, |
9486 | | BoundedForStmt::MergeImpl |
9487 | | }; |
9488 | 0 | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*BoundedForStmt::GetClassData() const { return &_class_data_; } |
9489 | | |
9490 | | |
9491 | 0 | void BoundedForStmt::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { |
9492 | 0 | auto* const _this = static_cast<BoundedForStmt*>(&to_msg); |
9493 | 0 | auto& from = static_cast<const BoundedForStmt&>(from_msg); |
9494 | | // @@protoc_insertion_point(class_specific_merge_from_start:solidity.yul.test.yul_fuzzer.BoundedForStmt) |
9495 | 0 | GOOGLE_DCHECK_NE(&from, _this); |
9496 | 0 | uint32_t cached_has_bits = 0; |
9497 | 0 | (void) cached_has_bits; |
9498 | |
|
9499 | 0 | if (from._internal_has_for_body()) { |
9500 | 0 | _this->_internal_mutable_for_body()->::solidity::yul::test::yul_fuzzer::Block::MergeFrom( |
9501 | 0 | from._internal_for_body()); |
9502 | 0 | } |
9503 | 0 | _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); |
9504 | 0 | } |
9505 | | |
9506 | 0 | void BoundedForStmt::CopyFrom(const BoundedForStmt& from) { |
9507 | | // @@protoc_insertion_point(class_specific_copy_from_start:solidity.yul.test.yul_fuzzer.BoundedForStmt) |
9508 | 0 | if (&from == this) return; |
9509 | 0 | Clear(); |
9510 | 0 | MergeFrom(from); |
9511 | 0 | } |
9512 | | |
9513 | 0 | bool BoundedForStmt::IsInitialized() const { |
9514 | 0 | if (_Internal::MissingRequiredFields(_impl_._has_bits_)) return false; |
9515 | 0 | if (_internal_has_for_body()) { |
9516 | 0 | if (!_impl_.for_body_->IsInitialized()) return false; |
9517 | 0 | } |
9518 | 0 | return true; |
9519 | 0 | } |
9520 | | |
9521 | 0 | void BoundedForStmt::InternalSwap(BoundedForStmt* other) { |
9522 | 0 | using std::swap; |
9523 | 0 | _internal_metadata_.InternalSwap(&other->_internal_metadata_); |
9524 | 0 | swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); |
9525 | 0 | swap(_impl_.for_body_, other->_impl_.for_body_); |
9526 | 0 | } |
9527 | | |
9528 | 6.10M | ::PROTOBUF_NAMESPACE_ID::Metadata BoundedForStmt::GetMetadata() const { |
9529 | 6.10M | return ::_pbi::AssignDescriptors( |
9530 | 6.10M | &descriptor_table_yulProto_2eproto_getter, &descriptor_table_yulProto_2eproto_once, |
9531 | 6.10M | file_level_metadata_yulProto_2eproto[21]); |
9532 | 6.10M | } |
9533 | | |
9534 | | // =================================================================== |
9535 | | |
9536 | | class ForStmt::_Internal { |
9537 | | public: |
9538 | | using HasBits = decltype(std::declval<ForStmt>()._impl_._has_bits_); |
9539 | | static const ::solidity::yul::test::yul_fuzzer::Block& for_body(const ForStmt* msg); |
9540 | 0 | static void set_has_for_body(HasBits* has_bits) { |
9541 | 0 | (*has_bits)[0] |= 1u; |
9542 | 0 | } |
9543 | | static const ::solidity::yul::test::yul_fuzzer::Block& for_init(const ForStmt* msg); |
9544 | 0 | static void set_has_for_init(HasBits* has_bits) { |
9545 | 0 | (*has_bits)[0] |= 2u; |
9546 | 0 | } |
9547 | | static const ::solidity::yul::test::yul_fuzzer::Block& for_post(const ForStmt* msg); |
9548 | 0 | static void set_has_for_post(HasBits* has_bits) { |
9549 | 0 | (*has_bits)[0] |= 4u; |
9550 | 0 | } |
9551 | | static const ::solidity::yul::test::yul_fuzzer::Expression& for_cond(const ForStmt* msg); |
9552 | 0 | static void set_has_for_cond(HasBits* has_bits) { |
9553 | 0 | (*has_bits)[0] |= 8u; |
9554 | 0 | } |
9555 | 0 | static bool MissingRequiredFields(const HasBits& has_bits) { |
9556 | 0 | return ((has_bits[0] & 0x0000000f) ^ 0x0000000f) != 0; |
9557 | 0 | } |
9558 | | }; |
9559 | | |
9560 | | const ::solidity::yul::test::yul_fuzzer::Block& |
9561 | 0 | ForStmt::_Internal::for_body(const ForStmt* msg) { |
9562 | 0 | return *msg->_impl_.for_body_; |
9563 | 0 | } |
9564 | | const ::solidity::yul::test::yul_fuzzer::Block& |
9565 | 0 | ForStmt::_Internal::for_init(const ForStmt* msg) { |
9566 | 0 | return *msg->_impl_.for_init_; |
9567 | 0 | } |
9568 | | const ::solidity::yul::test::yul_fuzzer::Block& |
9569 | 0 | ForStmt::_Internal::for_post(const ForStmt* msg) { |
9570 | 0 | return *msg->_impl_.for_post_; |
9571 | 0 | } |
9572 | | const ::solidity::yul::test::yul_fuzzer::Expression& |
9573 | 0 | ForStmt::_Internal::for_cond(const ForStmt* msg) { |
9574 | 0 | return *msg->_impl_.for_cond_; |
9575 | 0 | } |
9576 | | ForStmt::ForStmt(::PROTOBUF_NAMESPACE_ID::Arena* arena, |
9577 | | bool is_message_owned) |
9578 | 173k | : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { |
9579 | 173k | SharedCtor(arena, is_message_owned); |
9580 | | // @@protoc_insertion_point(arena_constructor:solidity.yul.test.yul_fuzzer.ForStmt) |
9581 | 173k | } |
9582 | | ForStmt::ForStmt(const ForStmt& from) |
9583 | 0 | : ::PROTOBUF_NAMESPACE_ID::Message() { |
9584 | 0 | ForStmt* const _this = this; (void)_this; |
9585 | 0 | new (&_impl_) Impl_{ |
9586 | 0 | decltype(_impl_._has_bits_){from._impl_._has_bits_} |
9587 | 0 | , /*decltype(_impl_._cached_size_)*/{} |
9588 | 0 | , decltype(_impl_.for_body_){nullptr} |
9589 | 0 | , decltype(_impl_.for_init_){nullptr} |
9590 | 0 | , decltype(_impl_.for_post_){nullptr} |
9591 | 0 | , decltype(_impl_.for_cond_){nullptr}}; |
9592 | |
|
9593 | 0 | _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); |
9594 | 0 | if (from._internal_has_for_body()) { |
9595 | 0 | _this->_impl_.for_body_ = new ::solidity::yul::test::yul_fuzzer::Block(*from._impl_.for_body_); |
9596 | 0 | } |
9597 | 0 | if (from._internal_has_for_init()) { |
9598 | 0 | _this->_impl_.for_init_ = new ::solidity::yul::test::yul_fuzzer::Block(*from._impl_.for_init_); |
9599 | 0 | } |
9600 | 0 | if (from._internal_has_for_post()) { |
9601 | 0 | _this->_impl_.for_post_ = new ::solidity::yul::test::yul_fuzzer::Block(*from._impl_.for_post_); |
9602 | 0 | } |
9603 | 0 | if (from._internal_has_for_cond()) { |
9604 | 0 | _this->_impl_.for_cond_ = new ::solidity::yul::test::yul_fuzzer::Expression(*from._impl_.for_cond_); |
9605 | 0 | } |
9606 | | // @@protoc_insertion_point(copy_constructor:solidity.yul.test.yul_fuzzer.ForStmt) |
9607 | 0 | } |
9608 | | |
9609 | | inline void ForStmt::SharedCtor( |
9610 | 173k | ::_pb::Arena* arena, bool is_message_owned) { |
9611 | 173k | (void)arena; |
9612 | 173k | (void)is_message_owned; |
9613 | 173k | new (&_impl_) Impl_{ |
9614 | 173k | decltype(_impl_._has_bits_){} |
9615 | 173k | , /*decltype(_impl_._cached_size_)*/{} |
9616 | 173k | , decltype(_impl_.for_body_){nullptr} |
9617 | 173k | , decltype(_impl_.for_init_){nullptr} |
9618 | 173k | , decltype(_impl_.for_post_){nullptr} |
9619 | 173k | , decltype(_impl_.for_cond_){nullptr} |
9620 | 173k | }; |
9621 | 173k | } |
9622 | | |
9623 | 173k | ForStmt::~ForStmt() { |
9624 | | // @@protoc_insertion_point(destructor:solidity.yul.test.yul_fuzzer.ForStmt) |
9625 | 173k | if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { |
9626 | 0 | (void)arena; |
9627 | 0 | return; |
9628 | 0 | } |
9629 | 173k | SharedDtor(); |
9630 | 173k | } |
9631 | | |
9632 | 173k | inline void ForStmt::SharedDtor() { |
9633 | 173k | GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); |
9634 | 173k | if (this != internal_default_instance()) delete _impl_.for_body_; |
9635 | 173k | if (this != internal_default_instance()) delete _impl_.for_init_; |
9636 | 173k | if (this != internal_default_instance()) delete _impl_.for_post_; |
9637 | 173k | if (this != internal_default_instance()) delete _impl_.for_cond_; |
9638 | 173k | } |
9639 | | |
9640 | 0 | void ForStmt::SetCachedSize(int size) const { |
9641 | 0 | _impl_._cached_size_.Set(size); |
9642 | 0 | } |
9643 | | |
9644 | 0 | void ForStmt::Clear() { |
9645 | | // @@protoc_insertion_point(message_clear_start:solidity.yul.test.yul_fuzzer.ForStmt) |
9646 | 0 | uint32_t cached_has_bits = 0; |
9647 | | // Prevent compiler warnings about cached_has_bits being unused |
9648 | 0 | (void) cached_has_bits; |
9649 | |
|
9650 | 0 | cached_has_bits = _impl_._has_bits_[0]; |
9651 | 0 | if (cached_has_bits & 0x0000000fu) { |
9652 | 0 | if (cached_has_bits & 0x00000001u) { |
9653 | 0 | GOOGLE_DCHECK(_impl_.for_body_ != nullptr); |
9654 | 0 | _impl_.for_body_->Clear(); |
9655 | 0 | } |
9656 | 0 | if (cached_has_bits & 0x00000002u) { |
9657 | 0 | GOOGLE_DCHECK(_impl_.for_init_ != nullptr); |
9658 | 0 | _impl_.for_init_->Clear(); |
9659 | 0 | } |
9660 | 0 | if (cached_has_bits & 0x00000004u) { |
9661 | 0 | GOOGLE_DCHECK(_impl_.for_post_ != nullptr); |
9662 | 0 | _impl_.for_post_->Clear(); |
9663 | 0 | } |
9664 | 0 | if (cached_has_bits & 0x00000008u) { |
9665 | 0 | GOOGLE_DCHECK(_impl_.for_cond_ != nullptr); |
9666 | 0 | _impl_.for_cond_->Clear(); |
9667 | 0 | } |
9668 | 0 | } |
9669 | 0 | _impl_._has_bits_.Clear(); |
9670 | 0 | _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); |
9671 | 0 | } |
9672 | | |
9673 | 0 | const char* ForStmt::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { |
9674 | 0 | #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure |
9675 | 0 | _Internal::HasBits has_bits{}; |
9676 | 0 | while (!ctx->Done(&ptr)) { |
9677 | 0 | uint32_t tag; |
9678 | 0 | ptr = ::_pbi::ReadTag(ptr, &tag); |
9679 | 0 | switch (tag >> 3) { |
9680 | | // required .solidity.yul.test.yul_fuzzer.Block for_body = 1; |
9681 | 0 | case 1: |
9682 | 0 | if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 10)) { |
9683 | 0 | ptr = ctx->ParseMessage(_internal_mutable_for_body(), ptr); |
9684 | 0 | CHK_(ptr); |
9685 | 0 | } else |
9686 | 0 | goto handle_unusual; |
9687 | 0 | continue; |
9688 | | // required .solidity.yul.test.yul_fuzzer.Block for_init = 2; |
9689 | 0 | case 2: |
9690 | 0 | if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 18)) { |
9691 | 0 | ptr = ctx->ParseMessage(_internal_mutable_for_init(), ptr); |
9692 | 0 | CHK_(ptr); |
9693 | 0 | } else |
9694 | 0 | goto handle_unusual; |
9695 | 0 | continue; |
9696 | | // required .solidity.yul.test.yul_fuzzer.Block for_post = 3; |
9697 | 0 | case 3: |
9698 | 0 | if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 26)) { |
9699 | 0 | ptr = ctx->ParseMessage(_internal_mutable_for_post(), ptr); |
9700 | 0 | CHK_(ptr); |
9701 | 0 | } else |
9702 | 0 | goto handle_unusual; |
9703 | 0 | continue; |
9704 | | // required .solidity.yul.test.yul_fuzzer.Expression for_cond = 4; |
9705 | 0 | case 4: |
9706 | 0 | if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 34)) { |
9707 | 0 | ptr = ctx->ParseMessage(_internal_mutable_for_cond(), ptr); |
9708 | 0 | CHK_(ptr); |
9709 | 0 | } else |
9710 | 0 | goto handle_unusual; |
9711 | 0 | continue; |
9712 | 0 | default: |
9713 | 0 | goto handle_unusual; |
9714 | 0 | } // switch |
9715 | 0 | handle_unusual: |
9716 | 0 | if ((tag == 0) || ((tag & 7) == 4)) { |
9717 | 0 | CHK_(ptr); |
9718 | 0 | ctx->SetLastTag(tag); |
9719 | 0 | goto message_done; |
9720 | 0 | } |
9721 | 0 | ptr = UnknownFieldParse( |
9722 | 0 | tag, |
9723 | 0 | _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), |
9724 | 0 | ptr, ctx); |
9725 | 0 | CHK_(ptr != nullptr); |
9726 | 0 | } // while |
9727 | 0 | message_done: |
9728 | 0 | _impl_._has_bits_.Or(has_bits); |
9729 | 0 | return ptr; |
9730 | 0 | failure: |
9731 | 0 | ptr = nullptr; |
9732 | 0 | goto message_done; |
9733 | 0 | #undef CHK_ |
9734 | 0 | } |
9735 | | |
9736 | | uint8_t* ForStmt::_InternalSerialize( |
9737 | 0 | uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { |
9738 | | // @@protoc_insertion_point(serialize_to_array_start:solidity.yul.test.yul_fuzzer.ForStmt) |
9739 | 0 | uint32_t cached_has_bits = 0; |
9740 | 0 | (void) cached_has_bits; |
9741 | |
|
9742 | 0 | cached_has_bits = _impl_._has_bits_[0]; |
9743 | | // required .solidity.yul.test.yul_fuzzer.Block for_body = 1; |
9744 | 0 | if (cached_has_bits & 0x00000001u) { |
9745 | 0 | target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: |
9746 | 0 | InternalWriteMessage(1, _Internal::for_body(this), |
9747 | 0 | _Internal::for_body(this).GetCachedSize(), target, stream); |
9748 | 0 | } |
9749 | | |
9750 | | // required .solidity.yul.test.yul_fuzzer.Block for_init = 2; |
9751 | 0 | if (cached_has_bits & 0x00000002u) { |
9752 | 0 | target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: |
9753 | 0 | InternalWriteMessage(2, _Internal::for_init(this), |
9754 | 0 | _Internal::for_init(this).GetCachedSize(), target, stream); |
9755 | 0 | } |
9756 | | |
9757 | | // required .solidity.yul.test.yul_fuzzer.Block for_post = 3; |
9758 | 0 | if (cached_has_bits & 0x00000004u) { |
9759 | 0 | target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: |
9760 | 0 | InternalWriteMessage(3, _Internal::for_post(this), |
9761 | 0 | _Internal::for_post(this).GetCachedSize(), target, stream); |
9762 | 0 | } |
9763 | | |
9764 | | // required .solidity.yul.test.yul_fuzzer.Expression for_cond = 4; |
9765 | 0 | if (cached_has_bits & 0x00000008u) { |
9766 | 0 | target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: |
9767 | 0 | InternalWriteMessage(4, _Internal::for_cond(this), |
9768 | 0 | _Internal::for_cond(this).GetCachedSize(), target, stream); |
9769 | 0 | } |
9770 | |
|
9771 | 0 | if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { |
9772 | 0 | target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( |
9773 | 0 | _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); |
9774 | 0 | } |
9775 | | // @@protoc_insertion_point(serialize_to_array_end:solidity.yul.test.yul_fuzzer.ForStmt) |
9776 | 0 | return target; |
9777 | 0 | } |
9778 | | |
9779 | 54.3k | size_t ForStmt::RequiredFieldsByteSizeFallback() const { |
9780 | | // @@protoc_insertion_point(required_fields_byte_size_fallback_start:solidity.yul.test.yul_fuzzer.ForStmt) |
9781 | 54.3k | size_t total_size = 0; |
9782 | | |
9783 | 54.3k | if (_internal_has_for_body()) { |
9784 | | // required .solidity.yul.test.yul_fuzzer.Block for_body = 1; |
9785 | 0 | total_size += 1 + |
9786 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
9787 | 0 | *_impl_.for_body_); |
9788 | 0 | } |
9789 | | |
9790 | 54.3k | if (_internal_has_for_init()) { |
9791 | | // required .solidity.yul.test.yul_fuzzer.Block for_init = 2; |
9792 | 0 | total_size += 1 + |
9793 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
9794 | 0 | *_impl_.for_init_); |
9795 | 0 | } |
9796 | | |
9797 | 54.3k | if (_internal_has_for_post()) { |
9798 | | // required .solidity.yul.test.yul_fuzzer.Block for_post = 3; |
9799 | 0 | total_size += 1 + |
9800 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
9801 | 0 | *_impl_.for_post_); |
9802 | 0 | } |
9803 | | |
9804 | 54.3k | if (_internal_has_for_cond()) { |
9805 | | // required .solidity.yul.test.yul_fuzzer.Expression for_cond = 4; |
9806 | 0 | total_size += 1 + |
9807 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
9808 | 0 | *_impl_.for_cond_); |
9809 | 0 | } |
9810 | | |
9811 | 54.3k | return total_size; |
9812 | 54.3k | } |
9813 | 170k | size_t ForStmt::ByteSizeLong() const { |
9814 | | // @@protoc_insertion_point(message_byte_size_start:solidity.yul.test.yul_fuzzer.ForStmt) |
9815 | 170k | size_t total_size = 0; |
9816 | | |
9817 | 170k | if (((_impl_._has_bits_[0] & 0x0000000f) ^ 0x0000000f) == 0) { // All required fields are present. |
9818 | | // required .solidity.yul.test.yul_fuzzer.Block for_body = 1; |
9819 | 115k | total_size += 1 + |
9820 | 115k | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
9821 | 115k | *_impl_.for_body_); |
9822 | | |
9823 | | // required .solidity.yul.test.yul_fuzzer.Block for_init = 2; |
9824 | 115k | total_size += 1 + |
9825 | 115k | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
9826 | 115k | *_impl_.for_init_); |
9827 | | |
9828 | | // required .solidity.yul.test.yul_fuzzer.Block for_post = 3; |
9829 | 115k | total_size += 1 + |
9830 | 115k | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
9831 | 115k | *_impl_.for_post_); |
9832 | | |
9833 | | // required .solidity.yul.test.yul_fuzzer.Expression for_cond = 4; |
9834 | 115k | total_size += 1 + |
9835 | 115k | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
9836 | 115k | *_impl_.for_cond_); |
9837 | | |
9838 | 115k | } else { |
9839 | 54.3k | total_size += RequiredFieldsByteSizeFallback(); |
9840 | 54.3k | } |
9841 | 170k | uint32_t cached_has_bits = 0; |
9842 | | // Prevent compiler warnings about cached_has_bits being unused |
9843 | 170k | (void) cached_has_bits; |
9844 | | |
9845 | 170k | return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); |
9846 | 170k | } |
9847 | | |
9848 | | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData ForStmt::_class_data_ = { |
9849 | | ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, |
9850 | | ForStmt::MergeImpl |
9851 | | }; |
9852 | 0 | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*ForStmt::GetClassData() const { return &_class_data_; } |
9853 | | |
9854 | | |
9855 | 0 | void ForStmt::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { |
9856 | 0 | auto* const _this = static_cast<ForStmt*>(&to_msg); |
9857 | 0 | auto& from = static_cast<const ForStmt&>(from_msg); |
9858 | | // @@protoc_insertion_point(class_specific_merge_from_start:solidity.yul.test.yul_fuzzer.ForStmt) |
9859 | 0 | GOOGLE_DCHECK_NE(&from, _this); |
9860 | 0 | uint32_t cached_has_bits = 0; |
9861 | 0 | (void) cached_has_bits; |
9862 | |
|
9863 | 0 | cached_has_bits = from._impl_._has_bits_[0]; |
9864 | 0 | if (cached_has_bits & 0x0000000fu) { |
9865 | 0 | if (cached_has_bits & 0x00000001u) { |
9866 | 0 | _this->_internal_mutable_for_body()->::solidity::yul::test::yul_fuzzer::Block::MergeFrom( |
9867 | 0 | from._internal_for_body()); |
9868 | 0 | } |
9869 | 0 | if (cached_has_bits & 0x00000002u) { |
9870 | 0 | _this->_internal_mutable_for_init()->::solidity::yul::test::yul_fuzzer::Block::MergeFrom( |
9871 | 0 | from._internal_for_init()); |
9872 | 0 | } |
9873 | 0 | if (cached_has_bits & 0x00000004u) { |
9874 | 0 | _this->_internal_mutable_for_post()->::solidity::yul::test::yul_fuzzer::Block::MergeFrom( |
9875 | 0 | from._internal_for_post()); |
9876 | 0 | } |
9877 | 0 | if (cached_has_bits & 0x00000008u) { |
9878 | 0 | _this->_internal_mutable_for_cond()->::solidity::yul::test::yul_fuzzer::Expression::MergeFrom( |
9879 | 0 | from._internal_for_cond()); |
9880 | 0 | } |
9881 | 0 | } |
9882 | 0 | _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); |
9883 | 0 | } |
9884 | | |
9885 | 0 | void ForStmt::CopyFrom(const ForStmt& from) { |
9886 | | // @@protoc_insertion_point(class_specific_copy_from_start:solidity.yul.test.yul_fuzzer.ForStmt) |
9887 | 0 | if (&from == this) return; |
9888 | 0 | Clear(); |
9889 | 0 | MergeFrom(from); |
9890 | 0 | } |
9891 | | |
9892 | 0 | bool ForStmt::IsInitialized() const { |
9893 | 0 | if (_Internal::MissingRequiredFields(_impl_._has_bits_)) return false; |
9894 | 0 | if (_internal_has_for_body()) { |
9895 | 0 | if (!_impl_.for_body_->IsInitialized()) return false; |
9896 | 0 | } |
9897 | 0 | if (_internal_has_for_init()) { |
9898 | 0 | if (!_impl_.for_init_->IsInitialized()) return false; |
9899 | 0 | } |
9900 | 0 | if (_internal_has_for_post()) { |
9901 | 0 | if (!_impl_.for_post_->IsInitialized()) return false; |
9902 | 0 | } |
9903 | 0 | if (_internal_has_for_cond()) { |
9904 | 0 | if (!_impl_.for_cond_->IsInitialized()) return false; |
9905 | 0 | } |
9906 | 0 | return true; |
9907 | 0 | } |
9908 | | |
9909 | 0 | void ForStmt::InternalSwap(ForStmt* other) { |
9910 | 0 | using std::swap; |
9911 | 0 | _internal_metadata_.InternalSwap(&other->_internal_metadata_); |
9912 | 0 | swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); |
9913 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::memswap< |
9914 | 0 | PROTOBUF_FIELD_OFFSET(ForStmt, _impl_.for_cond_) |
9915 | 0 | + sizeof(ForStmt::_impl_.for_cond_) |
9916 | 0 | - PROTOBUF_FIELD_OFFSET(ForStmt, _impl_.for_body_)>( |
9917 | 0 | reinterpret_cast<char*>(&_impl_.for_body_), |
9918 | 0 | reinterpret_cast<char*>(&other->_impl_.for_body_)); |
9919 | 0 | } |
9920 | | |
9921 | 6.93M | ::PROTOBUF_NAMESPACE_ID::Metadata ForStmt::GetMetadata() const { |
9922 | 6.93M | return ::_pbi::AssignDescriptors( |
9923 | 6.93M | &descriptor_table_yulProto_2eproto_getter, &descriptor_table_yulProto_2eproto_once, |
9924 | 6.93M | file_level_metadata_yulProto_2eproto[22]); |
9925 | 6.93M | } |
9926 | | |
9927 | | // =================================================================== |
9928 | | |
9929 | | class CaseStmt::_Internal { |
9930 | | public: |
9931 | | using HasBits = decltype(std::declval<CaseStmt>()._impl_._has_bits_); |
9932 | | static const ::solidity::yul::test::yul_fuzzer::Literal& case_lit(const CaseStmt* msg); |
9933 | 0 | static void set_has_case_lit(HasBits* has_bits) { |
9934 | 0 | (*has_bits)[0] |= 1u; |
9935 | 0 | } |
9936 | | static const ::solidity::yul::test::yul_fuzzer::Block& case_block(const CaseStmt* msg); |
9937 | 0 | static void set_has_case_block(HasBits* has_bits) { |
9938 | 0 | (*has_bits)[0] |= 2u; |
9939 | 0 | } |
9940 | 0 | static bool MissingRequiredFields(const HasBits& has_bits) { |
9941 | 0 | return ((has_bits[0] & 0x00000003) ^ 0x00000003) != 0; |
9942 | 0 | } |
9943 | | }; |
9944 | | |
9945 | | const ::solidity::yul::test::yul_fuzzer::Literal& |
9946 | 0 | CaseStmt::_Internal::case_lit(const CaseStmt* msg) { |
9947 | 0 | return *msg->_impl_.case_lit_; |
9948 | 0 | } |
9949 | | const ::solidity::yul::test::yul_fuzzer::Block& |
9950 | 0 | CaseStmt::_Internal::case_block(const CaseStmt* msg) { |
9951 | 0 | return *msg->_impl_.case_block_; |
9952 | 0 | } |
9953 | | CaseStmt::CaseStmt(::PROTOBUF_NAMESPACE_ID::Arena* arena, |
9954 | | bool is_message_owned) |
9955 | 73.2k | : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { |
9956 | 73.2k | SharedCtor(arena, is_message_owned); |
9957 | | // @@protoc_insertion_point(arena_constructor:solidity.yul.test.yul_fuzzer.CaseStmt) |
9958 | 73.2k | } |
9959 | | CaseStmt::CaseStmt(const CaseStmt& from) |
9960 | 0 | : ::PROTOBUF_NAMESPACE_ID::Message() { |
9961 | 0 | CaseStmt* const _this = this; (void)_this; |
9962 | 0 | new (&_impl_) Impl_{ |
9963 | 0 | decltype(_impl_._has_bits_){from._impl_._has_bits_} |
9964 | 0 | , /*decltype(_impl_._cached_size_)*/{} |
9965 | 0 | , decltype(_impl_.case_lit_){nullptr} |
9966 | 0 | , decltype(_impl_.case_block_){nullptr}}; |
9967 | |
|
9968 | 0 | _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); |
9969 | 0 | if (from._internal_has_case_lit()) { |
9970 | 0 | _this->_impl_.case_lit_ = new ::solidity::yul::test::yul_fuzzer::Literal(*from._impl_.case_lit_); |
9971 | 0 | } |
9972 | 0 | if (from._internal_has_case_block()) { |
9973 | 0 | _this->_impl_.case_block_ = new ::solidity::yul::test::yul_fuzzer::Block(*from._impl_.case_block_); |
9974 | 0 | } |
9975 | | // @@protoc_insertion_point(copy_constructor:solidity.yul.test.yul_fuzzer.CaseStmt) |
9976 | 0 | } |
9977 | | |
9978 | | inline void CaseStmt::SharedCtor( |
9979 | 73.2k | ::_pb::Arena* arena, bool is_message_owned) { |
9980 | 73.2k | (void)arena; |
9981 | 73.2k | (void)is_message_owned; |
9982 | 73.2k | new (&_impl_) Impl_{ |
9983 | 73.2k | decltype(_impl_._has_bits_){} |
9984 | 73.2k | , /*decltype(_impl_._cached_size_)*/{} |
9985 | 73.2k | , decltype(_impl_.case_lit_){nullptr} |
9986 | 73.2k | , decltype(_impl_.case_block_){nullptr} |
9987 | 73.2k | }; |
9988 | 73.2k | } |
9989 | | |
9990 | 73.2k | CaseStmt::~CaseStmt() { |
9991 | | // @@protoc_insertion_point(destructor:solidity.yul.test.yul_fuzzer.CaseStmt) |
9992 | 73.2k | if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { |
9993 | 0 | (void)arena; |
9994 | 0 | return; |
9995 | 0 | } |
9996 | 73.2k | SharedDtor(); |
9997 | 73.2k | } |
9998 | | |
9999 | 73.2k | inline void CaseStmt::SharedDtor() { |
10000 | 73.2k | GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); |
10001 | 73.2k | if (this != internal_default_instance()) delete _impl_.case_lit_; |
10002 | 73.2k | if (this != internal_default_instance()) delete _impl_.case_block_; |
10003 | 73.2k | } |
10004 | | |
10005 | 0 | void CaseStmt::SetCachedSize(int size) const { |
10006 | 0 | _impl_._cached_size_.Set(size); |
10007 | 0 | } |
10008 | | |
10009 | 0 | void CaseStmt::Clear() { |
10010 | | // @@protoc_insertion_point(message_clear_start:solidity.yul.test.yul_fuzzer.CaseStmt) |
10011 | 0 | uint32_t cached_has_bits = 0; |
10012 | | // Prevent compiler warnings about cached_has_bits being unused |
10013 | 0 | (void) cached_has_bits; |
10014 | |
|
10015 | 0 | cached_has_bits = _impl_._has_bits_[0]; |
10016 | 0 | if (cached_has_bits & 0x00000003u) { |
10017 | 0 | if (cached_has_bits & 0x00000001u) { |
10018 | 0 | GOOGLE_DCHECK(_impl_.case_lit_ != nullptr); |
10019 | 0 | _impl_.case_lit_->Clear(); |
10020 | 0 | } |
10021 | 0 | if (cached_has_bits & 0x00000002u) { |
10022 | 0 | GOOGLE_DCHECK(_impl_.case_block_ != nullptr); |
10023 | 0 | _impl_.case_block_->Clear(); |
10024 | 0 | } |
10025 | 0 | } |
10026 | 0 | _impl_._has_bits_.Clear(); |
10027 | 0 | _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); |
10028 | 0 | } |
10029 | | |
10030 | 0 | const char* CaseStmt::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { |
10031 | 0 | #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure |
10032 | 0 | _Internal::HasBits has_bits{}; |
10033 | 0 | while (!ctx->Done(&ptr)) { |
10034 | 0 | uint32_t tag; |
10035 | 0 | ptr = ::_pbi::ReadTag(ptr, &tag); |
10036 | 0 | switch (tag >> 3) { |
10037 | | // required .solidity.yul.test.yul_fuzzer.Literal case_lit = 1; |
10038 | 0 | case 1: |
10039 | 0 | if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 10)) { |
10040 | 0 | ptr = ctx->ParseMessage(_internal_mutable_case_lit(), ptr); |
10041 | 0 | CHK_(ptr); |
10042 | 0 | } else |
10043 | 0 | goto handle_unusual; |
10044 | 0 | continue; |
10045 | | // required .solidity.yul.test.yul_fuzzer.Block case_block = 2; |
10046 | 0 | case 2: |
10047 | 0 | if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 18)) { |
10048 | 0 | ptr = ctx->ParseMessage(_internal_mutable_case_block(), ptr); |
10049 | 0 | CHK_(ptr); |
10050 | 0 | } else |
10051 | 0 | goto handle_unusual; |
10052 | 0 | continue; |
10053 | 0 | default: |
10054 | 0 | goto handle_unusual; |
10055 | 0 | } // switch |
10056 | 0 | handle_unusual: |
10057 | 0 | if ((tag == 0) || ((tag & 7) == 4)) { |
10058 | 0 | CHK_(ptr); |
10059 | 0 | ctx->SetLastTag(tag); |
10060 | 0 | goto message_done; |
10061 | 0 | } |
10062 | 0 | ptr = UnknownFieldParse( |
10063 | 0 | tag, |
10064 | 0 | _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), |
10065 | 0 | ptr, ctx); |
10066 | 0 | CHK_(ptr != nullptr); |
10067 | 0 | } // while |
10068 | 0 | message_done: |
10069 | 0 | _impl_._has_bits_.Or(has_bits); |
10070 | 0 | return ptr; |
10071 | 0 | failure: |
10072 | 0 | ptr = nullptr; |
10073 | 0 | goto message_done; |
10074 | 0 | #undef CHK_ |
10075 | 0 | } |
10076 | | |
10077 | | uint8_t* CaseStmt::_InternalSerialize( |
10078 | 0 | uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { |
10079 | | // @@protoc_insertion_point(serialize_to_array_start:solidity.yul.test.yul_fuzzer.CaseStmt) |
10080 | 0 | uint32_t cached_has_bits = 0; |
10081 | 0 | (void) cached_has_bits; |
10082 | |
|
10083 | 0 | cached_has_bits = _impl_._has_bits_[0]; |
10084 | | // required .solidity.yul.test.yul_fuzzer.Literal case_lit = 1; |
10085 | 0 | if (cached_has_bits & 0x00000001u) { |
10086 | 0 | target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: |
10087 | 0 | InternalWriteMessage(1, _Internal::case_lit(this), |
10088 | 0 | _Internal::case_lit(this).GetCachedSize(), target, stream); |
10089 | 0 | } |
10090 | | |
10091 | | // required .solidity.yul.test.yul_fuzzer.Block case_block = 2; |
10092 | 0 | if (cached_has_bits & 0x00000002u) { |
10093 | 0 | target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: |
10094 | 0 | InternalWriteMessage(2, _Internal::case_block(this), |
10095 | 0 | _Internal::case_block(this).GetCachedSize(), target, stream); |
10096 | 0 | } |
10097 | |
|
10098 | 0 | if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { |
10099 | 0 | target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( |
10100 | 0 | _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); |
10101 | 0 | } |
10102 | | // @@protoc_insertion_point(serialize_to_array_end:solidity.yul.test.yul_fuzzer.CaseStmt) |
10103 | 0 | return target; |
10104 | 0 | } |
10105 | | |
10106 | 0 | size_t CaseStmt::RequiredFieldsByteSizeFallback() const { |
10107 | | // @@protoc_insertion_point(required_fields_byte_size_fallback_start:solidity.yul.test.yul_fuzzer.CaseStmt) |
10108 | 0 | size_t total_size = 0; |
10109 | |
|
10110 | 0 | if (_internal_has_case_lit()) { |
10111 | | // required .solidity.yul.test.yul_fuzzer.Literal case_lit = 1; |
10112 | 0 | total_size += 1 + |
10113 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
10114 | 0 | *_impl_.case_lit_); |
10115 | 0 | } |
10116 | |
|
10117 | 0 | if (_internal_has_case_block()) { |
10118 | | // required .solidity.yul.test.yul_fuzzer.Block case_block = 2; |
10119 | 0 | total_size += 1 + |
10120 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
10121 | 0 | *_impl_.case_block_); |
10122 | 0 | } |
10123 | |
|
10124 | 0 | return total_size; |
10125 | 0 | } |
10126 | 69.7k | size_t CaseStmt::ByteSizeLong() const { |
10127 | | // @@protoc_insertion_point(message_byte_size_start:solidity.yul.test.yul_fuzzer.CaseStmt) |
10128 | 69.7k | size_t total_size = 0; |
10129 | | |
10130 | 69.7k | if (((_impl_._has_bits_[0] & 0x00000003) ^ 0x00000003) == 0) { // All required fields are present. |
10131 | | // required .solidity.yul.test.yul_fuzzer.Literal case_lit = 1; |
10132 | 69.7k | total_size += 1 + |
10133 | 69.7k | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
10134 | 69.7k | *_impl_.case_lit_); |
10135 | | |
10136 | | // required .solidity.yul.test.yul_fuzzer.Block case_block = 2; |
10137 | 69.7k | total_size += 1 + |
10138 | 69.7k | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
10139 | 69.7k | *_impl_.case_block_); |
10140 | | |
10141 | 69.7k | } else { |
10142 | 0 | total_size += RequiredFieldsByteSizeFallback(); |
10143 | 0 | } |
10144 | 69.7k | uint32_t cached_has_bits = 0; |
10145 | | // Prevent compiler warnings about cached_has_bits being unused |
10146 | 69.7k | (void) cached_has_bits; |
10147 | | |
10148 | 69.7k | return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); |
10149 | 69.7k | } |
10150 | | |
10151 | | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CaseStmt::_class_data_ = { |
10152 | | ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, |
10153 | | CaseStmt::MergeImpl |
10154 | | }; |
10155 | 0 | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CaseStmt::GetClassData() const { return &_class_data_; } |
10156 | | |
10157 | | |
10158 | 0 | void CaseStmt::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { |
10159 | 0 | auto* const _this = static_cast<CaseStmt*>(&to_msg); |
10160 | 0 | auto& from = static_cast<const CaseStmt&>(from_msg); |
10161 | | // @@protoc_insertion_point(class_specific_merge_from_start:solidity.yul.test.yul_fuzzer.CaseStmt) |
10162 | 0 | GOOGLE_DCHECK_NE(&from, _this); |
10163 | 0 | uint32_t cached_has_bits = 0; |
10164 | 0 | (void) cached_has_bits; |
10165 | |
|
10166 | 0 | cached_has_bits = from._impl_._has_bits_[0]; |
10167 | 0 | if (cached_has_bits & 0x00000003u) { |
10168 | 0 | if (cached_has_bits & 0x00000001u) { |
10169 | 0 | _this->_internal_mutable_case_lit()->::solidity::yul::test::yul_fuzzer::Literal::MergeFrom( |
10170 | 0 | from._internal_case_lit()); |
10171 | 0 | } |
10172 | 0 | if (cached_has_bits & 0x00000002u) { |
10173 | 0 | _this->_internal_mutable_case_block()->::solidity::yul::test::yul_fuzzer::Block::MergeFrom( |
10174 | 0 | from._internal_case_block()); |
10175 | 0 | } |
10176 | 0 | } |
10177 | 0 | _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); |
10178 | 0 | } |
10179 | | |
10180 | 0 | void CaseStmt::CopyFrom(const CaseStmt& from) { |
10181 | | // @@protoc_insertion_point(class_specific_copy_from_start:solidity.yul.test.yul_fuzzer.CaseStmt) |
10182 | 0 | if (&from == this) return; |
10183 | 0 | Clear(); |
10184 | 0 | MergeFrom(from); |
10185 | 0 | } |
10186 | | |
10187 | 0 | bool CaseStmt::IsInitialized() const { |
10188 | 0 | if (_Internal::MissingRequiredFields(_impl_._has_bits_)) return false; |
10189 | 0 | if (_internal_has_case_block()) { |
10190 | 0 | if (!_impl_.case_block_->IsInitialized()) return false; |
10191 | 0 | } |
10192 | 0 | return true; |
10193 | 0 | } |
10194 | | |
10195 | 0 | void CaseStmt::InternalSwap(CaseStmt* other) { |
10196 | 0 | using std::swap; |
10197 | 0 | _internal_metadata_.InternalSwap(&other->_internal_metadata_); |
10198 | 0 | swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); |
10199 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::memswap< |
10200 | 0 | PROTOBUF_FIELD_OFFSET(CaseStmt, _impl_.case_block_) |
10201 | 0 | + sizeof(CaseStmt::_impl_.case_block_) |
10202 | 0 | - PROTOBUF_FIELD_OFFSET(CaseStmt, _impl_.case_lit_)>( |
10203 | 0 | reinterpret_cast<char*>(&_impl_.case_lit_), |
10204 | 0 | reinterpret_cast<char*>(&other->_impl_.case_lit_)); |
10205 | 0 | } |
10206 | | |
10207 | 1.25M | ::PROTOBUF_NAMESPACE_ID::Metadata CaseStmt::GetMetadata() const { |
10208 | 1.25M | return ::_pbi::AssignDescriptors( |
10209 | 1.25M | &descriptor_table_yulProto_2eproto_getter, &descriptor_table_yulProto_2eproto_once, |
10210 | 1.25M | file_level_metadata_yulProto_2eproto[23]); |
10211 | 1.25M | } |
10212 | | |
10213 | | // =================================================================== |
10214 | | |
10215 | | class SwitchStmt::_Internal { |
10216 | | public: |
10217 | | using HasBits = decltype(std::declval<SwitchStmt>()._impl_._has_bits_); |
10218 | | static const ::solidity::yul::test::yul_fuzzer::Expression& switch_expr(const SwitchStmt* msg); |
10219 | 0 | static void set_has_switch_expr(HasBits* has_bits) { |
10220 | 0 | (*has_bits)[0] |= 1u; |
10221 | 0 | } |
10222 | | static const ::solidity::yul::test::yul_fuzzer::Block& default_block(const SwitchStmt* msg); |
10223 | 0 | static void set_has_default_block(HasBits* has_bits) { |
10224 | 0 | (*has_bits)[0] |= 2u; |
10225 | 0 | } |
10226 | 0 | static bool MissingRequiredFields(const HasBits& has_bits) { |
10227 | 0 | return ((has_bits[0] & 0x00000001) ^ 0x00000001) != 0; |
10228 | 0 | } |
10229 | | }; |
10230 | | |
10231 | | const ::solidity::yul::test::yul_fuzzer::Expression& |
10232 | 0 | SwitchStmt::_Internal::switch_expr(const SwitchStmt* msg) { |
10233 | 0 | return *msg->_impl_.switch_expr_; |
10234 | 0 | } |
10235 | | const ::solidity::yul::test::yul_fuzzer::Block& |
10236 | 0 | SwitchStmt::_Internal::default_block(const SwitchStmt* msg) { |
10237 | 0 | return *msg->_impl_.default_block_; |
10238 | 0 | } |
10239 | | SwitchStmt::SwitchStmt(::PROTOBUF_NAMESPACE_ID::Arena* arena, |
10240 | | bool is_message_owned) |
10241 | 198k | : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { |
10242 | 198k | SharedCtor(arena, is_message_owned); |
10243 | | // @@protoc_insertion_point(arena_constructor:solidity.yul.test.yul_fuzzer.SwitchStmt) |
10244 | 198k | } |
10245 | | SwitchStmt::SwitchStmt(const SwitchStmt& from) |
10246 | 0 | : ::PROTOBUF_NAMESPACE_ID::Message() { |
10247 | 0 | SwitchStmt* const _this = this; (void)_this; |
10248 | 0 | new (&_impl_) Impl_{ |
10249 | 0 | decltype(_impl_._has_bits_){from._impl_._has_bits_} |
10250 | 0 | , /*decltype(_impl_._cached_size_)*/{} |
10251 | 0 | , decltype(_impl_.case_stmt_){from._impl_.case_stmt_} |
10252 | 0 | , decltype(_impl_.switch_expr_){nullptr} |
10253 | 0 | , decltype(_impl_.default_block_){nullptr}}; |
10254 | |
|
10255 | 0 | _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); |
10256 | 0 | if (from._internal_has_switch_expr()) { |
10257 | 0 | _this->_impl_.switch_expr_ = new ::solidity::yul::test::yul_fuzzer::Expression(*from._impl_.switch_expr_); |
10258 | 0 | } |
10259 | 0 | if (from._internal_has_default_block()) { |
10260 | 0 | _this->_impl_.default_block_ = new ::solidity::yul::test::yul_fuzzer::Block(*from._impl_.default_block_); |
10261 | 0 | } |
10262 | | // @@protoc_insertion_point(copy_constructor:solidity.yul.test.yul_fuzzer.SwitchStmt) |
10263 | 0 | } |
10264 | | |
10265 | | inline void SwitchStmt::SharedCtor( |
10266 | 198k | ::_pb::Arena* arena, bool is_message_owned) { |
10267 | 198k | (void)arena; |
10268 | 198k | (void)is_message_owned; |
10269 | 198k | new (&_impl_) Impl_{ |
10270 | 198k | decltype(_impl_._has_bits_){} |
10271 | 198k | , /*decltype(_impl_._cached_size_)*/{} |
10272 | 198k | , decltype(_impl_.case_stmt_){arena} |
10273 | 198k | , decltype(_impl_.switch_expr_){nullptr} |
10274 | 198k | , decltype(_impl_.default_block_){nullptr} |
10275 | 198k | }; |
10276 | 198k | } |
10277 | | |
10278 | 198k | SwitchStmt::~SwitchStmt() { |
10279 | | // @@protoc_insertion_point(destructor:solidity.yul.test.yul_fuzzer.SwitchStmt) |
10280 | 198k | if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { |
10281 | 0 | (void)arena; |
10282 | 0 | return; |
10283 | 0 | } |
10284 | 198k | SharedDtor(); |
10285 | 198k | } |
10286 | | |
10287 | 198k | inline void SwitchStmt::SharedDtor() { |
10288 | 198k | GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); |
10289 | 198k | _impl_.case_stmt_.~RepeatedPtrField(); |
10290 | 198k | if (this != internal_default_instance()) delete _impl_.switch_expr_; |
10291 | 198k | if (this != internal_default_instance()) delete _impl_.default_block_; |
10292 | 198k | } |
10293 | | |
10294 | 0 | void SwitchStmt::SetCachedSize(int size) const { |
10295 | 0 | _impl_._cached_size_.Set(size); |
10296 | 0 | } |
10297 | | |
10298 | 0 | void SwitchStmt::Clear() { |
10299 | | // @@protoc_insertion_point(message_clear_start:solidity.yul.test.yul_fuzzer.SwitchStmt) |
10300 | 0 | uint32_t cached_has_bits = 0; |
10301 | | // Prevent compiler warnings about cached_has_bits being unused |
10302 | 0 | (void) cached_has_bits; |
10303 | |
|
10304 | 0 | _impl_.case_stmt_.Clear(); |
10305 | 0 | cached_has_bits = _impl_._has_bits_[0]; |
10306 | 0 | if (cached_has_bits & 0x00000003u) { |
10307 | 0 | if (cached_has_bits & 0x00000001u) { |
10308 | 0 | GOOGLE_DCHECK(_impl_.switch_expr_ != nullptr); |
10309 | 0 | _impl_.switch_expr_->Clear(); |
10310 | 0 | } |
10311 | 0 | if (cached_has_bits & 0x00000002u) { |
10312 | 0 | GOOGLE_DCHECK(_impl_.default_block_ != nullptr); |
10313 | 0 | _impl_.default_block_->Clear(); |
10314 | 0 | } |
10315 | 0 | } |
10316 | 0 | _impl_._has_bits_.Clear(); |
10317 | 0 | _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); |
10318 | 0 | } |
10319 | | |
10320 | 0 | const char* SwitchStmt::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { |
10321 | 0 | #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure |
10322 | 0 | _Internal::HasBits has_bits{}; |
10323 | 0 | while (!ctx->Done(&ptr)) { |
10324 | 0 | uint32_t tag; |
10325 | 0 | ptr = ::_pbi::ReadTag(ptr, &tag); |
10326 | 0 | switch (tag >> 3) { |
10327 | | // required .solidity.yul.test.yul_fuzzer.Expression switch_expr = 1; |
10328 | 0 | case 1: |
10329 | 0 | if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 10)) { |
10330 | 0 | ptr = ctx->ParseMessage(_internal_mutable_switch_expr(), ptr); |
10331 | 0 | CHK_(ptr); |
10332 | 0 | } else |
10333 | 0 | goto handle_unusual; |
10334 | 0 | continue; |
10335 | | // repeated .solidity.yul.test.yul_fuzzer.CaseStmt case_stmt = 2; |
10336 | 0 | case 2: |
10337 | 0 | if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 18)) { |
10338 | 0 | ptr -= 1; |
10339 | 0 | do { |
10340 | 0 | ptr += 1; |
10341 | 0 | ptr = ctx->ParseMessage(_internal_add_case_stmt(), ptr); |
10342 | 0 | CHK_(ptr); |
10343 | 0 | if (!ctx->DataAvailable(ptr)) break; |
10344 | 0 | } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<18>(ptr)); |
10345 | 0 | } else |
10346 | 0 | goto handle_unusual; |
10347 | 0 | continue; |
10348 | | // optional .solidity.yul.test.yul_fuzzer.Block default_block = 3; |
10349 | 0 | case 3: |
10350 | 0 | if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 26)) { |
10351 | 0 | ptr = ctx->ParseMessage(_internal_mutable_default_block(), ptr); |
10352 | 0 | CHK_(ptr); |
10353 | 0 | } else |
10354 | 0 | goto handle_unusual; |
10355 | 0 | continue; |
10356 | 0 | default: |
10357 | 0 | goto handle_unusual; |
10358 | 0 | } // switch |
10359 | 0 | handle_unusual: |
10360 | 0 | if ((tag == 0) || ((tag & 7) == 4)) { |
10361 | 0 | CHK_(ptr); |
10362 | 0 | ctx->SetLastTag(tag); |
10363 | 0 | goto message_done; |
10364 | 0 | } |
10365 | 0 | ptr = UnknownFieldParse( |
10366 | 0 | tag, |
10367 | 0 | _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), |
10368 | 0 | ptr, ctx); |
10369 | 0 | CHK_(ptr != nullptr); |
10370 | 0 | } // while |
10371 | 0 | message_done: |
10372 | 0 | _impl_._has_bits_.Or(has_bits); |
10373 | 0 | return ptr; |
10374 | 0 | failure: |
10375 | 0 | ptr = nullptr; |
10376 | 0 | goto message_done; |
10377 | 0 | #undef CHK_ |
10378 | 0 | } |
10379 | | |
10380 | | uint8_t* SwitchStmt::_InternalSerialize( |
10381 | 0 | uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { |
10382 | | // @@protoc_insertion_point(serialize_to_array_start:solidity.yul.test.yul_fuzzer.SwitchStmt) |
10383 | 0 | uint32_t cached_has_bits = 0; |
10384 | 0 | (void) cached_has_bits; |
10385 | |
|
10386 | 0 | cached_has_bits = _impl_._has_bits_[0]; |
10387 | | // required .solidity.yul.test.yul_fuzzer.Expression switch_expr = 1; |
10388 | 0 | if (cached_has_bits & 0x00000001u) { |
10389 | 0 | target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: |
10390 | 0 | InternalWriteMessage(1, _Internal::switch_expr(this), |
10391 | 0 | _Internal::switch_expr(this).GetCachedSize(), target, stream); |
10392 | 0 | } |
10393 | | |
10394 | | // repeated .solidity.yul.test.yul_fuzzer.CaseStmt case_stmt = 2; |
10395 | 0 | for (unsigned i = 0, |
10396 | 0 | n = static_cast<unsigned>(this->_internal_case_stmt_size()); i < n; i++) { |
10397 | 0 | const auto& repfield = this->_internal_case_stmt(i); |
10398 | 0 | target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: |
10399 | 0 | InternalWriteMessage(2, repfield, repfield.GetCachedSize(), target, stream); |
10400 | 0 | } |
10401 | | |
10402 | | // optional .solidity.yul.test.yul_fuzzer.Block default_block = 3; |
10403 | 0 | if (cached_has_bits & 0x00000002u) { |
10404 | 0 | target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: |
10405 | 0 | InternalWriteMessage(3, _Internal::default_block(this), |
10406 | 0 | _Internal::default_block(this).GetCachedSize(), target, stream); |
10407 | 0 | } |
10408 | |
|
10409 | 0 | if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { |
10410 | 0 | target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( |
10411 | 0 | _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); |
10412 | 0 | } |
10413 | | // @@protoc_insertion_point(serialize_to_array_end:solidity.yul.test.yul_fuzzer.SwitchStmt) |
10414 | 0 | return target; |
10415 | 0 | } |
10416 | | |
10417 | 195k | size_t SwitchStmt::ByteSizeLong() const { |
10418 | | // @@protoc_insertion_point(message_byte_size_start:solidity.yul.test.yul_fuzzer.SwitchStmt) |
10419 | 195k | size_t total_size = 0; |
10420 | | |
10421 | | // required .solidity.yul.test.yul_fuzzer.Expression switch_expr = 1; |
10422 | 195k | if (_internal_has_switch_expr()) { |
10423 | 140k | total_size += 1 + |
10424 | 140k | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
10425 | 140k | *_impl_.switch_expr_); |
10426 | 140k | } |
10427 | 195k | uint32_t cached_has_bits = 0; |
10428 | | // Prevent compiler warnings about cached_has_bits being unused |
10429 | 195k | (void) cached_has_bits; |
10430 | | |
10431 | | // repeated .solidity.yul.test.yul_fuzzer.CaseStmt case_stmt = 2; |
10432 | 195k | total_size += 1UL * this->_internal_case_stmt_size(); |
10433 | 195k | for (const auto& msg : this->_impl_.case_stmt_) { |
10434 | 69.7k | total_size += |
10435 | 69.7k | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); |
10436 | 69.7k | } |
10437 | | |
10438 | | // optional .solidity.yul.test.yul_fuzzer.Block default_block = 3; |
10439 | 195k | cached_has_bits = _impl_._has_bits_[0]; |
10440 | 195k | if (cached_has_bits & 0x00000002u) { |
10441 | 132k | total_size += 1 + |
10442 | 132k | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
10443 | 132k | *_impl_.default_block_); |
10444 | 132k | } |
10445 | | |
10446 | 195k | return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); |
10447 | 195k | } |
10448 | | |
10449 | | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData SwitchStmt::_class_data_ = { |
10450 | | ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, |
10451 | | SwitchStmt::MergeImpl |
10452 | | }; |
10453 | 0 | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*SwitchStmt::GetClassData() const { return &_class_data_; } |
10454 | | |
10455 | | |
10456 | 0 | void SwitchStmt::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { |
10457 | 0 | auto* const _this = static_cast<SwitchStmt*>(&to_msg); |
10458 | 0 | auto& from = static_cast<const SwitchStmt&>(from_msg); |
10459 | | // @@protoc_insertion_point(class_specific_merge_from_start:solidity.yul.test.yul_fuzzer.SwitchStmt) |
10460 | 0 | GOOGLE_DCHECK_NE(&from, _this); |
10461 | 0 | uint32_t cached_has_bits = 0; |
10462 | 0 | (void) cached_has_bits; |
10463 | |
|
10464 | 0 | _this->_impl_.case_stmt_.MergeFrom(from._impl_.case_stmt_); |
10465 | 0 | cached_has_bits = from._impl_._has_bits_[0]; |
10466 | 0 | if (cached_has_bits & 0x00000003u) { |
10467 | 0 | if (cached_has_bits & 0x00000001u) { |
10468 | 0 | _this->_internal_mutable_switch_expr()->::solidity::yul::test::yul_fuzzer::Expression::MergeFrom( |
10469 | 0 | from._internal_switch_expr()); |
10470 | 0 | } |
10471 | 0 | if (cached_has_bits & 0x00000002u) { |
10472 | 0 | _this->_internal_mutable_default_block()->::solidity::yul::test::yul_fuzzer::Block::MergeFrom( |
10473 | 0 | from._internal_default_block()); |
10474 | 0 | } |
10475 | 0 | } |
10476 | 0 | _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); |
10477 | 0 | } |
10478 | | |
10479 | 0 | void SwitchStmt::CopyFrom(const SwitchStmt& from) { |
10480 | | // @@protoc_insertion_point(class_specific_copy_from_start:solidity.yul.test.yul_fuzzer.SwitchStmt) |
10481 | 0 | if (&from == this) return; |
10482 | 0 | Clear(); |
10483 | 0 | MergeFrom(from); |
10484 | 0 | } |
10485 | | |
10486 | 0 | bool SwitchStmt::IsInitialized() const { |
10487 | 0 | if (_Internal::MissingRequiredFields(_impl_._has_bits_)) return false; |
10488 | 0 | if (!::PROTOBUF_NAMESPACE_ID::internal::AllAreInitialized(_impl_.case_stmt_)) |
10489 | 0 | return false; |
10490 | 0 | if (_internal_has_switch_expr()) { |
10491 | 0 | if (!_impl_.switch_expr_->IsInitialized()) return false; |
10492 | 0 | } |
10493 | 0 | if (_internal_has_default_block()) { |
10494 | 0 | if (!_impl_.default_block_->IsInitialized()) return false; |
10495 | 0 | } |
10496 | 0 | return true; |
10497 | 0 | } |
10498 | | |
10499 | 0 | void SwitchStmt::InternalSwap(SwitchStmt* other) { |
10500 | 0 | using std::swap; |
10501 | 0 | _internal_metadata_.InternalSwap(&other->_internal_metadata_); |
10502 | 0 | swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); |
10503 | 0 | _impl_.case_stmt_.InternalSwap(&other->_impl_.case_stmt_); |
10504 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::memswap< |
10505 | 0 | PROTOBUF_FIELD_OFFSET(SwitchStmt, _impl_.default_block_) |
10506 | 0 | + sizeof(SwitchStmt::_impl_.default_block_) |
10507 | 0 | - PROTOBUF_FIELD_OFFSET(SwitchStmt, _impl_.switch_expr_)>( |
10508 | 0 | reinterpret_cast<char*>(&_impl_.switch_expr_), |
10509 | 0 | reinterpret_cast<char*>(&other->_impl_.switch_expr_)); |
10510 | 0 | } |
10511 | | |
10512 | 6.79M | ::PROTOBUF_NAMESPACE_ID::Metadata SwitchStmt::GetMetadata() const { |
10513 | 6.79M | return ::_pbi::AssignDescriptors( |
10514 | 6.79M | &descriptor_table_yulProto_2eproto_getter, &descriptor_table_yulProto_2eproto_once, |
10515 | 6.79M | file_level_metadata_yulProto_2eproto[24]); |
10516 | 6.79M | } |
10517 | | |
10518 | | // =================================================================== |
10519 | | |
10520 | | class BreakStmt::_Internal { |
10521 | | public: |
10522 | | }; |
10523 | | |
10524 | | BreakStmt::BreakStmt(::PROTOBUF_NAMESPACE_ID::Arena* arena, |
10525 | | bool is_message_owned) |
10526 | 196k | : ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase(arena, is_message_owned) { |
10527 | | // @@protoc_insertion_point(arena_constructor:solidity.yul.test.yul_fuzzer.BreakStmt) |
10528 | 196k | } |
10529 | | BreakStmt::BreakStmt(const BreakStmt& from) |
10530 | 0 | : ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase() { |
10531 | 0 | BreakStmt* const _this = this; (void)_this; |
10532 | 0 | _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); |
10533 | | // @@protoc_insertion_point(copy_constructor:solidity.yul.test.yul_fuzzer.BreakStmt) |
10534 | 0 | } |
10535 | | |
10536 | | |
10537 | | |
10538 | | |
10539 | | |
10540 | | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData BreakStmt::_class_data_ = { |
10541 | | ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl, |
10542 | | ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl, |
10543 | | }; |
10544 | 0 | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*BreakStmt::GetClassData() const { return &_class_data_; } |
10545 | | |
10546 | | |
10547 | | |
10548 | | |
10549 | | |
10550 | | |
10551 | | |
10552 | 5.50M | ::PROTOBUF_NAMESPACE_ID::Metadata BreakStmt::GetMetadata() const { |
10553 | 5.50M | return ::_pbi::AssignDescriptors( |
10554 | 5.50M | &descriptor_table_yulProto_2eproto_getter, &descriptor_table_yulProto_2eproto_once, |
10555 | 5.50M | file_level_metadata_yulProto_2eproto[25]); |
10556 | 5.50M | } |
10557 | | |
10558 | | // =================================================================== |
10559 | | |
10560 | | class ContinueStmt::_Internal { |
10561 | | public: |
10562 | | }; |
10563 | | |
10564 | | ContinueStmt::ContinueStmt(::PROTOBUF_NAMESPACE_ID::Arena* arena, |
10565 | | bool is_message_owned) |
10566 | 186k | : ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase(arena, is_message_owned) { |
10567 | | // @@protoc_insertion_point(arena_constructor:solidity.yul.test.yul_fuzzer.ContinueStmt) |
10568 | 186k | } |
10569 | | ContinueStmt::ContinueStmt(const ContinueStmt& from) |
10570 | 0 | : ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase() { |
10571 | 0 | ContinueStmt* const _this = this; (void)_this; |
10572 | 0 | _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); |
10573 | | // @@protoc_insertion_point(copy_constructor:solidity.yul.test.yul_fuzzer.ContinueStmt) |
10574 | 0 | } |
10575 | | |
10576 | | |
10577 | | |
10578 | | |
10579 | | |
10580 | | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData ContinueStmt::_class_data_ = { |
10581 | | ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl, |
10582 | | ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl, |
10583 | | }; |
10584 | 0 | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*ContinueStmt::GetClassData() const { return &_class_data_; } |
10585 | | |
10586 | | |
10587 | | |
10588 | | |
10589 | | |
10590 | | |
10591 | | |
10592 | 5.25M | ::PROTOBUF_NAMESPACE_ID::Metadata ContinueStmt::GetMetadata() const { |
10593 | 5.25M | return ::_pbi::AssignDescriptors( |
10594 | 5.25M | &descriptor_table_yulProto_2eproto_getter, &descriptor_table_yulProto_2eproto_once, |
10595 | 5.25M | file_level_metadata_yulProto_2eproto[26]); |
10596 | 5.25M | } |
10597 | | |
10598 | | // =================================================================== |
10599 | | |
10600 | | class StopInvalidStmt::_Internal { |
10601 | | public: |
10602 | | using HasBits = decltype(std::declval<StopInvalidStmt>()._impl_._has_bits_); |
10603 | 0 | static void set_has_stmt(HasBits* has_bits) { |
10604 | 0 | (*has_bits)[0] |= 1u; |
10605 | 0 | } |
10606 | 0 | static bool MissingRequiredFields(const HasBits& has_bits) { |
10607 | 0 | return ((has_bits[0] & 0x00000001) ^ 0x00000001) != 0; |
10608 | 0 | } |
10609 | | }; |
10610 | | |
10611 | | StopInvalidStmt::StopInvalidStmt(::PROTOBUF_NAMESPACE_ID::Arena* arena, |
10612 | | bool is_message_owned) |
10613 | 2.94k | : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { |
10614 | 2.94k | SharedCtor(arena, is_message_owned); |
10615 | | // @@protoc_insertion_point(arena_constructor:solidity.yul.test.yul_fuzzer.StopInvalidStmt) |
10616 | 2.94k | } |
10617 | | StopInvalidStmt::StopInvalidStmt(const StopInvalidStmt& from) |
10618 | 0 | : ::PROTOBUF_NAMESPACE_ID::Message() { |
10619 | 0 | StopInvalidStmt* const _this = this; (void)_this; |
10620 | 0 | new (&_impl_) Impl_{ |
10621 | 0 | decltype(_impl_._has_bits_){from._impl_._has_bits_} |
10622 | 0 | , /*decltype(_impl_._cached_size_)*/{} |
10623 | 0 | , decltype(_impl_.stmt_){}}; |
10624 | |
|
10625 | 0 | _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); |
10626 | 0 | _this->_impl_.stmt_ = from._impl_.stmt_; |
10627 | | // @@protoc_insertion_point(copy_constructor:solidity.yul.test.yul_fuzzer.StopInvalidStmt) |
10628 | 0 | } |
10629 | | |
10630 | | inline void StopInvalidStmt::SharedCtor( |
10631 | 2.94k | ::_pb::Arena* arena, bool is_message_owned) { |
10632 | 2.94k | (void)arena; |
10633 | 2.94k | (void)is_message_owned; |
10634 | 2.94k | new (&_impl_) Impl_{ |
10635 | 2.94k | decltype(_impl_._has_bits_){} |
10636 | 2.94k | , /*decltype(_impl_._cached_size_)*/{} |
10637 | 2.94k | , decltype(_impl_.stmt_){0} |
10638 | 2.94k | }; |
10639 | 2.94k | } |
10640 | | |
10641 | 2.94k | StopInvalidStmt::~StopInvalidStmt() { |
10642 | | // @@protoc_insertion_point(destructor:solidity.yul.test.yul_fuzzer.StopInvalidStmt) |
10643 | 2.94k | if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { |
10644 | 0 | (void)arena; |
10645 | 0 | return; |
10646 | 0 | } |
10647 | 2.94k | SharedDtor(); |
10648 | 2.94k | } |
10649 | | |
10650 | 2.94k | inline void StopInvalidStmt::SharedDtor() { |
10651 | 2.94k | GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); |
10652 | 2.94k | } |
10653 | | |
10654 | 0 | void StopInvalidStmt::SetCachedSize(int size) const { |
10655 | 0 | _impl_._cached_size_.Set(size); |
10656 | 0 | } |
10657 | | |
10658 | 0 | void StopInvalidStmt::Clear() { |
10659 | | // @@protoc_insertion_point(message_clear_start:solidity.yul.test.yul_fuzzer.StopInvalidStmt) |
10660 | 0 | uint32_t cached_has_bits = 0; |
10661 | | // Prevent compiler warnings about cached_has_bits being unused |
10662 | 0 | (void) cached_has_bits; |
10663 | |
|
10664 | 0 | _impl_.stmt_ = 0; |
10665 | 0 | _impl_._has_bits_.Clear(); |
10666 | 0 | _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); |
10667 | 0 | } |
10668 | | |
10669 | 0 | const char* StopInvalidStmt::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { |
10670 | 0 | #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure |
10671 | 0 | _Internal::HasBits has_bits{}; |
10672 | 0 | while (!ctx->Done(&ptr)) { |
10673 | 0 | uint32_t tag; |
10674 | 0 | ptr = ::_pbi::ReadTag(ptr, &tag); |
10675 | 0 | switch (tag >> 3) { |
10676 | | // required .solidity.yul.test.yul_fuzzer.StopInvalidStmt.Type stmt = 1; |
10677 | 0 | case 1: |
10678 | 0 | if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 8)) { |
10679 | 0 | uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); |
10680 | 0 | CHK_(ptr); |
10681 | 0 | if (PROTOBUF_PREDICT_TRUE(::solidity::yul::test::yul_fuzzer::StopInvalidStmt_Type_IsValid(val))) { |
10682 | 0 | _internal_set_stmt(static_cast<::solidity::yul::test::yul_fuzzer::StopInvalidStmt_Type>(val)); |
10683 | 0 | } else { |
10684 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::WriteVarint(1, val, mutable_unknown_fields()); |
10685 | 0 | } |
10686 | 0 | } else |
10687 | 0 | goto handle_unusual; |
10688 | 0 | continue; |
10689 | 0 | default: |
10690 | 0 | goto handle_unusual; |
10691 | 0 | } // switch |
10692 | 0 | handle_unusual: |
10693 | 0 | if ((tag == 0) || ((tag & 7) == 4)) { |
10694 | 0 | CHK_(ptr); |
10695 | 0 | ctx->SetLastTag(tag); |
10696 | 0 | goto message_done; |
10697 | 0 | } |
10698 | 0 | ptr = UnknownFieldParse( |
10699 | 0 | tag, |
10700 | 0 | _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), |
10701 | 0 | ptr, ctx); |
10702 | 0 | CHK_(ptr != nullptr); |
10703 | 0 | } // while |
10704 | 0 | message_done: |
10705 | 0 | _impl_._has_bits_.Or(has_bits); |
10706 | 0 | return ptr; |
10707 | 0 | failure: |
10708 | 0 | ptr = nullptr; |
10709 | 0 | goto message_done; |
10710 | 0 | #undef CHK_ |
10711 | 0 | } |
10712 | | |
10713 | | uint8_t* StopInvalidStmt::_InternalSerialize( |
10714 | 0 | uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { |
10715 | | // @@protoc_insertion_point(serialize_to_array_start:solidity.yul.test.yul_fuzzer.StopInvalidStmt) |
10716 | 0 | uint32_t cached_has_bits = 0; |
10717 | 0 | (void) cached_has_bits; |
10718 | |
|
10719 | 0 | cached_has_bits = _impl_._has_bits_[0]; |
10720 | | // required .solidity.yul.test.yul_fuzzer.StopInvalidStmt.Type stmt = 1; |
10721 | 0 | if (cached_has_bits & 0x00000001u) { |
10722 | 0 | target = stream->EnsureSpace(target); |
10723 | 0 | target = ::_pbi::WireFormatLite::WriteEnumToArray( |
10724 | 0 | 1, this->_internal_stmt(), target); |
10725 | 0 | } |
10726 | |
|
10727 | 0 | if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { |
10728 | 0 | target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( |
10729 | 0 | _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); |
10730 | 0 | } |
10731 | | // @@protoc_insertion_point(serialize_to_array_end:solidity.yul.test.yul_fuzzer.StopInvalidStmt) |
10732 | 0 | return target; |
10733 | 0 | } |
10734 | | |
10735 | 2.84k | size_t StopInvalidStmt::ByteSizeLong() const { |
10736 | | // @@protoc_insertion_point(message_byte_size_start:solidity.yul.test.yul_fuzzer.StopInvalidStmt) |
10737 | 2.84k | size_t total_size = 0; |
10738 | | |
10739 | | // required .solidity.yul.test.yul_fuzzer.StopInvalidStmt.Type stmt = 1; |
10740 | 2.84k | if (_internal_has_stmt()) { |
10741 | 2.84k | total_size += 1 + |
10742 | 2.84k | ::_pbi::WireFormatLite::EnumSize(this->_internal_stmt()); |
10743 | 2.84k | } |
10744 | 2.84k | uint32_t cached_has_bits = 0; |
10745 | | // Prevent compiler warnings about cached_has_bits being unused |
10746 | 2.84k | (void) cached_has_bits; |
10747 | | |
10748 | 2.84k | return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); |
10749 | 2.84k | } |
10750 | | |
10751 | | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData StopInvalidStmt::_class_data_ = { |
10752 | | ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, |
10753 | | StopInvalidStmt::MergeImpl |
10754 | | }; |
10755 | 0 | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*StopInvalidStmt::GetClassData() const { return &_class_data_; } |
10756 | | |
10757 | | |
10758 | 0 | void StopInvalidStmt::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { |
10759 | 0 | auto* const _this = static_cast<StopInvalidStmt*>(&to_msg); |
10760 | 0 | auto& from = static_cast<const StopInvalidStmt&>(from_msg); |
10761 | | // @@protoc_insertion_point(class_specific_merge_from_start:solidity.yul.test.yul_fuzzer.StopInvalidStmt) |
10762 | 0 | GOOGLE_DCHECK_NE(&from, _this); |
10763 | 0 | uint32_t cached_has_bits = 0; |
10764 | 0 | (void) cached_has_bits; |
10765 | |
|
10766 | 0 | if (from._internal_has_stmt()) { |
10767 | 0 | _this->_internal_set_stmt(from._internal_stmt()); |
10768 | 0 | } |
10769 | 0 | _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); |
10770 | 0 | } |
10771 | | |
10772 | 0 | void StopInvalidStmt::CopyFrom(const StopInvalidStmt& from) { |
10773 | | // @@protoc_insertion_point(class_specific_copy_from_start:solidity.yul.test.yul_fuzzer.StopInvalidStmt) |
10774 | 0 | if (&from == this) return; |
10775 | 0 | Clear(); |
10776 | 0 | MergeFrom(from); |
10777 | 0 | } |
10778 | | |
10779 | 0 | bool StopInvalidStmt::IsInitialized() const { |
10780 | 0 | if (_Internal::MissingRequiredFields(_impl_._has_bits_)) return false; |
10781 | 0 | return true; |
10782 | 0 | } |
10783 | | |
10784 | 0 | void StopInvalidStmt::InternalSwap(StopInvalidStmt* other) { |
10785 | 0 | using std::swap; |
10786 | 0 | _internal_metadata_.InternalSwap(&other->_internal_metadata_); |
10787 | 0 | swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); |
10788 | 0 | swap(_impl_.stmt_, other->_impl_.stmt_); |
10789 | 0 | } |
10790 | | |
10791 | 35.7k | ::PROTOBUF_NAMESPACE_ID::Metadata StopInvalidStmt::GetMetadata() const { |
10792 | 35.7k | return ::_pbi::AssignDescriptors( |
10793 | 35.7k | &descriptor_table_yulProto_2eproto_getter, &descriptor_table_yulProto_2eproto_once, |
10794 | 35.7k | file_level_metadata_yulProto_2eproto[27]); |
10795 | 35.7k | } |
10796 | | |
10797 | | // =================================================================== |
10798 | | |
10799 | | class RetRevStmt::_Internal { |
10800 | | public: |
10801 | | using HasBits = decltype(std::declval<RetRevStmt>()._impl_._has_bits_); |
10802 | 0 | static void set_has_stmt(HasBits* has_bits) { |
10803 | 0 | (*has_bits)[0] |= 4u; |
10804 | 0 | } |
10805 | | static const ::solidity::yul::test::yul_fuzzer::Expression& pos(const RetRevStmt* msg); |
10806 | 0 | static void set_has_pos(HasBits* has_bits) { |
10807 | 0 | (*has_bits)[0] |= 1u; |
10808 | 0 | } |
10809 | | static const ::solidity::yul::test::yul_fuzzer::Expression& size(const RetRevStmt* msg); |
10810 | 0 | static void set_has_size(HasBits* has_bits) { |
10811 | 0 | (*has_bits)[0] |= 2u; |
10812 | 0 | } |
10813 | 0 | static bool MissingRequiredFields(const HasBits& has_bits) { |
10814 | 0 | return ((has_bits[0] & 0x00000007) ^ 0x00000007) != 0; |
10815 | 0 | } |
10816 | | }; |
10817 | | |
10818 | | const ::solidity::yul::test::yul_fuzzer::Expression& |
10819 | 0 | RetRevStmt::_Internal::pos(const RetRevStmt* msg) { |
10820 | 0 | return *msg->_impl_.pos_; |
10821 | 0 | } |
10822 | | const ::solidity::yul::test::yul_fuzzer::Expression& |
10823 | 0 | RetRevStmt::_Internal::size(const RetRevStmt* msg) { |
10824 | 0 | return *msg->_impl_.size_; |
10825 | 0 | } |
10826 | | RetRevStmt::RetRevStmt(::PROTOBUF_NAMESPACE_ID::Arena* arena, |
10827 | | bool is_message_owned) |
10828 | 4.04k | : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { |
10829 | 4.04k | SharedCtor(arena, is_message_owned); |
10830 | | // @@protoc_insertion_point(arena_constructor:solidity.yul.test.yul_fuzzer.RetRevStmt) |
10831 | 4.04k | } |
10832 | | RetRevStmt::RetRevStmt(const RetRevStmt& from) |
10833 | 0 | : ::PROTOBUF_NAMESPACE_ID::Message() { |
10834 | 0 | RetRevStmt* const _this = this; (void)_this; |
10835 | 0 | new (&_impl_) Impl_{ |
10836 | 0 | decltype(_impl_._has_bits_){from._impl_._has_bits_} |
10837 | 0 | , /*decltype(_impl_._cached_size_)*/{} |
10838 | 0 | , decltype(_impl_.pos_){nullptr} |
10839 | 0 | , decltype(_impl_.size_){nullptr} |
10840 | 0 | , decltype(_impl_.stmt_){}}; |
10841 | |
|
10842 | 0 | _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); |
10843 | 0 | if (from._internal_has_pos()) { |
10844 | 0 | _this->_impl_.pos_ = new ::solidity::yul::test::yul_fuzzer::Expression(*from._impl_.pos_); |
10845 | 0 | } |
10846 | 0 | if (from._internal_has_size()) { |
10847 | 0 | _this->_impl_.size_ = new ::solidity::yul::test::yul_fuzzer::Expression(*from._impl_.size_); |
10848 | 0 | } |
10849 | 0 | _this->_impl_.stmt_ = from._impl_.stmt_; |
10850 | | // @@protoc_insertion_point(copy_constructor:solidity.yul.test.yul_fuzzer.RetRevStmt) |
10851 | 0 | } |
10852 | | |
10853 | | inline void RetRevStmt::SharedCtor( |
10854 | 4.04k | ::_pb::Arena* arena, bool is_message_owned) { |
10855 | 4.04k | (void)arena; |
10856 | 4.04k | (void)is_message_owned; |
10857 | 4.04k | new (&_impl_) Impl_{ |
10858 | 4.04k | decltype(_impl_._has_bits_){} |
10859 | 4.04k | , /*decltype(_impl_._cached_size_)*/{} |
10860 | 4.04k | , decltype(_impl_.pos_){nullptr} |
10861 | 4.04k | , decltype(_impl_.size_){nullptr} |
10862 | 4.04k | , decltype(_impl_.stmt_){0} |
10863 | 4.04k | }; |
10864 | 4.04k | } |
10865 | | |
10866 | 4.04k | RetRevStmt::~RetRevStmt() { |
10867 | | // @@protoc_insertion_point(destructor:solidity.yul.test.yul_fuzzer.RetRevStmt) |
10868 | 4.04k | if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { |
10869 | 0 | (void)arena; |
10870 | 0 | return; |
10871 | 0 | } |
10872 | 4.04k | SharedDtor(); |
10873 | 4.04k | } |
10874 | | |
10875 | 4.04k | inline void RetRevStmt::SharedDtor() { |
10876 | 4.04k | GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); |
10877 | 4.04k | if (this != internal_default_instance()) delete _impl_.pos_; |
10878 | 4.04k | if (this != internal_default_instance()) delete _impl_.size_; |
10879 | 4.04k | } |
10880 | | |
10881 | 0 | void RetRevStmt::SetCachedSize(int size) const { |
10882 | 0 | _impl_._cached_size_.Set(size); |
10883 | 0 | } |
10884 | | |
10885 | 0 | void RetRevStmt::Clear() { |
10886 | | // @@protoc_insertion_point(message_clear_start:solidity.yul.test.yul_fuzzer.RetRevStmt) |
10887 | 0 | uint32_t cached_has_bits = 0; |
10888 | | // Prevent compiler warnings about cached_has_bits being unused |
10889 | 0 | (void) cached_has_bits; |
10890 | |
|
10891 | 0 | cached_has_bits = _impl_._has_bits_[0]; |
10892 | 0 | if (cached_has_bits & 0x00000003u) { |
10893 | 0 | if (cached_has_bits & 0x00000001u) { |
10894 | 0 | GOOGLE_DCHECK(_impl_.pos_ != nullptr); |
10895 | 0 | _impl_.pos_->Clear(); |
10896 | 0 | } |
10897 | 0 | if (cached_has_bits & 0x00000002u) { |
10898 | 0 | GOOGLE_DCHECK(_impl_.size_ != nullptr); |
10899 | 0 | _impl_.size_->Clear(); |
10900 | 0 | } |
10901 | 0 | } |
10902 | 0 | _impl_.stmt_ = 0; |
10903 | 0 | _impl_._has_bits_.Clear(); |
10904 | 0 | _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); |
10905 | 0 | } |
10906 | | |
10907 | 0 | const char* RetRevStmt::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { |
10908 | 0 | #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure |
10909 | 0 | _Internal::HasBits has_bits{}; |
10910 | 0 | while (!ctx->Done(&ptr)) { |
10911 | 0 | uint32_t tag; |
10912 | 0 | ptr = ::_pbi::ReadTag(ptr, &tag); |
10913 | 0 | switch (tag >> 3) { |
10914 | | // required .solidity.yul.test.yul_fuzzer.RetRevStmt.Type stmt = 1; |
10915 | 0 | case 1: |
10916 | 0 | if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 8)) { |
10917 | 0 | uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); |
10918 | 0 | CHK_(ptr); |
10919 | 0 | if (PROTOBUF_PREDICT_TRUE(::solidity::yul::test::yul_fuzzer::RetRevStmt_Type_IsValid(val))) { |
10920 | 0 | _internal_set_stmt(static_cast<::solidity::yul::test::yul_fuzzer::RetRevStmt_Type>(val)); |
10921 | 0 | } else { |
10922 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::WriteVarint(1, val, mutable_unknown_fields()); |
10923 | 0 | } |
10924 | 0 | } else |
10925 | 0 | goto handle_unusual; |
10926 | 0 | continue; |
10927 | | // required .solidity.yul.test.yul_fuzzer.Expression pos = 2; |
10928 | 0 | case 2: |
10929 | 0 | if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 18)) { |
10930 | 0 | ptr = ctx->ParseMessage(_internal_mutable_pos(), ptr); |
10931 | 0 | CHK_(ptr); |
10932 | 0 | } else |
10933 | 0 | goto handle_unusual; |
10934 | 0 | continue; |
10935 | | // required .solidity.yul.test.yul_fuzzer.Expression size = 3; |
10936 | 0 | case 3: |
10937 | 0 | if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 26)) { |
10938 | 0 | ptr = ctx->ParseMessage(_internal_mutable_size(), ptr); |
10939 | 0 | CHK_(ptr); |
10940 | 0 | } else |
10941 | 0 | goto handle_unusual; |
10942 | 0 | continue; |
10943 | 0 | default: |
10944 | 0 | goto handle_unusual; |
10945 | 0 | } // switch |
10946 | 0 | handle_unusual: |
10947 | 0 | if ((tag == 0) || ((tag & 7) == 4)) { |
10948 | 0 | CHK_(ptr); |
10949 | 0 | ctx->SetLastTag(tag); |
10950 | 0 | goto message_done; |
10951 | 0 | } |
10952 | 0 | ptr = UnknownFieldParse( |
10953 | 0 | tag, |
10954 | 0 | _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), |
10955 | 0 | ptr, ctx); |
10956 | 0 | CHK_(ptr != nullptr); |
10957 | 0 | } // while |
10958 | 0 | message_done: |
10959 | 0 | _impl_._has_bits_.Or(has_bits); |
10960 | 0 | return ptr; |
10961 | 0 | failure: |
10962 | 0 | ptr = nullptr; |
10963 | 0 | goto message_done; |
10964 | 0 | #undef CHK_ |
10965 | 0 | } |
10966 | | |
10967 | | uint8_t* RetRevStmt::_InternalSerialize( |
10968 | 0 | uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { |
10969 | | // @@protoc_insertion_point(serialize_to_array_start:solidity.yul.test.yul_fuzzer.RetRevStmt) |
10970 | 0 | uint32_t cached_has_bits = 0; |
10971 | 0 | (void) cached_has_bits; |
10972 | |
|
10973 | 0 | cached_has_bits = _impl_._has_bits_[0]; |
10974 | | // required .solidity.yul.test.yul_fuzzer.RetRevStmt.Type stmt = 1; |
10975 | 0 | if (cached_has_bits & 0x00000004u) { |
10976 | 0 | target = stream->EnsureSpace(target); |
10977 | 0 | target = ::_pbi::WireFormatLite::WriteEnumToArray( |
10978 | 0 | 1, this->_internal_stmt(), target); |
10979 | 0 | } |
10980 | | |
10981 | | // required .solidity.yul.test.yul_fuzzer.Expression pos = 2; |
10982 | 0 | if (cached_has_bits & 0x00000001u) { |
10983 | 0 | target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: |
10984 | 0 | InternalWriteMessage(2, _Internal::pos(this), |
10985 | 0 | _Internal::pos(this).GetCachedSize(), target, stream); |
10986 | 0 | } |
10987 | | |
10988 | | // required .solidity.yul.test.yul_fuzzer.Expression size = 3; |
10989 | 0 | if (cached_has_bits & 0x00000002u) { |
10990 | 0 | target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: |
10991 | 0 | InternalWriteMessage(3, _Internal::size(this), |
10992 | 0 | _Internal::size(this).GetCachedSize(), target, stream); |
10993 | 0 | } |
10994 | |
|
10995 | 0 | if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { |
10996 | 0 | target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( |
10997 | 0 | _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); |
10998 | 0 | } |
10999 | | // @@protoc_insertion_point(serialize_to_array_end:solidity.yul.test.yul_fuzzer.RetRevStmt) |
11000 | 0 | return target; |
11001 | 0 | } |
11002 | | |
11003 | 0 | size_t RetRevStmt::RequiredFieldsByteSizeFallback() const { |
11004 | | // @@protoc_insertion_point(required_fields_byte_size_fallback_start:solidity.yul.test.yul_fuzzer.RetRevStmt) |
11005 | 0 | size_t total_size = 0; |
11006 | |
|
11007 | 0 | if (_internal_has_pos()) { |
11008 | | // required .solidity.yul.test.yul_fuzzer.Expression pos = 2; |
11009 | 0 | total_size += 1 + |
11010 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
11011 | 0 | *_impl_.pos_); |
11012 | 0 | } |
11013 | |
|
11014 | 0 | if (_internal_has_size()) { |
11015 | | // required .solidity.yul.test.yul_fuzzer.Expression size = 3; |
11016 | 0 | total_size += 1 + |
11017 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
11018 | 0 | *_impl_.size_); |
11019 | 0 | } |
11020 | |
|
11021 | 0 | if (_internal_has_stmt()) { |
11022 | | // required .solidity.yul.test.yul_fuzzer.RetRevStmt.Type stmt = 1; |
11023 | 0 | total_size += 1 + |
11024 | 0 | ::_pbi::WireFormatLite::EnumSize(this->_internal_stmt()); |
11025 | 0 | } |
11026 | |
|
11027 | 0 | return total_size; |
11028 | 0 | } |
11029 | 2.51k | size_t RetRevStmt::ByteSizeLong() const { |
11030 | | // @@protoc_insertion_point(message_byte_size_start:solidity.yul.test.yul_fuzzer.RetRevStmt) |
11031 | 2.51k | size_t total_size = 0; |
11032 | | |
11033 | 2.51k | if (((_impl_._has_bits_[0] & 0x00000007) ^ 0x00000007) == 0) { // All required fields are present. |
11034 | | // required .solidity.yul.test.yul_fuzzer.Expression pos = 2; |
11035 | 2.51k | total_size += 1 + |
11036 | 2.51k | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
11037 | 2.51k | *_impl_.pos_); |
11038 | | |
11039 | | // required .solidity.yul.test.yul_fuzzer.Expression size = 3; |
11040 | 2.51k | total_size += 1 + |
11041 | 2.51k | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
11042 | 2.51k | *_impl_.size_); |
11043 | | |
11044 | | // required .solidity.yul.test.yul_fuzzer.RetRevStmt.Type stmt = 1; |
11045 | 2.51k | total_size += 1 + |
11046 | 2.51k | ::_pbi::WireFormatLite::EnumSize(this->_internal_stmt()); |
11047 | | |
11048 | 2.51k | } else { |
11049 | 0 | total_size += RequiredFieldsByteSizeFallback(); |
11050 | 0 | } |
11051 | 2.51k | uint32_t cached_has_bits = 0; |
11052 | | // Prevent compiler warnings about cached_has_bits being unused |
11053 | 2.51k | (void) cached_has_bits; |
11054 | | |
11055 | 2.51k | return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); |
11056 | 2.51k | } |
11057 | | |
11058 | | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData RetRevStmt::_class_data_ = { |
11059 | | ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, |
11060 | | RetRevStmt::MergeImpl |
11061 | | }; |
11062 | 0 | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*RetRevStmt::GetClassData() const { return &_class_data_; } |
11063 | | |
11064 | | |
11065 | 0 | void RetRevStmt::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { |
11066 | 0 | auto* const _this = static_cast<RetRevStmt*>(&to_msg); |
11067 | 0 | auto& from = static_cast<const RetRevStmt&>(from_msg); |
11068 | | // @@protoc_insertion_point(class_specific_merge_from_start:solidity.yul.test.yul_fuzzer.RetRevStmt) |
11069 | 0 | GOOGLE_DCHECK_NE(&from, _this); |
11070 | 0 | uint32_t cached_has_bits = 0; |
11071 | 0 | (void) cached_has_bits; |
11072 | |
|
11073 | 0 | cached_has_bits = from._impl_._has_bits_[0]; |
11074 | 0 | if (cached_has_bits & 0x00000007u) { |
11075 | 0 | if (cached_has_bits & 0x00000001u) { |
11076 | 0 | _this->_internal_mutable_pos()->::solidity::yul::test::yul_fuzzer::Expression::MergeFrom( |
11077 | 0 | from._internal_pos()); |
11078 | 0 | } |
11079 | 0 | if (cached_has_bits & 0x00000002u) { |
11080 | 0 | _this->_internal_mutable_size()->::solidity::yul::test::yul_fuzzer::Expression::MergeFrom( |
11081 | 0 | from._internal_size()); |
11082 | 0 | } |
11083 | 0 | if (cached_has_bits & 0x00000004u) { |
11084 | 0 | _this->_impl_.stmt_ = from._impl_.stmt_; |
11085 | 0 | } |
11086 | 0 | _this->_impl_._has_bits_[0] |= cached_has_bits; |
11087 | 0 | } |
11088 | 0 | _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); |
11089 | 0 | } |
11090 | | |
11091 | 0 | void RetRevStmt::CopyFrom(const RetRevStmt& from) { |
11092 | | // @@protoc_insertion_point(class_specific_copy_from_start:solidity.yul.test.yul_fuzzer.RetRevStmt) |
11093 | 0 | if (&from == this) return; |
11094 | 0 | Clear(); |
11095 | 0 | MergeFrom(from); |
11096 | 0 | } |
11097 | | |
11098 | 0 | bool RetRevStmt::IsInitialized() const { |
11099 | 0 | if (_Internal::MissingRequiredFields(_impl_._has_bits_)) return false; |
11100 | 0 | if (_internal_has_pos()) { |
11101 | 0 | if (!_impl_.pos_->IsInitialized()) return false; |
11102 | 0 | } |
11103 | 0 | if (_internal_has_size()) { |
11104 | 0 | if (!_impl_.size_->IsInitialized()) return false; |
11105 | 0 | } |
11106 | 0 | return true; |
11107 | 0 | } |
11108 | | |
11109 | 0 | void RetRevStmt::InternalSwap(RetRevStmt* other) { |
11110 | 0 | using std::swap; |
11111 | 0 | _internal_metadata_.InternalSwap(&other->_internal_metadata_); |
11112 | 0 | swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); |
11113 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::memswap< |
11114 | 0 | PROTOBUF_FIELD_OFFSET(RetRevStmt, _impl_.stmt_) |
11115 | 0 | + sizeof(RetRevStmt::_impl_.stmt_) |
11116 | 0 | - PROTOBUF_FIELD_OFFSET(RetRevStmt, _impl_.pos_)>( |
11117 | 0 | reinterpret_cast<char*>(&_impl_.pos_), |
11118 | 0 | reinterpret_cast<char*>(&other->_impl_.pos_)); |
11119 | 0 | } |
11120 | | |
11121 | 63.3k | ::PROTOBUF_NAMESPACE_ID::Metadata RetRevStmt::GetMetadata() const { |
11122 | 63.3k | return ::_pbi::AssignDescriptors( |
11123 | 63.3k | &descriptor_table_yulProto_2eproto_getter, &descriptor_table_yulProto_2eproto_once, |
11124 | 63.3k | file_level_metadata_yulProto_2eproto[28]); |
11125 | 63.3k | } |
11126 | | |
11127 | | // =================================================================== |
11128 | | |
11129 | | class SelfDestructStmt::_Internal { |
11130 | | public: |
11131 | | using HasBits = decltype(std::declval<SelfDestructStmt>()._impl_._has_bits_); |
11132 | | static const ::solidity::yul::test::yul_fuzzer::Expression& addr(const SelfDestructStmt* msg); |
11133 | 0 | static void set_has_addr(HasBits* has_bits) { |
11134 | 0 | (*has_bits)[0] |= 1u; |
11135 | 0 | } |
11136 | 0 | static bool MissingRequiredFields(const HasBits& has_bits) { |
11137 | 0 | return ((has_bits[0] & 0x00000001) ^ 0x00000001) != 0; |
11138 | 0 | } |
11139 | | }; |
11140 | | |
11141 | | const ::solidity::yul::test::yul_fuzzer::Expression& |
11142 | 0 | SelfDestructStmt::_Internal::addr(const SelfDestructStmt* msg) { |
11143 | 0 | return *msg->_impl_.addr_; |
11144 | 0 | } |
11145 | | SelfDestructStmt::SelfDestructStmt(::PROTOBUF_NAMESPACE_ID::Arena* arena, |
11146 | | bool is_message_owned) |
11147 | 3.23k | : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { |
11148 | 3.23k | SharedCtor(arena, is_message_owned); |
11149 | | // @@protoc_insertion_point(arena_constructor:solidity.yul.test.yul_fuzzer.SelfDestructStmt) |
11150 | 3.23k | } |
11151 | | SelfDestructStmt::SelfDestructStmt(const SelfDestructStmt& from) |
11152 | 0 | : ::PROTOBUF_NAMESPACE_ID::Message() { |
11153 | 0 | SelfDestructStmt* const _this = this; (void)_this; |
11154 | 0 | new (&_impl_) Impl_{ |
11155 | 0 | decltype(_impl_._has_bits_){from._impl_._has_bits_} |
11156 | 0 | , /*decltype(_impl_._cached_size_)*/{} |
11157 | 0 | , decltype(_impl_.addr_){nullptr}}; |
11158 | |
|
11159 | 0 | _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); |
11160 | 0 | if (from._internal_has_addr()) { |
11161 | 0 | _this->_impl_.addr_ = new ::solidity::yul::test::yul_fuzzer::Expression(*from._impl_.addr_); |
11162 | 0 | } |
11163 | | // @@protoc_insertion_point(copy_constructor:solidity.yul.test.yul_fuzzer.SelfDestructStmt) |
11164 | 0 | } |
11165 | | |
11166 | | inline void SelfDestructStmt::SharedCtor( |
11167 | 3.23k | ::_pb::Arena* arena, bool is_message_owned) { |
11168 | 3.23k | (void)arena; |
11169 | 3.23k | (void)is_message_owned; |
11170 | 3.23k | new (&_impl_) Impl_{ |
11171 | 3.23k | decltype(_impl_._has_bits_){} |
11172 | 3.23k | , /*decltype(_impl_._cached_size_)*/{} |
11173 | 3.23k | , decltype(_impl_.addr_){nullptr} |
11174 | 3.23k | }; |
11175 | 3.23k | } |
11176 | | |
11177 | 3.23k | SelfDestructStmt::~SelfDestructStmt() { |
11178 | | // @@protoc_insertion_point(destructor:solidity.yul.test.yul_fuzzer.SelfDestructStmt) |
11179 | 3.23k | if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { |
11180 | 0 | (void)arena; |
11181 | 0 | return; |
11182 | 0 | } |
11183 | 3.23k | SharedDtor(); |
11184 | 3.23k | } |
11185 | | |
11186 | 3.23k | inline void SelfDestructStmt::SharedDtor() { |
11187 | 3.23k | GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); |
11188 | 3.23k | if (this != internal_default_instance()) delete _impl_.addr_; |
11189 | 3.23k | } |
11190 | | |
11191 | 0 | void SelfDestructStmt::SetCachedSize(int size) const { |
11192 | 0 | _impl_._cached_size_.Set(size); |
11193 | 0 | } |
11194 | | |
11195 | 0 | void SelfDestructStmt::Clear() { |
11196 | | // @@protoc_insertion_point(message_clear_start:solidity.yul.test.yul_fuzzer.SelfDestructStmt) |
11197 | 0 | uint32_t cached_has_bits = 0; |
11198 | | // Prevent compiler warnings about cached_has_bits being unused |
11199 | 0 | (void) cached_has_bits; |
11200 | |
|
11201 | 0 | cached_has_bits = _impl_._has_bits_[0]; |
11202 | 0 | if (cached_has_bits & 0x00000001u) { |
11203 | 0 | GOOGLE_DCHECK(_impl_.addr_ != nullptr); |
11204 | 0 | _impl_.addr_->Clear(); |
11205 | 0 | } |
11206 | 0 | _impl_._has_bits_.Clear(); |
11207 | 0 | _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); |
11208 | 0 | } |
11209 | | |
11210 | 0 | const char* SelfDestructStmt::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { |
11211 | 0 | #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure |
11212 | 0 | _Internal::HasBits has_bits{}; |
11213 | 0 | while (!ctx->Done(&ptr)) { |
11214 | 0 | uint32_t tag; |
11215 | 0 | ptr = ::_pbi::ReadTag(ptr, &tag); |
11216 | 0 | switch (tag >> 3) { |
11217 | | // required .solidity.yul.test.yul_fuzzer.Expression addr = 1; |
11218 | 0 | case 1: |
11219 | 0 | if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 10)) { |
11220 | 0 | ptr = ctx->ParseMessage(_internal_mutable_addr(), ptr); |
11221 | 0 | CHK_(ptr); |
11222 | 0 | } else |
11223 | 0 | goto handle_unusual; |
11224 | 0 | continue; |
11225 | 0 | default: |
11226 | 0 | goto handle_unusual; |
11227 | 0 | } // switch |
11228 | 0 | handle_unusual: |
11229 | 0 | if ((tag == 0) || ((tag & 7) == 4)) { |
11230 | 0 | CHK_(ptr); |
11231 | 0 | ctx->SetLastTag(tag); |
11232 | 0 | goto message_done; |
11233 | 0 | } |
11234 | 0 | ptr = UnknownFieldParse( |
11235 | 0 | tag, |
11236 | 0 | _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), |
11237 | 0 | ptr, ctx); |
11238 | 0 | CHK_(ptr != nullptr); |
11239 | 0 | } // while |
11240 | 0 | message_done: |
11241 | 0 | _impl_._has_bits_.Or(has_bits); |
11242 | 0 | return ptr; |
11243 | 0 | failure: |
11244 | 0 | ptr = nullptr; |
11245 | 0 | goto message_done; |
11246 | 0 | #undef CHK_ |
11247 | 0 | } |
11248 | | |
11249 | | uint8_t* SelfDestructStmt::_InternalSerialize( |
11250 | 0 | uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { |
11251 | | // @@protoc_insertion_point(serialize_to_array_start:solidity.yul.test.yul_fuzzer.SelfDestructStmt) |
11252 | 0 | uint32_t cached_has_bits = 0; |
11253 | 0 | (void) cached_has_bits; |
11254 | |
|
11255 | 0 | cached_has_bits = _impl_._has_bits_[0]; |
11256 | | // required .solidity.yul.test.yul_fuzzer.Expression addr = 1; |
11257 | 0 | if (cached_has_bits & 0x00000001u) { |
11258 | 0 | target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: |
11259 | 0 | InternalWriteMessage(1, _Internal::addr(this), |
11260 | 0 | _Internal::addr(this).GetCachedSize(), target, stream); |
11261 | 0 | } |
11262 | |
|
11263 | 0 | if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { |
11264 | 0 | target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( |
11265 | 0 | _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); |
11266 | 0 | } |
11267 | | // @@protoc_insertion_point(serialize_to_array_end:solidity.yul.test.yul_fuzzer.SelfDestructStmt) |
11268 | 0 | return target; |
11269 | 0 | } |
11270 | | |
11271 | 2.42k | size_t SelfDestructStmt::ByteSizeLong() const { |
11272 | | // @@protoc_insertion_point(message_byte_size_start:solidity.yul.test.yul_fuzzer.SelfDestructStmt) |
11273 | 2.42k | size_t total_size = 0; |
11274 | | |
11275 | | // required .solidity.yul.test.yul_fuzzer.Expression addr = 1; |
11276 | 2.42k | if (_internal_has_addr()) { |
11277 | 2.42k | total_size += 1 + |
11278 | 2.42k | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
11279 | 2.42k | *_impl_.addr_); |
11280 | 2.42k | } |
11281 | 2.42k | uint32_t cached_has_bits = 0; |
11282 | | // Prevent compiler warnings about cached_has_bits being unused |
11283 | 2.42k | (void) cached_has_bits; |
11284 | | |
11285 | 2.42k | return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); |
11286 | 2.42k | } |
11287 | | |
11288 | | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData SelfDestructStmt::_class_data_ = { |
11289 | | ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, |
11290 | | SelfDestructStmt::MergeImpl |
11291 | | }; |
11292 | 0 | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*SelfDestructStmt::GetClassData() const { return &_class_data_; } |
11293 | | |
11294 | | |
11295 | 0 | void SelfDestructStmt::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { |
11296 | 0 | auto* const _this = static_cast<SelfDestructStmt*>(&to_msg); |
11297 | 0 | auto& from = static_cast<const SelfDestructStmt&>(from_msg); |
11298 | | // @@protoc_insertion_point(class_specific_merge_from_start:solidity.yul.test.yul_fuzzer.SelfDestructStmt) |
11299 | 0 | GOOGLE_DCHECK_NE(&from, _this); |
11300 | 0 | uint32_t cached_has_bits = 0; |
11301 | 0 | (void) cached_has_bits; |
11302 | |
|
11303 | 0 | if (from._internal_has_addr()) { |
11304 | 0 | _this->_internal_mutable_addr()->::solidity::yul::test::yul_fuzzer::Expression::MergeFrom( |
11305 | 0 | from._internal_addr()); |
11306 | 0 | } |
11307 | 0 | _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); |
11308 | 0 | } |
11309 | | |
11310 | 0 | void SelfDestructStmt::CopyFrom(const SelfDestructStmt& from) { |
11311 | | // @@protoc_insertion_point(class_specific_copy_from_start:solidity.yul.test.yul_fuzzer.SelfDestructStmt) |
11312 | 0 | if (&from == this) return; |
11313 | 0 | Clear(); |
11314 | 0 | MergeFrom(from); |
11315 | 0 | } |
11316 | | |
11317 | 0 | bool SelfDestructStmt::IsInitialized() const { |
11318 | 0 | if (_Internal::MissingRequiredFields(_impl_._has_bits_)) return false; |
11319 | 0 | if (_internal_has_addr()) { |
11320 | 0 | if (!_impl_.addr_->IsInitialized()) return false; |
11321 | 0 | } |
11322 | 0 | return true; |
11323 | 0 | } |
11324 | | |
11325 | 0 | void SelfDestructStmt::InternalSwap(SelfDestructStmt* other) { |
11326 | 0 | using std::swap; |
11327 | 0 | _internal_metadata_.InternalSwap(&other->_internal_metadata_); |
11328 | 0 | swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); |
11329 | 0 | swap(_impl_.addr_, other->_impl_.addr_); |
11330 | 0 | } |
11331 | | |
11332 | 34.5k | ::PROTOBUF_NAMESPACE_ID::Metadata SelfDestructStmt::GetMetadata() const { |
11333 | 34.5k | return ::_pbi::AssignDescriptors( |
11334 | 34.5k | &descriptor_table_yulProto_2eproto_getter, &descriptor_table_yulProto_2eproto_once, |
11335 | 34.5k | file_level_metadata_yulProto_2eproto[29]); |
11336 | 34.5k | } |
11337 | | |
11338 | | // =================================================================== |
11339 | | |
11340 | | class TerminatingStmt::_Internal { |
11341 | | public: |
11342 | | static const ::solidity::yul::test::yul_fuzzer::StopInvalidStmt& stop_invalid(const TerminatingStmt* msg); |
11343 | | static const ::solidity::yul::test::yul_fuzzer::RetRevStmt& ret_rev(const TerminatingStmt* msg); |
11344 | | static const ::solidity::yul::test::yul_fuzzer::SelfDestructStmt& self_des(const TerminatingStmt* msg); |
11345 | | }; |
11346 | | |
11347 | | const ::solidity::yul::test::yul_fuzzer::StopInvalidStmt& |
11348 | 0 | TerminatingStmt::_Internal::stop_invalid(const TerminatingStmt* msg) { |
11349 | 0 | return *msg->_impl_.term_oneof_.stop_invalid_; |
11350 | 0 | } |
11351 | | const ::solidity::yul::test::yul_fuzzer::RetRevStmt& |
11352 | 0 | TerminatingStmt::_Internal::ret_rev(const TerminatingStmt* msg) { |
11353 | 0 | return *msg->_impl_.term_oneof_.ret_rev_; |
11354 | 0 | } |
11355 | | const ::solidity::yul::test::yul_fuzzer::SelfDestructStmt& |
11356 | 0 | TerminatingStmt::_Internal::self_des(const TerminatingStmt* msg) { |
11357 | 0 | return *msg->_impl_.term_oneof_.self_des_; |
11358 | 0 | } |
11359 | 0 | void TerminatingStmt::set_allocated_stop_invalid(::solidity::yul::test::yul_fuzzer::StopInvalidStmt* stop_invalid) { |
11360 | 0 | ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); |
11361 | 0 | clear_term_oneof(); |
11362 | 0 | if (stop_invalid) { |
11363 | 0 | ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = |
11364 | 0 | ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(stop_invalid); |
11365 | 0 | if (message_arena != submessage_arena) { |
11366 | 0 | stop_invalid = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( |
11367 | 0 | message_arena, stop_invalid, submessage_arena); |
11368 | 0 | } |
11369 | 0 | set_has_stop_invalid(); |
11370 | 0 | _impl_.term_oneof_.stop_invalid_ = stop_invalid; |
11371 | 0 | } |
11372 | | // @@protoc_insertion_point(field_set_allocated:solidity.yul.test.yul_fuzzer.TerminatingStmt.stop_invalid) |
11373 | 0 | } |
11374 | 0 | void TerminatingStmt::set_allocated_ret_rev(::solidity::yul::test::yul_fuzzer::RetRevStmt* ret_rev) { |
11375 | 0 | ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); |
11376 | 0 | clear_term_oneof(); |
11377 | 0 | if (ret_rev) { |
11378 | 0 | ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = |
11379 | 0 | ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(ret_rev); |
11380 | 0 | if (message_arena != submessage_arena) { |
11381 | 0 | ret_rev = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( |
11382 | 0 | message_arena, ret_rev, submessage_arena); |
11383 | 0 | } |
11384 | 0 | set_has_ret_rev(); |
11385 | 0 | _impl_.term_oneof_.ret_rev_ = ret_rev; |
11386 | 0 | } |
11387 | | // @@protoc_insertion_point(field_set_allocated:solidity.yul.test.yul_fuzzer.TerminatingStmt.ret_rev) |
11388 | 0 | } |
11389 | 0 | void TerminatingStmt::set_allocated_self_des(::solidity::yul::test::yul_fuzzer::SelfDestructStmt* self_des) { |
11390 | 0 | ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); |
11391 | 0 | clear_term_oneof(); |
11392 | 0 | if (self_des) { |
11393 | 0 | ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = |
11394 | 0 | ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(self_des); |
11395 | 0 | if (message_arena != submessage_arena) { |
11396 | 0 | self_des = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( |
11397 | 0 | message_arena, self_des, submessage_arena); |
11398 | 0 | } |
11399 | 0 | set_has_self_des(); |
11400 | 0 | _impl_.term_oneof_.self_des_ = self_des; |
11401 | 0 | } |
11402 | | // @@protoc_insertion_point(field_set_allocated:solidity.yul.test.yul_fuzzer.TerminatingStmt.self_des) |
11403 | 0 | } |
11404 | | TerminatingStmt::TerminatingStmt(::PROTOBUF_NAMESPACE_ID::Arena* arena, |
11405 | | bool is_message_owned) |
11406 | 189k | : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { |
11407 | 189k | SharedCtor(arena, is_message_owned); |
11408 | | // @@protoc_insertion_point(arena_constructor:solidity.yul.test.yul_fuzzer.TerminatingStmt) |
11409 | 189k | } |
11410 | | TerminatingStmt::TerminatingStmt(const TerminatingStmt& from) |
11411 | 0 | : ::PROTOBUF_NAMESPACE_ID::Message() { |
11412 | 0 | TerminatingStmt* const _this = this; (void)_this; |
11413 | 0 | new (&_impl_) Impl_{ |
11414 | 0 | decltype(_impl_.term_oneof_){} |
11415 | 0 | , /*decltype(_impl_._cached_size_)*/{} |
11416 | 0 | , /*decltype(_impl_._oneof_case_)*/{}}; |
11417 | |
|
11418 | 0 | _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); |
11419 | 0 | clear_has_term_oneof(); |
11420 | 0 | switch (from.term_oneof_case()) { |
11421 | 0 | case kStopInvalid: { |
11422 | 0 | _this->_internal_mutable_stop_invalid()->::solidity::yul::test::yul_fuzzer::StopInvalidStmt::MergeFrom( |
11423 | 0 | from._internal_stop_invalid()); |
11424 | 0 | break; |
11425 | 0 | } |
11426 | 0 | case kRetRev: { |
11427 | 0 | _this->_internal_mutable_ret_rev()->::solidity::yul::test::yul_fuzzer::RetRevStmt::MergeFrom( |
11428 | 0 | from._internal_ret_rev()); |
11429 | 0 | break; |
11430 | 0 | } |
11431 | 0 | case kSelfDes: { |
11432 | 0 | _this->_internal_mutable_self_des()->::solidity::yul::test::yul_fuzzer::SelfDestructStmt::MergeFrom( |
11433 | 0 | from._internal_self_des()); |
11434 | 0 | break; |
11435 | 0 | } |
11436 | 0 | case TERM_ONEOF_NOT_SET: { |
11437 | 0 | break; |
11438 | 0 | } |
11439 | 0 | } |
11440 | | // @@protoc_insertion_point(copy_constructor:solidity.yul.test.yul_fuzzer.TerminatingStmt) |
11441 | 0 | } |
11442 | | |
11443 | | inline void TerminatingStmt::SharedCtor( |
11444 | 189k | ::_pb::Arena* arena, bool is_message_owned) { |
11445 | 189k | (void)arena; |
11446 | 189k | (void)is_message_owned; |
11447 | 189k | new (&_impl_) Impl_{ |
11448 | 189k | decltype(_impl_.term_oneof_){} |
11449 | 189k | , /*decltype(_impl_._cached_size_)*/{} |
11450 | 189k | , /*decltype(_impl_._oneof_case_)*/{} |
11451 | 189k | }; |
11452 | 189k | clear_has_term_oneof(); |
11453 | 189k | } |
11454 | | |
11455 | 189k | TerminatingStmt::~TerminatingStmt() { |
11456 | | // @@protoc_insertion_point(destructor:solidity.yul.test.yul_fuzzer.TerminatingStmt) |
11457 | 189k | if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { |
11458 | 0 | (void)arena; |
11459 | 0 | return; |
11460 | 0 | } |
11461 | 189k | SharedDtor(); |
11462 | 189k | } |
11463 | | |
11464 | 189k | inline void TerminatingStmt::SharedDtor() { |
11465 | 189k | GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); |
11466 | 189k | if (has_term_oneof()) { |
11467 | 10.2k | clear_term_oneof(); |
11468 | 10.2k | } |
11469 | 189k | } |
11470 | | |
11471 | 0 | void TerminatingStmt::SetCachedSize(int size) const { |
11472 | 0 | _impl_._cached_size_.Set(size); |
11473 | 0 | } |
11474 | | |
11475 | 10.2k | void TerminatingStmt::clear_term_oneof() { |
11476 | | // @@protoc_insertion_point(one_of_clear_start:solidity.yul.test.yul_fuzzer.TerminatingStmt) |
11477 | 10.2k | switch (term_oneof_case()) { |
11478 | 2.94k | case kStopInvalid: { |
11479 | 2.94k | if (GetArenaForAllocation() == nullptr) { |
11480 | 2.94k | delete _impl_.term_oneof_.stop_invalid_; |
11481 | 2.94k | } |
11482 | 2.94k | break; |
11483 | 0 | } |
11484 | 4.04k | case kRetRev: { |
11485 | 4.04k | if (GetArenaForAllocation() == nullptr) { |
11486 | 4.04k | delete _impl_.term_oneof_.ret_rev_; |
11487 | 4.04k | } |
11488 | 4.04k | break; |
11489 | 0 | } |
11490 | 3.23k | case kSelfDes: { |
11491 | 3.23k | if (GetArenaForAllocation() == nullptr) { |
11492 | 3.23k | delete _impl_.term_oneof_.self_des_; |
11493 | 3.23k | } |
11494 | 3.23k | break; |
11495 | 0 | } |
11496 | 0 | case TERM_ONEOF_NOT_SET: { |
11497 | 0 | break; |
11498 | 0 | } |
11499 | 10.2k | } |
11500 | 10.2k | _impl_._oneof_case_[0] = TERM_ONEOF_NOT_SET; |
11501 | 10.2k | } |
11502 | | |
11503 | | |
11504 | 0 | void TerminatingStmt::Clear() { |
11505 | | // @@protoc_insertion_point(message_clear_start:solidity.yul.test.yul_fuzzer.TerminatingStmt) |
11506 | 0 | uint32_t cached_has_bits = 0; |
11507 | | // Prevent compiler warnings about cached_has_bits being unused |
11508 | 0 | (void) cached_has_bits; |
11509 | |
|
11510 | 0 | clear_term_oneof(); |
11511 | 0 | _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); |
11512 | 0 | } |
11513 | | |
11514 | 0 | const char* TerminatingStmt::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { |
11515 | 0 | #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure |
11516 | 0 | while (!ctx->Done(&ptr)) { |
11517 | 0 | uint32_t tag; |
11518 | 0 | ptr = ::_pbi::ReadTag(ptr, &tag); |
11519 | 0 | switch (tag >> 3) { |
11520 | | // .solidity.yul.test.yul_fuzzer.StopInvalidStmt stop_invalid = 1; |
11521 | 0 | case 1: |
11522 | 0 | if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 10)) { |
11523 | 0 | ptr = ctx->ParseMessage(_internal_mutable_stop_invalid(), ptr); |
11524 | 0 | CHK_(ptr); |
11525 | 0 | } else |
11526 | 0 | goto handle_unusual; |
11527 | 0 | continue; |
11528 | | // .solidity.yul.test.yul_fuzzer.RetRevStmt ret_rev = 2; |
11529 | 0 | case 2: |
11530 | 0 | if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 18)) { |
11531 | 0 | ptr = ctx->ParseMessage(_internal_mutable_ret_rev(), ptr); |
11532 | 0 | CHK_(ptr); |
11533 | 0 | } else |
11534 | 0 | goto handle_unusual; |
11535 | 0 | continue; |
11536 | | // .solidity.yul.test.yul_fuzzer.SelfDestructStmt self_des = 3; |
11537 | 0 | case 3: |
11538 | 0 | if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 26)) { |
11539 | 0 | ptr = ctx->ParseMessage(_internal_mutable_self_des(), ptr); |
11540 | 0 | CHK_(ptr); |
11541 | 0 | } else |
11542 | 0 | goto handle_unusual; |
11543 | 0 | continue; |
11544 | 0 | default: |
11545 | 0 | goto handle_unusual; |
11546 | 0 | } // switch |
11547 | 0 | handle_unusual: |
11548 | 0 | if ((tag == 0) || ((tag & 7) == 4)) { |
11549 | 0 | CHK_(ptr); |
11550 | 0 | ctx->SetLastTag(tag); |
11551 | 0 | goto message_done; |
11552 | 0 | } |
11553 | 0 | ptr = UnknownFieldParse( |
11554 | 0 | tag, |
11555 | 0 | _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), |
11556 | 0 | ptr, ctx); |
11557 | 0 | CHK_(ptr != nullptr); |
11558 | 0 | } // while |
11559 | 0 | message_done: |
11560 | 0 | return ptr; |
11561 | 0 | failure: |
11562 | 0 | ptr = nullptr; |
11563 | 0 | goto message_done; |
11564 | 0 | #undef CHK_ |
11565 | 0 | } |
11566 | | |
11567 | | uint8_t* TerminatingStmt::_InternalSerialize( |
11568 | 0 | uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { |
11569 | | // @@protoc_insertion_point(serialize_to_array_start:solidity.yul.test.yul_fuzzer.TerminatingStmt) |
11570 | 0 | uint32_t cached_has_bits = 0; |
11571 | 0 | (void) cached_has_bits; |
11572 | |
|
11573 | 0 | switch (term_oneof_case()) { |
11574 | 0 | case kStopInvalid: { |
11575 | 0 | target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: |
11576 | 0 | InternalWriteMessage(1, _Internal::stop_invalid(this), |
11577 | 0 | _Internal::stop_invalid(this).GetCachedSize(), target, stream); |
11578 | 0 | break; |
11579 | 0 | } |
11580 | 0 | case kRetRev: { |
11581 | 0 | target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: |
11582 | 0 | InternalWriteMessage(2, _Internal::ret_rev(this), |
11583 | 0 | _Internal::ret_rev(this).GetCachedSize(), target, stream); |
11584 | 0 | break; |
11585 | 0 | } |
11586 | 0 | case kSelfDes: { |
11587 | 0 | target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: |
11588 | 0 | InternalWriteMessage(3, _Internal::self_des(this), |
11589 | 0 | _Internal::self_des(this).GetCachedSize(), target, stream); |
11590 | 0 | break; |
11591 | 0 | } |
11592 | 0 | default: ; |
11593 | 0 | } |
11594 | 0 | if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { |
11595 | 0 | target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( |
11596 | 0 | _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); |
11597 | 0 | } |
11598 | | // @@protoc_insertion_point(serialize_to_array_end:solidity.yul.test.yul_fuzzer.TerminatingStmt) |
11599 | 0 | return target; |
11600 | 0 | } |
11601 | | |
11602 | 185k | size_t TerminatingStmt::ByteSizeLong() const { |
11603 | | // @@protoc_insertion_point(message_byte_size_start:solidity.yul.test.yul_fuzzer.TerminatingStmt) |
11604 | 185k | size_t total_size = 0; |
11605 | | |
11606 | 185k | uint32_t cached_has_bits = 0; |
11607 | | // Prevent compiler warnings about cached_has_bits being unused |
11608 | 185k | (void) cached_has_bits; |
11609 | | |
11610 | 185k | switch (term_oneof_case()) { |
11611 | | // .solidity.yul.test.yul_fuzzer.StopInvalidStmt stop_invalid = 1; |
11612 | 2.84k | case kStopInvalid: { |
11613 | 2.84k | total_size += 1 + |
11614 | 2.84k | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
11615 | 2.84k | *_impl_.term_oneof_.stop_invalid_); |
11616 | 2.84k | break; |
11617 | 0 | } |
11618 | | // .solidity.yul.test.yul_fuzzer.RetRevStmt ret_rev = 2; |
11619 | 2.51k | case kRetRev: { |
11620 | 2.51k | total_size += 1 + |
11621 | 2.51k | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
11622 | 2.51k | *_impl_.term_oneof_.ret_rev_); |
11623 | 2.51k | break; |
11624 | 0 | } |
11625 | | // .solidity.yul.test.yul_fuzzer.SelfDestructStmt self_des = 3; |
11626 | 2.42k | case kSelfDes: { |
11627 | 2.42k | total_size += 1 + |
11628 | 2.42k | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
11629 | 2.42k | *_impl_.term_oneof_.self_des_); |
11630 | 2.42k | break; |
11631 | 0 | } |
11632 | 177k | case TERM_ONEOF_NOT_SET: { |
11633 | 177k | break; |
11634 | 0 | } |
11635 | 185k | } |
11636 | 185k | return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); |
11637 | 185k | } |
11638 | | |
11639 | | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData TerminatingStmt::_class_data_ = { |
11640 | | ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, |
11641 | | TerminatingStmt::MergeImpl |
11642 | | }; |
11643 | 0 | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*TerminatingStmt::GetClassData() const { return &_class_data_; } |
11644 | | |
11645 | | |
11646 | 0 | void TerminatingStmt::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { |
11647 | 0 | auto* const _this = static_cast<TerminatingStmt*>(&to_msg); |
11648 | 0 | auto& from = static_cast<const TerminatingStmt&>(from_msg); |
11649 | | // @@protoc_insertion_point(class_specific_merge_from_start:solidity.yul.test.yul_fuzzer.TerminatingStmt) |
11650 | 0 | GOOGLE_DCHECK_NE(&from, _this); |
11651 | 0 | uint32_t cached_has_bits = 0; |
11652 | 0 | (void) cached_has_bits; |
11653 | |
|
11654 | 0 | switch (from.term_oneof_case()) { |
11655 | 0 | case kStopInvalid: { |
11656 | 0 | _this->_internal_mutable_stop_invalid()->::solidity::yul::test::yul_fuzzer::StopInvalidStmt::MergeFrom( |
11657 | 0 | from._internal_stop_invalid()); |
11658 | 0 | break; |
11659 | 0 | } |
11660 | 0 | case kRetRev: { |
11661 | 0 | _this->_internal_mutable_ret_rev()->::solidity::yul::test::yul_fuzzer::RetRevStmt::MergeFrom( |
11662 | 0 | from._internal_ret_rev()); |
11663 | 0 | break; |
11664 | 0 | } |
11665 | 0 | case kSelfDes: { |
11666 | 0 | _this->_internal_mutable_self_des()->::solidity::yul::test::yul_fuzzer::SelfDestructStmt::MergeFrom( |
11667 | 0 | from._internal_self_des()); |
11668 | 0 | break; |
11669 | 0 | } |
11670 | 0 | case TERM_ONEOF_NOT_SET: { |
11671 | 0 | break; |
11672 | 0 | } |
11673 | 0 | } |
11674 | 0 | _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); |
11675 | 0 | } |
11676 | | |
11677 | 0 | void TerminatingStmt::CopyFrom(const TerminatingStmt& from) { |
11678 | | // @@protoc_insertion_point(class_specific_copy_from_start:solidity.yul.test.yul_fuzzer.TerminatingStmt) |
11679 | 0 | if (&from == this) return; |
11680 | 0 | Clear(); |
11681 | 0 | MergeFrom(from); |
11682 | 0 | } |
11683 | | |
11684 | 0 | bool TerminatingStmt::IsInitialized() const { |
11685 | 0 | switch (term_oneof_case()) { |
11686 | 0 | case kStopInvalid: { |
11687 | 0 | if (_internal_has_stop_invalid()) { |
11688 | 0 | if (!_impl_.term_oneof_.stop_invalid_->IsInitialized()) return false; |
11689 | 0 | } |
11690 | 0 | break; |
11691 | 0 | } |
11692 | 0 | case kRetRev: { |
11693 | 0 | if (_internal_has_ret_rev()) { |
11694 | 0 | if (!_impl_.term_oneof_.ret_rev_->IsInitialized()) return false; |
11695 | 0 | } |
11696 | 0 | break; |
11697 | 0 | } |
11698 | 0 | case kSelfDes: { |
11699 | 0 | if (_internal_has_self_des()) { |
11700 | 0 | if (!_impl_.term_oneof_.self_des_->IsInitialized()) return false; |
11701 | 0 | } |
11702 | 0 | break; |
11703 | 0 | } |
11704 | 0 | case TERM_ONEOF_NOT_SET: { |
11705 | 0 | break; |
11706 | 0 | } |
11707 | 0 | } |
11708 | 0 | return true; |
11709 | 0 | } |
11710 | | |
11711 | 0 | void TerminatingStmt::InternalSwap(TerminatingStmt* other) { |
11712 | 0 | using std::swap; |
11713 | 0 | _internal_metadata_.InternalSwap(&other->_internal_metadata_); |
11714 | 0 | swap(_impl_.term_oneof_, other->_impl_.term_oneof_); |
11715 | 0 | swap(_impl_._oneof_case_[0], other->_impl_._oneof_case_[0]); |
11716 | 0 | } |
11717 | | |
11718 | 5.33M | ::PROTOBUF_NAMESPACE_ID::Metadata TerminatingStmt::GetMetadata() const { |
11719 | 5.33M | return ::_pbi::AssignDescriptors( |
11720 | 5.33M | &descriptor_table_yulProto_2eproto_getter, &descriptor_table_yulProto_2eproto_once, |
11721 | 5.33M | file_level_metadata_yulProto_2eproto[30]); |
11722 | 5.33M | } |
11723 | | |
11724 | | // =================================================================== |
11725 | | |
11726 | | class FunctionDef::_Internal { |
11727 | | public: |
11728 | | using HasBits = decltype(std::declval<FunctionDef>()._impl_._has_bits_); |
11729 | 0 | static void set_has_num_input_params(HasBits* has_bits) { |
11730 | 0 | (*has_bits)[0] |= 2u; |
11731 | 0 | } |
11732 | 0 | static void set_has_num_output_params(HasBits* has_bits) { |
11733 | 0 | (*has_bits)[0] |= 4u; |
11734 | 0 | } |
11735 | | static const ::solidity::yul::test::yul_fuzzer::Block& block(const FunctionDef* msg); |
11736 | 0 | static void set_has_block(HasBits* has_bits) { |
11737 | 0 | (*has_bits)[0] |= 1u; |
11738 | 0 | } |
11739 | 0 | static void set_has_force_call(HasBits* has_bits) { |
11740 | 0 | (*has_bits)[0] |= 8u; |
11741 | 0 | } |
11742 | 0 | static bool MissingRequiredFields(const HasBits& has_bits) { |
11743 | 0 | return ((has_bits[0] & 0x0000000f) ^ 0x0000000f) != 0; |
11744 | 0 | } |
11745 | | }; |
11746 | | |
11747 | | const ::solidity::yul::test::yul_fuzzer::Block& |
11748 | 0 | FunctionDef::_Internal::block(const FunctionDef* msg) { |
11749 | 0 | return *msg->_impl_.block_; |
11750 | 0 | } |
11751 | | FunctionDef::FunctionDef(::PROTOBUF_NAMESPACE_ID::Arena* arena, |
11752 | | bool is_message_owned) |
11753 | 139k | : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { |
11754 | 139k | SharedCtor(arena, is_message_owned); |
11755 | | // @@protoc_insertion_point(arena_constructor:solidity.yul.test.yul_fuzzer.FunctionDef) |
11756 | 139k | } |
11757 | | FunctionDef::FunctionDef(const FunctionDef& from) |
11758 | 0 | : ::PROTOBUF_NAMESPACE_ID::Message() { |
11759 | 0 | FunctionDef* const _this = this; (void)_this; |
11760 | 0 | new (&_impl_) Impl_{ |
11761 | 0 | decltype(_impl_._has_bits_){from._impl_._has_bits_} |
11762 | 0 | , /*decltype(_impl_._cached_size_)*/{} |
11763 | 0 | , decltype(_impl_.block_){nullptr} |
11764 | 0 | , decltype(_impl_.num_input_params_){} |
11765 | 0 | , decltype(_impl_.num_output_params_){} |
11766 | 0 | , decltype(_impl_.force_call_){}}; |
11767 | |
|
11768 | 0 | _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); |
11769 | 0 | if (from._internal_has_block()) { |
11770 | 0 | _this->_impl_.block_ = new ::solidity::yul::test::yul_fuzzer::Block(*from._impl_.block_); |
11771 | 0 | } |
11772 | 0 | ::memcpy(&_impl_.num_input_params_, &from._impl_.num_input_params_, |
11773 | 0 | static_cast<size_t>(reinterpret_cast<char*>(&_impl_.force_call_) - |
11774 | 0 | reinterpret_cast<char*>(&_impl_.num_input_params_)) + sizeof(_impl_.force_call_)); |
11775 | | // @@protoc_insertion_point(copy_constructor:solidity.yul.test.yul_fuzzer.FunctionDef) |
11776 | 0 | } |
11777 | | |
11778 | | inline void FunctionDef::SharedCtor( |
11779 | 139k | ::_pb::Arena* arena, bool is_message_owned) { |
11780 | 139k | (void)arena; |
11781 | 139k | (void)is_message_owned; |
11782 | 139k | new (&_impl_) Impl_{ |
11783 | 139k | decltype(_impl_._has_bits_){} |
11784 | 139k | , /*decltype(_impl_._cached_size_)*/{} |
11785 | 139k | , decltype(_impl_.block_){nullptr} |
11786 | 139k | , decltype(_impl_.num_input_params_){0u} |
11787 | 139k | , decltype(_impl_.num_output_params_){0u} |
11788 | 139k | , decltype(_impl_.force_call_){false} |
11789 | 139k | }; |
11790 | 139k | } |
11791 | | |
11792 | 139k | FunctionDef::~FunctionDef() { |
11793 | | // @@protoc_insertion_point(destructor:solidity.yul.test.yul_fuzzer.FunctionDef) |
11794 | 139k | if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { |
11795 | 0 | (void)arena; |
11796 | 0 | return; |
11797 | 0 | } |
11798 | 139k | SharedDtor(); |
11799 | 139k | } |
11800 | | |
11801 | 139k | inline void FunctionDef::SharedDtor() { |
11802 | 139k | GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); |
11803 | 139k | if (this != internal_default_instance()) delete _impl_.block_; |
11804 | 139k | } |
11805 | | |
11806 | 0 | void FunctionDef::SetCachedSize(int size) const { |
11807 | 0 | _impl_._cached_size_.Set(size); |
11808 | 0 | } |
11809 | | |
11810 | 0 | void FunctionDef::Clear() { |
11811 | | // @@protoc_insertion_point(message_clear_start:solidity.yul.test.yul_fuzzer.FunctionDef) |
11812 | 0 | uint32_t cached_has_bits = 0; |
11813 | | // Prevent compiler warnings about cached_has_bits being unused |
11814 | 0 | (void) cached_has_bits; |
11815 | |
|
11816 | 0 | cached_has_bits = _impl_._has_bits_[0]; |
11817 | 0 | if (cached_has_bits & 0x00000001u) { |
11818 | 0 | GOOGLE_DCHECK(_impl_.block_ != nullptr); |
11819 | 0 | _impl_.block_->Clear(); |
11820 | 0 | } |
11821 | 0 | if (cached_has_bits & 0x0000000eu) { |
11822 | 0 | ::memset(&_impl_.num_input_params_, 0, static_cast<size_t>( |
11823 | 0 | reinterpret_cast<char*>(&_impl_.force_call_) - |
11824 | 0 | reinterpret_cast<char*>(&_impl_.num_input_params_)) + sizeof(_impl_.force_call_)); |
11825 | 0 | } |
11826 | 0 | _impl_._has_bits_.Clear(); |
11827 | 0 | _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); |
11828 | 0 | } |
11829 | | |
11830 | 0 | const char* FunctionDef::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { |
11831 | 0 | #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure |
11832 | 0 | _Internal::HasBits has_bits{}; |
11833 | 0 | while (!ctx->Done(&ptr)) { |
11834 | 0 | uint32_t tag; |
11835 | 0 | ptr = ::_pbi::ReadTag(ptr, &tag); |
11836 | 0 | switch (tag >> 3) { |
11837 | | // required uint32 num_input_params = 1; |
11838 | 0 | case 1: |
11839 | 0 | if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 8)) { |
11840 | 0 | _Internal::set_has_num_input_params(&has_bits); |
11841 | 0 | _impl_.num_input_params_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); |
11842 | 0 | CHK_(ptr); |
11843 | 0 | } else |
11844 | 0 | goto handle_unusual; |
11845 | 0 | continue; |
11846 | | // required uint32 num_output_params = 2; |
11847 | 0 | case 2: |
11848 | 0 | if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 16)) { |
11849 | 0 | _Internal::set_has_num_output_params(&has_bits); |
11850 | 0 | _impl_.num_output_params_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); |
11851 | 0 | CHK_(ptr); |
11852 | 0 | } else |
11853 | 0 | goto handle_unusual; |
11854 | 0 | continue; |
11855 | | // required .solidity.yul.test.yul_fuzzer.Block block = 3; |
11856 | 0 | case 3: |
11857 | 0 | if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 26)) { |
11858 | 0 | ptr = ctx->ParseMessage(_internal_mutable_block(), ptr); |
11859 | 0 | CHK_(ptr); |
11860 | 0 | } else |
11861 | 0 | goto handle_unusual; |
11862 | 0 | continue; |
11863 | | // required bool force_call = 4; |
11864 | 0 | case 4: |
11865 | 0 | if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 32)) { |
11866 | 0 | _Internal::set_has_force_call(&has_bits); |
11867 | 0 | _impl_.force_call_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); |
11868 | 0 | CHK_(ptr); |
11869 | 0 | } else |
11870 | 0 | goto handle_unusual; |
11871 | 0 | continue; |
11872 | 0 | default: |
11873 | 0 | goto handle_unusual; |
11874 | 0 | } // switch |
11875 | 0 | handle_unusual: |
11876 | 0 | if ((tag == 0) || ((tag & 7) == 4)) { |
11877 | 0 | CHK_(ptr); |
11878 | 0 | ctx->SetLastTag(tag); |
11879 | 0 | goto message_done; |
11880 | 0 | } |
11881 | 0 | ptr = UnknownFieldParse( |
11882 | 0 | tag, |
11883 | 0 | _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), |
11884 | 0 | ptr, ctx); |
11885 | 0 | CHK_(ptr != nullptr); |
11886 | 0 | } // while |
11887 | 0 | message_done: |
11888 | 0 | _impl_._has_bits_.Or(has_bits); |
11889 | 0 | return ptr; |
11890 | 0 | failure: |
11891 | 0 | ptr = nullptr; |
11892 | 0 | goto message_done; |
11893 | 0 | #undef CHK_ |
11894 | 0 | } |
11895 | | |
11896 | | uint8_t* FunctionDef::_InternalSerialize( |
11897 | 0 | uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { |
11898 | | // @@protoc_insertion_point(serialize_to_array_start:solidity.yul.test.yul_fuzzer.FunctionDef) |
11899 | 0 | uint32_t cached_has_bits = 0; |
11900 | 0 | (void) cached_has_bits; |
11901 | |
|
11902 | 0 | cached_has_bits = _impl_._has_bits_[0]; |
11903 | | // required uint32 num_input_params = 1; |
11904 | 0 | if (cached_has_bits & 0x00000002u) { |
11905 | 0 | target = stream->EnsureSpace(target); |
11906 | 0 | target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_num_input_params(), target); |
11907 | 0 | } |
11908 | | |
11909 | | // required uint32 num_output_params = 2; |
11910 | 0 | if (cached_has_bits & 0x00000004u) { |
11911 | 0 | target = stream->EnsureSpace(target); |
11912 | 0 | target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_num_output_params(), target); |
11913 | 0 | } |
11914 | | |
11915 | | // required .solidity.yul.test.yul_fuzzer.Block block = 3; |
11916 | 0 | if (cached_has_bits & 0x00000001u) { |
11917 | 0 | target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: |
11918 | 0 | InternalWriteMessage(3, _Internal::block(this), |
11919 | 0 | _Internal::block(this).GetCachedSize(), target, stream); |
11920 | 0 | } |
11921 | | |
11922 | | // required bool force_call = 4; |
11923 | 0 | if (cached_has_bits & 0x00000008u) { |
11924 | 0 | target = stream->EnsureSpace(target); |
11925 | 0 | target = ::_pbi::WireFormatLite::WriteBoolToArray(4, this->_internal_force_call(), target); |
11926 | 0 | } |
11927 | |
|
11928 | 0 | if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { |
11929 | 0 | target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( |
11930 | 0 | _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); |
11931 | 0 | } |
11932 | | // @@protoc_insertion_point(serialize_to_array_end:solidity.yul.test.yul_fuzzer.FunctionDef) |
11933 | 0 | return target; |
11934 | 0 | } |
11935 | | |
11936 | 0 | size_t FunctionDef::RequiredFieldsByteSizeFallback() const { |
11937 | | // @@protoc_insertion_point(required_fields_byte_size_fallback_start:solidity.yul.test.yul_fuzzer.FunctionDef) |
11938 | 0 | size_t total_size = 0; |
11939 | |
|
11940 | 0 | if (_internal_has_block()) { |
11941 | | // required .solidity.yul.test.yul_fuzzer.Block block = 3; |
11942 | 0 | total_size += 1 + |
11943 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
11944 | 0 | *_impl_.block_); |
11945 | 0 | } |
11946 | |
|
11947 | 0 | if (_internal_has_num_input_params()) { |
11948 | | // required uint32 num_input_params = 1; |
11949 | 0 | total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_num_input_params()); |
11950 | 0 | } |
11951 | |
|
11952 | 0 | if (_internal_has_num_output_params()) { |
11953 | | // required uint32 num_output_params = 2; |
11954 | 0 | total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_num_output_params()); |
11955 | 0 | } |
11956 | |
|
11957 | 0 | if (_internal_has_force_call()) { |
11958 | | // required bool force_call = 4; |
11959 | 0 | total_size += 1 + 1; |
11960 | 0 | } |
11961 | |
|
11962 | 0 | return total_size; |
11963 | 0 | } |
11964 | 136k | size_t FunctionDef::ByteSizeLong() const { |
11965 | | // @@protoc_insertion_point(message_byte_size_start:solidity.yul.test.yul_fuzzer.FunctionDef) |
11966 | 136k | size_t total_size = 0; |
11967 | | |
11968 | 136k | if (((_impl_._has_bits_[0] & 0x0000000f) ^ 0x0000000f) == 0) { // All required fields are present. |
11969 | | // required .solidity.yul.test.yul_fuzzer.Block block = 3; |
11970 | 136k | total_size += 1 + |
11971 | 136k | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
11972 | 136k | *_impl_.block_); |
11973 | | |
11974 | | // required uint32 num_input_params = 1; |
11975 | 136k | total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_num_input_params()); |
11976 | | |
11977 | | // required uint32 num_output_params = 2; |
11978 | 136k | total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_num_output_params()); |
11979 | | |
11980 | | // required bool force_call = 4; |
11981 | 136k | total_size += 1 + 1; |
11982 | | |
11983 | 136k | } else { |
11984 | 0 | total_size += RequiredFieldsByteSizeFallback(); |
11985 | 0 | } |
11986 | 136k | uint32_t cached_has_bits = 0; |
11987 | | // Prevent compiler warnings about cached_has_bits being unused |
11988 | 136k | (void) cached_has_bits; |
11989 | | |
11990 | 136k | return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); |
11991 | 136k | } |
11992 | | |
11993 | | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData FunctionDef::_class_data_ = { |
11994 | | ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, |
11995 | | FunctionDef::MergeImpl |
11996 | | }; |
11997 | 0 | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*FunctionDef::GetClassData() const { return &_class_data_; } |
11998 | | |
11999 | | |
12000 | 0 | void FunctionDef::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { |
12001 | 0 | auto* const _this = static_cast<FunctionDef*>(&to_msg); |
12002 | 0 | auto& from = static_cast<const FunctionDef&>(from_msg); |
12003 | | // @@protoc_insertion_point(class_specific_merge_from_start:solidity.yul.test.yul_fuzzer.FunctionDef) |
12004 | 0 | GOOGLE_DCHECK_NE(&from, _this); |
12005 | 0 | uint32_t cached_has_bits = 0; |
12006 | 0 | (void) cached_has_bits; |
12007 | |
|
12008 | 0 | cached_has_bits = from._impl_._has_bits_[0]; |
12009 | 0 | if (cached_has_bits & 0x0000000fu) { |
12010 | 0 | if (cached_has_bits & 0x00000001u) { |
12011 | 0 | _this->_internal_mutable_block()->::solidity::yul::test::yul_fuzzer::Block::MergeFrom( |
12012 | 0 | from._internal_block()); |
12013 | 0 | } |
12014 | 0 | if (cached_has_bits & 0x00000002u) { |
12015 | 0 | _this->_impl_.num_input_params_ = from._impl_.num_input_params_; |
12016 | 0 | } |
12017 | 0 | if (cached_has_bits & 0x00000004u) { |
12018 | 0 | _this->_impl_.num_output_params_ = from._impl_.num_output_params_; |
12019 | 0 | } |
12020 | 0 | if (cached_has_bits & 0x00000008u) { |
12021 | 0 | _this->_impl_.force_call_ = from._impl_.force_call_; |
12022 | 0 | } |
12023 | 0 | _this->_impl_._has_bits_[0] |= cached_has_bits; |
12024 | 0 | } |
12025 | 0 | _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); |
12026 | 0 | } |
12027 | | |
12028 | 0 | void FunctionDef::CopyFrom(const FunctionDef& from) { |
12029 | | // @@protoc_insertion_point(class_specific_copy_from_start:solidity.yul.test.yul_fuzzer.FunctionDef) |
12030 | 0 | if (&from == this) return; |
12031 | 0 | Clear(); |
12032 | 0 | MergeFrom(from); |
12033 | 0 | } |
12034 | | |
12035 | 0 | bool FunctionDef::IsInitialized() const { |
12036 | 0 | if (_Internal::MissingRequiredFields(_impl_._has_bits_)) return false; |
12037 | 0 | if (_internal_has_block()) { |
12038 | 0 | if (!_impl_.block_->IsInitialized()) return false; |
12039 | 0 | } |
12040 | 0 | return true; |
12041 | 0 | } |
12042 | | |
12043 | 0 | void FunctionDef::InternalSwap(FunctionDef* other) { |
12044 | 0 | using std::swap; |
12045 | 0 | _internal_metadata_.InternalSwap(&other->_internal_metadata_); |
12046 | 0 | swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); |
12047 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::memswap< |
12048 | 0 | PROTOBUF_FIELD_OFFSET(FunctionDef, _impl_.force_call_) |
12049 | 0 | + sizeof(FunctionDef::_impl_.force_call_) |
12050 | 0 | - PROTOBUF_FIELD_OFFSET(FunctionDef, _impl_.block_)>( |
12051 | 0 | reinterpret_cast<char*>(&_impl_.block_), |
12052 | 0 | reinterpret_cast<char*>(&other->_impl_.block_)); |
12053 | 0 | } |
12054 | | |
12055 | 2.98M | ::PROTOBUF_NAMESPACE_ID::Metadata FunctionDef::GetMetadata() const { |
12056 | 2.98M | return ::_pbi::AssignDescriptors( |
12057 | 2.98M | &descriptor_table_yulProto_2eproto_getter, &descriptor_table_yulProto_2eproto_once, |
12058 | 2.98M | file_level_metadata_yulProto_2eproto[31]); |
12059 | 2.98M | } |
12060 | | |
12061 | | // =================================================================== |
12062 | | |
12063 | | class PopStmt::_Internal { |
12064 | | public: |
12065 | | using HasBits = decltype(std::declval<PopStmt>()._impl_._has_bits_); |
12066 | | static const ::solidity::yul::test::yul_fuzzer::Expression& expr(const PopStmt* msg); |
12067 | 0 | static void set_has_expr(HasBits* has_bits) { |
12068 | 0 | (*has_bits)[0] |= 1u; |
12069 | 0 | } |
12070 | 0 | static bool MissingRequiredFields(const HasBits& has_bits) { |
12071 | 0 | return ((has_bits[0] & 0x00000001) ^ 0x00000001) != 0; |
12072 | 0 | } |
12073 | | }; |
12074 | | |
12075 | | const ::solidity::yul::test::yul_fuzzer::Expression& |
12076 | 0 | PopStmt::_Internal::expr(const PopStmt* msg) { |
12077 | 0 | return *msg->_impl_.expr_; |
12078 | 0 | } |
12079 | | PopStmt::PopStmt(::PROTOBUF_NAMESPACE_ID::Arena* arena, |
12080 | | bool is_message_owned) |
12081 | 11.3k | : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { |
12082 | 11.3k | SharedCtor(arena, is_message_owned); |
12083 | | // @@protoc_insertion_point(arena_constructor:solidity.yul.test.yul_fuzzer.PopStmt) |
12084 | 11.3k | } |
12085 | | PopStmt::PopStmt(const PopStmt& from) |
12086 | 0 | : ::PROTOBUF_NAMESPACE_ID::Message() { |
12087 | 0 | PopStmt* const _this = this; (void)_this; |
12088 | 0 | new (&_impl_) Impl_{ |
12089 | 0 | decltype(_impl_._has_bits_){from._impl_._has_bits_} |
12090 | 0 | , /*decltype(_impl_._cached_size_)*/{} |
12091 | 0 | , decltype(_impl_.expr_){nullptr}}; |
12092 | |
|
12093 | 0 | _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); |
12094 | 0 | if (from._internal_has_expr()) { |
12095 | 0 | _this->_impl_.expr_ = new ::solidity::yul::test::yul_fuzzer::Expression(*from._impl_.expr_); |
12096 | 0 | } |
12097 | | // @@protoc_insertion_point(copy_constructor:solidity.yul.test.yul_fuzzer.PopStmt) |
12098 | 0 | } |
12099 | | |
12100 | | inline void PopStmt::SharedCtor( |
12101 | 11.3k | ::_pb::Arena* arena, bool is_message_owned) { |
12102 | 11.3k | (void)arena; |
12103 | 11.3k | (void)is_message_owned; |
12104 | 11.3k | new (&_impl_) Impl_{ |
12105 | 11.3k | decltype(_impl_._has_bits_){} |
12106 | 11.3k | , /*decltype(_impl_._cached_size_)*/{} |
12107 | 11.3k | , decltype(_impl_.expr_){nullptr} |
12108 | 11.3k | }; |
12109 | 11.3k | } |
12110 | | |
12111 | 11.3k | PopStmt::~PopStmt() { |
12112 | | // @@protoc_insertion_point(destructor:solidity.yul.test.yul_fuzzer.PopStmt) |
12113 | 11.3k | if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { |
12114 | 0 | (void)arena; |
12115 | 0 | return; |
12116 | 0 | } |
12117 | 11.3k | SharedDtor(); |
12118 | 11.3k | } |
12119 | | |
12120 | 11.3k | inline void PopStmt::SharedDtor() { |
12121 | 11.3k | GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); |
12122 | 11.3k | if (this != internal_default_instance()) delete _impl_.expr_; |
12123 | 11.3k | } |
12124 | | |
12125 | 0 | void PopStmt::SetCachedSize(int size) const { |
12126 | 0 | _impl_._cached_size_.Set(size); |
12127 | 0 | } |
12128 | | |
12129 | 0 | void PopStmt::Clear() { |
12130 | | // @@protoc_insertion_point(message_clear_start:solidity.yul.test.yul_fuzzer.PopStmt) |
12131 | 0 | uint32_t cached_has_bits = 0; |
12132 | | // Prevent compiler warnings about cached_has_bits being unused |
12133 | 0 | (void) cached_has_bits; |
12134 | |
|
12135 | 0 | cached_has_bits = _impl_._has_bits_[0]; |
12136 | 0 | if (cached_has_bits & 0x00000001u) { |
12137 | 0 | GOOGLE_DCHECK(_impl_.expr_ != nullptr); |
12138 | 0 | _impl_.expr_->Clear(); |
12139 | 0 | } |
12140 | 0 | _impl_._has_bits_.Clear(); |
12141 | 0 | _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); |
12142 | 0 | } |
12143 | | |
12144 | 0 | const char* PopStmt::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { |
12145 | 0 | #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure |
12146 | 0 | _Internal::HasBits has_bits{}; |
12147 | 0 | while (!ctx->Done(&ptr)) { |
12148 | 0 | uint32_t tag; |
12149 | 0 | ptr = ::_pbi::ReadTag(ptr, &tag); |
12150 | 0 | switch (tag >> 3) { |
12151 | | // required .solidity.yul.test.yul_fuzzer.Expression expr = 1; |
12152 | 0 | case 1: |
12153 | 0 | if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 10)) { |
12154 | 0 | ptr = ctx->ParseMessage(_internal_mutable_expr(), ptr); |
12155 | 0 | CHK_(ptr); |
12156 | 0 | } else |
12157 | 0 | goto handle_unusual; |
12158 | 0 | continue; |
12159 | 0 | default: |
12160 | 0 | goto handle_unusual; |
12161 | 0 | } // switch |
12162 | 0 | handle_unusual: |
12163 | 0 | if ((tag == 0) || ((tag & 7) == 4)) { |
12164 | 0 | CHK_(ptr); |
12165 | 0 | ctx->SetLastTag(tag); |
12166 | 0 | goto message_done; |
12167 | 0 | } |
12168 | 0 | ptr = UnknownFieldParse( |
12169 | 0 | tag, |
12170 | 0 | _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), |
12171 | 0 | ptr, ctx); |
12172 | 0 | CHK_(ptr != nullptr); |
12173 | 0 | } // while |
12174 | 0 | message_done: |
12175 | 0 | _impl_._has_bits_.Or(has_bits); |
12176 | 0 | return ptr; |
12177 | 0 | failure: |
12178 | 0 | ptr = nullptr; |
12179 | 0 | goto message_done; |
12180 | 0 | #undef CHK_ |
12181 | 0 | } |
12182 | | |
12183 | | uint8_t* PopStmt::_InternalSerialize( |
12184 | 0 | uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { |
12185 | | // @@protoc_insertion_point(serialize_to_array_start:solidity.yul.test.yul_fuzzer.PopStmt) |
12186 | 0 | uint32_t cached_has_bits = 0; |
12187 | 0 | (void) cached_has_bits; |
12188 | |
|
12189 | 0 | cached_has_bits = _impl_._has_bits_[0]; |
12190 | | // required .solidity.yul.test.yul_fuzzer.Expression expr = 1; |
12191 | 0 | if (cached_has_bits & 0x00000001u) { |
12192 | 0 | target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: |
12193 | 0 | InternalWriteMessage(1, _Internal::expr(this), |
12194 | 0 | _Internal::expr(this).GetCachedSize(), target, stream); |
12195 | 0 | } |
12196 | |
|
12197 | 0 | if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { |
12198 | 0 | target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( |
12199 | 0 | _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); |
12200 | 0 | } |
12201 | | // @@protoc_insertion_point(serialize_to_array_end:solidity.yul.test.yul_fuzzer.PopStmt) |
12202 | 0 | return target; |
12203 | 0 | } |
12204 | | |
12205 | 10.2k | size_t PopStmt::ByteSizeLong() const { |
12206 | | // @@protoc_insertion_point(message_byte_size_start:solidity.yul.test.yul_fuzzer.PopStmt) |
12207 | 10.2k | size_t total_size = 0; |
12208 | | |
12209 | | // required .solidity.yul.test.yul_fuzzer.Expression expr = 1; |
12210 | 10.2k | if (_internal_has_expr()) { |
12211 | 10.2k | total_size += 1 + |
12212 | 10.2k | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
12213 | 10.2k | *_impl_.expr_); |
12214 | 10.2k | } |
12215 | 10.2k | uint32_t cached_has_bits = 0; |
12216 | | // Prevent compiler warnings about cached_has_bits being unused |
12217 | 10.2k | (void) cached_has_bits; |
12218 | | |
12219 | 10.2k | return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); |
12220 | 10.2k | } |
12221 | | |
12222 | | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData PopStmt::_class_data_ = { |
12223 | | ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, |
12224 | | PopStmt::MergeImpl |
12225 | | }; |
12226 | 0 | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*PopStmt::GetClassData() const { return &_class_data_; } |
12227 | | |
12228 | | |
12229 | 0 | void PopStmt::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { |
12230 | 0 | auto* const _this = static_cast<PopStmt*>(&to_msg); |
12231 | 0 | auto& from = static_cast<const PopStmt&>(from_msg); |
12232 | | // @@protoc_insertion_point(class_specific_merge_from_start:solidity.yul.test.yul_fuzzer.PopStmt) |
12233 | 0 | GOOGLE_DCHECK_NE(&from, _this); |
12234 | 0 | uint32_t cached_has_bits = 0; |
12235 | 0 | (void) cached_has_bits; |
12236 | |
|
12237 | 0 | if (from._internal_has_expr()) { |
12238 | 0 | _this->_internal_mutable_expr()->::solidity::yul::test::yul_fuzzer::Expression::MergeFrom( |
12239 | 0 | from._internal_expr()); |
12240 | 0 | } |
12241 | 0 | _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); |
12242 | 0 | } |
12243 | | |
12244 | 0 | void PopStmt::CopyFrom(const PopStmt& from) { |
12245 | | // @@protoc_insertion_point(class_specific_copy_from_start:solidity.yul.test.yul_fuzzer.PopStmt) |
12246 | 0 | if (&from == this) return; |
12247 | 0 | Clear(); |
12248 | 0 | MergeFrom(from); |
12249 | 0 | } |
12250 | | |
12251 | 0 | bool PopStmt::IsInitialized() const { |
12252 | 0 | if (_Internal::MissingRequiredFields(_impl_._has_bits_)) return false; |
12253 | 0 | if (_internal_has_expr()) { |
12254 | 0 | if (!_impl_.expr_->IsInitialized()) return false; |
12255 | 0 | } |
12256 | 0 | return true; |
12257 | 0 | } |
12258 | | |
12259 | 0 | void PopStmt::InternalSwap(PopStmt* other) { |
12260 | 0 | using std::swap; |
12261 | 0 | _internal_metadata_.InternalSwap(&other->_internal_metadata_); |
12262 | 0 | swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); |
12263 | 0 | swap(_impl_.expr_, other->_impl_.expr_); |
12264 | 0 | } |
12265 | | |
12266 | 125k | ::PROTOBUF_NAMESPACE_ID::Metadata PopStmt::GetMetadata() const { |
12267 | 125k | return ::_pbi::AssignDescriptors( |
12268 | 125k | &descriptor_table_yulProto_2eproto_getter, &descriptor_table_yulProto_2eproto_once, |
12269 | 125k | file_level_metadata_yulProto_2eproto[32]); |
12270 | 125k | } |
12271 | | |
12272 | | // =================================================================== |
12273 | | |
12274 | | class LeaveStmt::_Internal { |
12275 | | public: |
12276 | | }; |
12277 | | |
12278 | | LeaveStmt::LeaveStmt(::PROTOBUF_NAMESPACE_ID::Arena* arena, |
12279 | | bool is_message_owned) |
12280 | 191k | : ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase(arena, is_message_owned) { |
12281 | | // @@protoc_insertion_point(arena_constructor:solidity.yul.test.yul_fuzzer.LeaveStmt) |
12282 | 191k | } |
12283 | | LeaveStmt::LeaveStmt(const LeaveStmt& from) |
12284 | 0 | : ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase() { |
12285 | 0 | LeaveStmt* const _this = this; (void)_this; |
12286 | 0 | _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); |
12287 | | // @@protoc_insertion_point(copy_constructor:solidity.yul.test.yul_fuzzer.LeaveStmt) |
12288 | 0 | } |
12289 | | |
12290 | | |
12291 | | |
12292 | | |
12293 | | |
12294 | | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData LeaveStmt::_class_data_ = { |
12295 | | ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl, |
12296 | | ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl, |
12297 | | }; |
12298 | 0 | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*LeaveStmt::GetClassData() const { return &_class_data_; } |
12299 | | |
12300 | | |
12301 | | |
12302 | | |
12303 | | |
12304 | | |
12305 | | |
12306 | 5.34M | ::PROTOBUF_NAMESPACE_ID::Metadata LeaveStmt::GetMetadata() const { |
12307 | 5.34M | return ::_pbi::AssignDescriptors( |
12308 | 5.34M | &descriptor_table_yulProto_2eproto_getter, &descriptor_table_yulProto_2eproto_once, |
12309 | 5.34M | file_level_metadata_yulProto_2eproto[33]); |
12310 | 5.34M | } |
12311 | | |
12312 | | // =================================================================== |
12313 | | |
12314 | | class Statement::_Internal { |
12315 | | public: |
12316 | | static const ::solidity::yul::test::yul_fuzzer::VarDecl& decl(const Statement* msg); |
12317 | | static const ::solidity::yul::test::yul_fuzzer::AssignmentStatement& assignment(const Statement* msg); |
12318 | | static const ::solidity::yul::test::yul_fuzzer::IfStmt& ifstmt(const Statement* msg); |
12319 | | static const ::solidity::yul::test::yul_fuzzer::StoreFunc& storage_func(const Statement* msg); |
12320 | | static const ::solidity::yul::test::yul_fuzzer::Block& blockstmt(const Statement* msg); |
12321 | | static const ::solidity::yul::test::yul_fuzzer::ForStmt& forstmt(const Statement* msg); |
12322 | | static const ::solidity::yul::test::yul_fuzzer::SwitchStmt& switchstmt(const Statement* msg); |
12323 | | static const ::solidity::yul::test::yul_fuzzer::BreakStmt& breakstmt(const Statement* msg); |
12324 | | static const ::solidity::yul::test::yul_fuzzer::ContinueStmt& contstmt(const Statement* msg); |
12325 | | static const ::solidity::yul::test::yul_fuzzer::LogFunc& log_func(const Statement* msg); |
12326 | | static const ::solidity::yul::test::yul_fuzzer::CopyFunc& copy_func(const Statement* msg); |
12327 | | static const ::solidity::yul::test::yul_fuzzer::ExtCodeCopy& extcode_copy(const Statement* msg); |
12328 | | static const ::solidity::yul::test::yul_fuzzer::TerminatingStmt& terminatestmt(const Statement* msg); |
12329 | | static const ::solidity::yul::test::yul_fuzzer::FunctionCall& functioncall(const Statement* msg); |
12330 | | static const ::solidity::yul::test::yul_fuzzer::BoundedForStmt& boundedforstmt(const Statement* msg); |
12331 | | static const ::solidity::yul::test::yul_fuzzer::FunctionDef& funcdef(const Statement* msg); |
12332 | | static const ::solidity::yul::test::yul_fuzzer::PopStmt& pop(const Statement* msg); |
12333 | | static const ::solidity::yul::test::yul_fuzzer::LeaveStmt& leave(const Statement* msg); |
12334 | | static const ::solidity::yul::test::yul_fuzzer::MultiVarDecl& multidecl(const Statement* msg); |
12335 | | }; |
12336 | | |
12337 | | const ::solidity::yul::test::yul_fuzzer::VarDecl& |
12338 | 0 | Statement::_Internal::decl(const Statement* msg) { |
12339 | 0 | return *msg->_impl_.stmt_oneof_.decl_; |
12340 | 0 | } |
12341 | | const ::solidity::yul::test::yul_fuzzer::AssignmentStatement& |
12342 | 0 | Statement::_Internal::assignment(const Statement* msg) { |
12343 | 0 | return *msg->_impl_.stmt_oneof_.assignment_; |
12344 | 0 | } |
12345 | | const ::solidity::yul::test::yul_fuzzer::IfStmt& |
12346 | 0 | Statement::_Internal::ifstmt(const Statement* msg) { |
12347 | 0 | return *msg->_impl_.stmt_oneof_.ifstmt_; |
12348 | 0 | } |
12349 | | const ::solidity::yul::test::yul_fuzzer::StoreFunc& |
12350 | 0 | Statement::_Internal::storage_func(const Statement* msg) { |
12351 | 0 | return *msg->_impl_.stmt_oneof_.storage_func_; |
12352 | 0 | } |
12353 | | const ::solidity::yul::test::yul_fuzzer::Block& |
12354 | 0 | Statement::_Internal::blockstmt(const Statement* msg) { |
12355 | 0 | return *msg->_impl_.stmt_oneof_.blockstmt_; |
12356 | 0 | } |
12357 | | const ::solidity::yul::test::yul_fuzzer::ForStmt& |
12358 | 0 | Statement::_Internal::forstmt(const Statement* msg) { |
12359 | 0 | return *msg->_impl_.stmt_oneof_.forstmt_; |
12360 | 0 | } |
12361 | | const ::solidity::yul::test::yul_fuzzer::SwitchStmt& |
12362 | 0 | Statement::_Internal::switchstmt(const Statement* msg) { |
12363 | 0 | return *msg->_impl_.stmt_oneof_.switchstmt_; |
12364 | 0 | } |
12365 | | const ::solidity::yul::test::yul_fuzzer::BreakStmt& |
12366 | 0 | Statement::_Internal::breakstmt(const Statement* msg) { |
12367 | 0 | return *msg->_impl_.stmt_oneof_.breakstmt_; |
12368 | 0 | } |
12369 | | const ::solidity::yul::test::yul_fuzzer::ContinueStmt& |
12370 | 0 | Statement::_Internal::contstmt(const Statement* msg) { |
12371 | 0 | return *msg->_impl_.stmt_oneof_.contstmt_; |
12372 | 0 | } |
12373 | | const ::solidity::yul::test::yul_fuzzer::LogFunc& |
12374 | 0 | Statement::_Internal::log_func(const Statement* msg) { |
12375 | 0 | return *msg->_impl_.stmt_oneof_.log_func_; |
12376 | 0 | } |
12377 | | const ::solidity::yul::test::yul_fuzzer::CopyFunc& |
12378 | 0 | Statement::_Internal::copy_func(const Statement* msg) { |
12379 | 0 | return *msg->_impl_.stmt_oneof_.copy_func_; |
12380 | 0 | } |
12381 | | const ::solidity::yul::test::yul_fuzzer::ExtCodeCopy& |
12382 | 0 | Statement::_Internal::extcode_copy(const Statement* msg) { |
12383 | 0 | return *msg->_impl_.stmt_oneof_.extcode_copy_; |
12384 | 0 | } |
12385 | | const ::solidity::yul::test::yul_fuzzer::TerminatingStmt& |
12386 | 0 | Statement::_Internal::terminatestmt(const Statement* msg) { |
12387 | 0 | return *msg->_impl_.stmt_oneof_.terminatestmt_; |
12388 | 0 | } |
12389 | | const ::solidity::yul::test::yul_fuzzer::FunctionCall& |
12390 | 0 | Statement::_Internal::functioncall(const Statement* msg) { |
12391 | 0 | return *msg->_impl_.stmt_oneof_.functioncall_; |
12392 | 0 | } |
12393 | | const ::solidity::yul::test::yul_fuzzer::BoundedForStmt& |
12394 | 0 | Statement::_Internal::boundedforstmt(const Statement* msg) { |
12395 | 0 | return *msg->_impl_.stmt_oneof_.boundedforstmt_; |
12396 | 0 | } |
12397 | | const ::solidity::yul::test::yul_fuzzer::FunctionDef& |
12398 | 0 | Statement::_Internal::funcdef(const Statement* msg) { |
12399 | 0 | return *msg->_impl_.stmt_oneof_.funcdef_; |
12400 | 0 | } |
12401 | | const ::solidity::yul::test::yul_fuzzer::PopStmt& |
12402 | 0 | Statement::_Internal::pop(const Statement* msg) { |
12403 | 0 | return *msg->_impl_.stmt_oneof_.pop_; |
12404 | 0 | } |
12405 | | const ::solidity::yul::test::yul_fuzzer::LeaveStmt& |
12406 | 0 | Statement::_Internal::leave(const Statement* msg) { |
12407 | 0 | return *msg->_impl_.stmt_oneof_.leave_; |
12408 | 0 | } |
12409 | | const ::solidity::yul::test::yul_fuzzer::MultiVarDecl& |
12410 | 0 | Statement::_Internal::multidecl(const Statement* msg) { |
12411 | 0 | return *msg->_impl_.stmt_oneof_.multidecl_; |
12412 | 0 | } |
12413 | 0 | void Statement::set_allocated_decl(::solidity::yul::test::yul_fuzzer::VarDecl* decl) { |
12414 | 0 | ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); |
12415 | 0 | clear_stmt_oneof(); |
12416 | 0 | if (decl) { |
12417 | 0 | ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = |
12418 | 0 | ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(decl); |
12419 | 0 | if (message_arena != submessage_arena) { |
12420 | 0 | decl = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( |
12421 | 0 | message_arena, decl, submessage_arena); |
12422 | 0 | } |
12423 | 0 | set_has_decl(); |
12424 | 0 | _impl_.stmt_oneof_.decl_ = decl; |
12425 | 0 | } |
12426 | | // @@protoc_insertion_point(field_set_allocated:solidity.yul.test.yul_fuzzer.Statement.decl) |
12427 | 0 | } |
12428 | 0 | void Statement::set_allocated_assignment(::solidity::yul::test::yul_fuzzer::AssignmentStatement* assignment) { |
12429 | 0 | ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); |
12430 | 0 | clear_stmt_oneof(); |
12431 | 0 | if (assignment) { |
12432 | 0 | ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = |
12433 | 0 | ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(assignment); |
12434 | 0 | if (message_arena != submessage_arena) { |
12435 | 0 | assignment = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( |
12436 | 0 | message_arena, assignment, submessage_arena); |
12437 | 0 | } |
12438 | 0 | set_has_assignment(); |
12439 | 0 | _impl_.stmt_oneof_.assignment_ = assignment; |
12440 | 0 | } |
12441 | | // @@protoc_insertion_point(field_set_allocated:solidity.yul.test.yul_fuzzer.Statement.assignment) |
12442 | 0 | } |
12443 | 53.9k | void Statement::set_allocated_ifstmt(::solidity::yul::test::yul_fuzzer::IfStmt* ifstmt) { |
12444 | 53.9k | ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); |
12445 | 53.9k | clear_stmt_oneof(); |
12446 | 53.9k | if (ifstmt) { |
12447 | 53.9k | ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = |
12448 | 53.9k | ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(ifstmt); |
12449 | 53.9k | if (message_arena != submessage_arena) { |
12450 | 0 | ifstmt = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( |
12451 | 0 | message_arena, ifstmt, submessage_arena); |
12452 | 0 | } |
12453 | 53.9k | set_has_ifstmt(); |
12454 | 53.9k | _impl_.stmt_oneof_.ifstmt_ = ifstmt; |
12455 | 53.9k | } |
12456 | | // @@protoc_insertion_point(field_set_allocated:solidity.yul.test.yul_fuzzer.Statement.ifstmt) |
12457 | 53.9k | } |
12458 | 29.8k | void Statement::set_allocated_storage_func(::solidity::yul::test::yul_fuzzer::StoreFunc* storage_func) { |
12459 | 29.8k | ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); |
12460 | 29.8k | clear_stmt_oneof(); |
12461 | 29.8k | if (storage_func) { |
12462 | 29.8k | ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = |
12463 | 29.8k | ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(storage_func); |
12464 | 29.8k | if (message_arena != submessage_arena) { |
12465 | 0 | storage_func = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( |
12466 | 0 | message_arena, storage_func, submessage_arena); |
12467 | 0 | } |
12468 | 29.8k | set_has_storage_func(); |
12469 | 29.8k | _impl_.stmt_oneof_.storage_func_ = storage_func; |
12470 | 29.8k | } |
12471 | | // @@protoc_insertion_point(field_set_allocated:solidity.yul.test.yul_fuzzer.Statement.storage_func) |
12472 | 29.8k | } |
12473 | 0 | void Statement::set_allocated_blockstmt(::solidity::yul::test::yul_fuzzer::Block* blockstmt) { |
12474 | 0 | ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); |
12475 | 0 | clear_stmt_oneof(); |
12476 | 0 | if (blockstmt) { |
12477 | 0 | ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = |
12478 | 0 | ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(blockstmt); |
12479 | 0 | if (message_arena != submessage_arena) { |
12480 | 0 | blockstmt = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( |
12481 | 0 | message_arena, blockstmt, submessage_arena); |
12482 | 0 | } |
12483 | 0 | set_has_blockstmt(); |
12484 | 0 | _impl_.stmt_oneof_.blockstmt_ = blockstmt; |
12485 | 0 | } |
12486 | | // @@protoc_insertion_point(field_set_allocated:solidity.yul.test.yul_fuzzer.Statement.blockstmt) |
12487 | 0 | } |
12488 | 54.3k | void Statement::set_allocated_forstmt(::solidity::yul::test::yul_fuzzer::ForStmt* forstmt) { |
12489 | 54.3k | ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); |
12490 | 54.3k | clear_stmt_oneof(); |
12491 | 54.3k | if (forstmt) { |
12492 | 54.3k | ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = |
12493 | 54.3k | ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(forstmt); |
12494 | 54.3k | if (message_arena != submessage_arena) { |
12495 | 0 | forstmt = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( |
12496 | 0 | message_arena, forstmt, submessage_arena); |
12497 | 0 | } |
12498 | 54.3k | set_has_forstmt(); |
12499 | 54.3k | _impl_.stmt_oneof_.forstmt_ = forstmt; |
12500 | 54.3k | } |
12501 | | // @@protoc_insertion_point(field_set_allocated:solidity.yul.test.yul_fuzzer.Statement.forstmt) |
12502 | 54.3k | } |
12503 | 54.6k | void Statement::set_allocated_switchstmt(::solidity::yul::test::yul_fuzzer::SwitchStmt* switchstmt) { |
12504 | 54.6k | ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); |
12505 | 54.6k | clear_stmt_oneof(); |
12506 | 54.6k | if (switchstmt) { |
12507 | 54.6k | ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = |
12508 | 54.6k | ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(switchstmt); |
12509 | 54.6k | if (message_arena != submessage_arena) { |
12510 | 0 | switchstmt = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( |
12511 | 0 | message_arena, switchstmt, submessage_arena); |
12512 | 0 | } |
12513 | 54.6k | set_has_switchstmt(); |
12514 | 54.6k | _impl_.stmt_oneof_.switchstmt_ = switchstmt; |
12515 | 54.6k | } |
12516 | | // @@protoc_insertion_point(field_set_allocated:solidity.yul.test.yul_fuzzer.Statement.switchstmt) |
12517 | 54.6k | } |
12518 | 54.5k | void Statement::set_allocated_breakstmt(::solidity::yul::test::yul_fuzzer::BreakStmt* breakstmt) { |
12519 | 54.5k | ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); |
12520 | 54.5k | clear_stmt_oneof(); |
12521 | 54.5k | if (breakstmt) { |
12522 | 54.5k | ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = |
12523 | 54.5k | ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(breakstmt); |
12524 | 54.5k | if (message_arena != submessage_arena) { |
12525 | 0 | breakstmt = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( |
12526 | 0 | message_arena, breakstmt, submessage_arena); |
12527 | 0 | } |
12528 | 54.5k | set_has_breakstmt(); |
12529 | 54.5k | _impl_.stmt_oneof_.breakstmt_ = breakstmt; |
12530 | 54.5k | } |
12531 | | // @@protoc_insertion_point(field_set_allocated:solidity.yul.test.yul_fuzzer.Statement.breakstmt) |
12532 | 54.5k | } |
12533 | 54.2k | void Statement::set_allocated_contstmt(::solidity::yul::test::yul_fuzzer::ContinueStmt* contstmt) { |
12534 | 54.2k | ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); |
12535 | 54.2k | clear_stmt_oneof(); |
12536 | 54.2k | if (contstmt) { |
12537 | 54.2k | ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = |
12538 | 54.2k | ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(contstmt); |
12539 | 54.2k | if (message_arena != submessage_arena) { |
12540 | 0 | contstmt = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( |
12541 | 0 | message_arena, contstmt, submessage_arena); |
12542 | 0 | } |
12543 | 54.2k | set_has_contstmt(); |
12544 | 54.2k | _impl_.stmt_oneof_.contstmt_ = contstmt; |
12545 | 54.2k | } |
12546 | | // @@protoc_insertion_point(field_set_allocated:solidity.yul.test.yul_fuzzer.Statement.contstmt) |
12547 | 54.2k | } |
12548 | 0 | void Statement::set_allocated_log_func(::solidity::yul::test::yul_fuzzer::LogFunc* log_func) { |
12549 | 0 | ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); |
12550 | 0 | clear_stmt_oneof(); |
12551 | 0 | if (log_func) { |
12552 | 0 | ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = |
12553 | 0 | ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(log_func); |
12554 | 0 | if (message_arena != submessage_arena) { |
12555 | 0 | log_func = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( |
12556 | 0 | message_arena, log_func, submessage_arena); |
12557 | 0 | } |
12558 | 0 | set_has_log_func(); |
12559 | 0 | _impl_.stmt_oneof_.log_func_ = log_func; |
12560 | 0 | } |
12561 | | // @@protoc_insertion_point(field_set_allocated:solidity.yul.test.yul_fuzzer.Statement.log_func) |
12562 | 0 | } |
12563 | 0 | void Statement::set_allocated_copy_func(::solidity::yul::test::yul_fuzzer::CopyFunc* copy_func) { |
12564 | 0 | ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); |
12565 | 0 | clear_stmt_oneof(); |
12566 | 0 | if (copy_func) { |
12567 | 0 | ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = |
12568 | 0 | ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(copy_func); |
12569 | 0 | if (message_arena != submessage_arena) { |
12570 | 0 | copy_func = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( |
12571 | 0 | message_arena, copy_func, submessage_arena); |
12572 | 0 | } |
12573 | 0 | set_has_copy_func(); |
12574 | 0 | _impl_.stmt_oneof_.copy_func_ = copy_func; |
12575 | 0 | } |
12576 | | // @@protoc_insertion_point(field_set_allocated:solidity.yul.test.yul_fuzzer.Statement.copy_func) |
12577 | 0 | } |
12578 | 0 | void Statement::set_allocated_extcode_copy(::solidity::yul::test::yul_fuzzer::ExtCodeCopy* extcode_copy) { |
12579 | 0 | ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); |
12580 | 0 | clear_stmt_oneof(); |
12581 | 0 | if (extcode_copy) { |
12582 | 0 | ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = |
12583 | 0 | ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(extcode_copy); |
12584 | 0 | if (message_arena != submessage_arena) { |
12585 | 0 | extcode_copy = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( |
12586 | 0 | message_arena, extcode_copy, submessage_arena); |
12587 | 0 | } |
12588 | 0 | set_has_extcode_copy(); |
12589 | 0 | _impl_.stmt_oneof_.extcode_copy_ = extcode_copy; |
12590 | 0 | } |
12591 | | // @@protoc_insertion_point(field_set_allocated:solidity.yul.test.yul_fuzzer.Statement.extcode_copy) |
12592 | 0 | } |
12593 | 54.6k | void Statement::set_allocated_terminatestmt(::solidity::yul::test::yul_fuzzer::TerminatingStmt* terminatestmt) { |
12594 | 54.6k | ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); |
12595 | 54.6k | clear_stmt_oneof(); |
12596 | 54.6k | if (terminatestmt) { |
12597 | 54.6k | ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = |
12598 | 54.6k | ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(terminatestmt); |
12599 | 54.6k | if (message_arena != submessage_arena) { |
12600 | 0 | terminatestmt = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( |
12601 | 0 | message_arena, terminatestmt, submessage_arena); |
12602 | 0 | } |
12603 | 54.6k | set_has_terminatestmt(); |
12604 | 54.6k | _impl_.stmt_oneof_.terminatestmt_ = terminatestmt; |
12605 | 54.6k | } |
12606 | | // @@protoc_insertion_point(field_set_allocated:solidity.yul.test.yul_fuzzer.Statement.terminatestmt) |
12607 | 54.6k | } |
12608 | 55.4k | void Statement::set_allocated_functioncall(::solidity::yul::test::yul_fuzzer::FunctionCall* functioncall) { |
12609 | 55.4k | ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); |
12610 | 55.4k | clear_stmt_oneof(); |
12611 | 55.4k | if (functioncall) { |
12612 | 55.4k | ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = |
12613 | 55.4k | ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(functioncall); |
12614 | 55.4k | if (message_arena != submessage_arena) { |
12615 | 0 | functioncall = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( |
12616 | 0 | message_arena, functioncall, submessage_arena); |
12617 | 0 | } |
12618 | 55.4k | set_has_functioncall(); |
12619 | 55.4k | _impl_.stmt_oneof_.functioncall_ = functioncall; |
12620 | 55.4k | } |
12621 | | // @@protoc_insertion_point(field_set_allocated:solidity.yul.test.yul_fuzzer.Statement.functioncall) |
12622 | 55.4k | } |
12623 | 54.3k | void Statement::set_allocated_boundedforstmt(::solidity::yul::test::yul_fuzzer::BoundedForStmt* boundedforstmt) { |
12624 | 54.3k | ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); |
12625 | 54.3k | clear_stmt_oneof(); |
12626 | 54.3k | if (boundedforstmt) { |
12627 | 54.3k | ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = |
12628 | 54.3k | ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(boundedforstmt); |
12629 | 54.3k | if (message_arena != submessage_arena) { |
12630 | 0 | boundedforstmt = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( |
12631 | 0 | message_arena, boundedforstmt, submessage_arena); |
12632 | 0 | } |
12633 | 54.3k | set_has_boundedforstmt(); |
12634 | 54.3k | _impl_.stmt_oneof_.boundedforstmt_ = boundedforstmt; |
12635 | 54.3k | } |
12636 | | // @@protoc_insertion_point(field_set_allocated:solidity.yul.test.yul_fuzzer.Statement.boundedforstmt) |
12637 | 54.3k | } |
12638 | 0 | void Statement::set_allocated_funcdef(::solidity::yul::test::yul_fuzzer::FunctionDef* funcdef) { |
12639 | 0 | ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); |
12640 | 0 | clear_stmt_oneof(); |
12641 | 0 | if (funcdef) { |
12642 | 0 | ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = |
12643 | 0 | ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(funcdef); |
12644 | 0 | if (message_arena != submessage_arena) { |
12645 | 0 | funcdef = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( |
12646 | 0 | message_arena, funcdef, submessage_arena); |
12647 | 0 | } |
12648 | 0 | set_has_funcdef(); |
12649 | 0 | _impl_.stmt_oneof_.funcdef_ = funcdef; |
12650 | 0 | } |
12651 | | // @@protoc_insertion_point(field_set_allocated:solidity.yul.test.yul_fuzzer.Statement.funcdef) |
12652 | 0 | } |
12653 | 0 | void Statement::set_allocated_pop(::solidity::yul::test::yul_fuzzer::PopStmt* pop) { |
12654 | 0 | ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); |
12655 | 0 | clear_stmt_oneof(); |
12656 | 0 | if (pop) { |
12657 | 0 | ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = |
12658 | 0 | ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(pop); |
12659 | 0 | if (message_arena != submessage_arena) { |
12660 | 0 | pop = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( |
12661 | 0 | message_arena, pop, submessage_arena); |
12662 | 0 | } |
12663 | 0 | set_has_pop(); |
12664 | 0 | _impl_.stmt_oneof_.pop_ = pop; |
12665 | 0 | } |
12666 | | // @@protoc_insertion_point(field_set_allocated:solidity.yul.test.yul_fuzzer.Statement.pop) |
12667 | 0 | } |
12668 | 54.4k | void Statement::set_allocated_leave(::solidity::yul::test::yul_fuzzer::LeaveStmt* leave) { |
12669 | 54.4k | ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); |
12670 | 54.4k | clear_stmt_oneof(); |
12671 | 54.4k | if (leave) { |
12672 | 54.4k | ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = |
12673 | 54.4k | ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(leave); |
12674 | 54.4k | if (message_arena != submessage_arena) { |
12675 | 0 | leave = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( |
12676 | 0 | message_arena, leave, submessage_arena); |
12677 | 0 | } |
12678 | 54.4k | set_has_leave(); |
12679 | 54.4k | _impl_.stmt_oneof_.leave_ = leave; |
12680 | 54.4k | } |
12681 | | // @@protoc_insertion_point(field_set_allocated:solidity.yul.test.yul_fuzzer.Statement.leave) |
12682 | 54.4k | } |
12683 | 0 | void Statement::set_allocated_multidecl(::solidity::yul::test::yul_fuzzer::MultiVarDecl* multidecl) { |
12684 | 0 | ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); |
12685 | 0 | clear_stmt_oneof(); |
12686 | 0 | if (multidecl) { |
12687 | 0 | ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = |
12688 | 0 | ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(multidecl); |
12689 | 0 | if (message_arena != submessage_arena) { |
12690 | 0 | multidecl = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( |
12691 | 0 | message_arena, multidecl, submessage_arena); |
12692 | 0 | } |
12693 | 0 | set_has_multidecl(); |
12694 | 0 | _impl_.stmt_oneof_.multidecl_ = multidecl; |
12695 | 0 | } |
12696 | | // @@protoc_insertion_point(field_set_allocated:solidity.yul.test.yul_fuzzer.Statement.multidecl) |
12697 | 0 | } |
12698 | | Statement::Statement(::PROTOBUF_NAMESPACE_ID::Arena* arena, |
12699 | | bool is_message_owned) |
12700 | 2.32M | : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { |
12701 | 2.32M | SharedCtor(arena, is_message_owned); |
12702 | | // @@protoc_insertion_point(arena_constructor:solidity.yul.test.yul_fuzzer.Statement) |
12703 | 2.32M | } |
12704 | | Statement::Statement(const Statement& from) |
12705 | 0 | : ::PROTOBUF_NAMESPACE_ID::Message() { |
12706 | 0 | Statement* const _this = this; (void)_this; |
12707 | 0 | new (&_impl_) Impl_{ |
12708 | 0 | decltype(_impl_.stmt_oneof_){} |
12709 | 0 | , /*decltype(_impl_._cached_size_)*/{} |
12710 | 0 | , /*decltype(_impl_._oneof_case_)*/{}}; |
12711 | |
|
12712 | 0 | _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); |
12713 | 0 | clear_has_stmt_oneof(); |
12714 | 0 | switch (from.stmt_oneof_case()) { |
12715 | 0 | case kDecl: { |
12716 | 0 | _this->_internal_mutable_decl()->::solidity::yul::test::yul_fuzzer::VarDecl::MergeFrom( |
12717 | 0 | from._internal_decl()); |
12718 | 0 | break; |
12719 | 0 | } |
12720 | 0 | case kAssignment: { |
12721 | 0 | _this->_internal_mutable_assignment()->::solidity::yul::test::yul_fuzzer::AssignmentStatement::MergeFrom( |
12722 | 0 | from._internal_assignment()); |
12723 | 0 | break; |
12724 | 0 | } |
12725 | 0 | case kIfstmt: { |
12726 | 0 | _this->_internal_mutable_ifstmt()->::solidity::yul::test::yul_fuzzer::IfStmt::MergeFrom( |
12727 | 0 | from._internal_ifstmt()); |
12728 | 0 | break; |
12729 | 0 | } |
12730 | 0 | case kStorageFunc: { |
12731 | 0 | _this->_internal_mutable_storage_func()->::solidity::yul::test::yul_fuzzer::StoreFunc::MergeFrom( |
12732 | 0 | from._internal_storage_func()); |
12733 | 0 | break; |
12734 | 0 | } |
12735 | 0 | case kBlockstmt: { |
12736 | 0 | _this->_internal_mutable_blockstmt()->::solidity::yul::test::yul_fuzzer::Block::MergeFrom( |
12737 | 0 | from._internal_blockstmt()); |
12738 | 0 | break; |
12739 | 0 | } |
12740 | 0 | case kForstmt: { |
12741 | 0 | _this->_internal_mutable_forstmt()->::solidity::yul::test::yul_fuzzer::ForStmt::MergeFrom( |
12742 | 0 | from._internal_forstmt()); |
12743 | 0 | break; |
12744 | 0 | } |
12745 | 0 | case kSwitchstmt: { |
12746 | 0 | _this->_internal_mutable_switchstmt()->::solidity::yul::test::yul_fuzzer::SwitchStmt::MergeFrom( |
12747 | 0 | from._internal_switchstmt()); |
12748 | 0 | break; |
12749 | 0 | } |
12750 | 0 | case kBreakstmt: { |
12751 | 0 | _this->_internal_mutable_breakstmt()->::solidity::yul::test::yul_fuzzer::BreakStmt::MergeFrom( |
12752 | 0 | from._internal_breakstmt()); |
12753 | 0 | break; |
12754 | 0 | } |
12755 | 0 | case kContstmt: { |
12756 | 0 | _this->_internal_mutable_contstmt()->::solidity::yul::test::yul_fuzzer::ContinueStmt::MergeFrom( |
12757 | 0 | from._internal_contstmt()); |
12758 | 0 | break; |
12759 | 0 | } |
12760 | 0 | case kLogFunc: { |
12761 | 0 | _this->_internal_mutable_log_func()->::solidity::yul::test::yul_fuzzer::LogFunc::MergeFrom( |
12762 | 0 | from._internal_log_func()); |
12763 | 0 | break; |
12764 | 0 | } |
12765 | 0 | case kCopyFunc: { |
12766 | 0 | _this->_internal_mutable_copy_func()->::solidity::yul::test::yul_fuzzer::CopyFunc::MergeFrom( |
12767 | 0 | from._internal_copy_func()); |
12768 | 0 | break; |
12769 | 0 | } |
12770 | 0 | case kExtcodeCopy: { |
12771 | 0 | _this->_internal_mutable_extcode_copy()->::solidity::yul::test::yul_fuzzer::ExtCodeCopy::MergeFrom( |
12772 | 0 | from._internal_extcode_copy()); |
12773 | 0 | break; |
12774 | 0 | } |
12775 | 0 | case kTerminatestmt: { |
12776 | 0 | _this->_internal_mutable_terminatestmt()->::solidity::yul::test::yul_fuzzer::TerminatingStmt::MergeFrom( |
12777 | 0 | from._internal_terminatestmt()); |
12778 | 0 | break; |
12779 | 0 | } |
12780 | 0 | case kFunctioncall: { |
12781 | 0 | _this->_internal_mutable_functioncall()->::solidity::yul::test::yul_fuzzer::FunctionCall::MergeFrom( |
12782 | 0 | from._internal_functioncall()); |
12783 | 0 | break; |
12784 | 0 | } |
12785 | 0 | case kBoundedforstmt: { |
12786 | 0 | _this->_internal_mutable_boundedforstmt()->::solidity::yul::test::yul_fuzzer::BoundedForStmt::MergeFrom( |
12787 | 0 | from._internal_boundedforstmt()); |
12788 | 0 | break; |
12789 | 0 | } |
12790 | 0 | case kFuncdef: { |
12791 | 0 | _this->_internal_mutable_funcdef()->::solidity::yul::test::yul_fuzzer::FunctionDef::MergeFrom( |
12792 | 0 | from._internal_funcdef()); |
12793 | 0 | break; |
12794 | 0 | } |
12795 | 0 | case kPop: { |
12796 | 0 | _this->_internal_mutable_pop()->::solidity::yul::test::yul_fuzzer::PopStmt::MergeFrom( |
12797 | 0 | from._internal_pop()); |
12798 | 0 | break; |
12799 | 0 | } |
12800 | 0 | case kLeave: { |
12801 | 0 | _this->_internal_mutable_leave()->::solidity::yul::test::yul_fuzzer::LeaveStmt::MergeFrom( |
12802 | 0 | from._internal_leave()); |
12803 | 0 | break; |
12804 | 0 | } |
12805 | 0 | case kMultidecl: { |
12806 | 0 | _this->_internal_mutable_multidecl()->::solidity::yul::test::yul_fuzzer::MultiVarDecl::MergeFrom( |
12807 | 0 | from._internal_multidecl()); |
12808 | 0 | break; |
12809 | 0 | } |
12810 | 0 | case STMT_ONEOF_NOT_SET: { |
12811 | 0 | break; |
12812 | 0 | } |
12813 | 0 | } |
12814 | | // @@protoc_insertion_point(copy_constructor:solidity.yul.test.yul_fuzzer.Statement) |
12815 | 0 | } |
12816 | | |
12817 | | inline void Statement::SharedCtor( |
12818 | 2.32M | ::_pb::Arena* arena, bool is_message_owned) { |
12819 | 2.32M | (void)arena; |
12820 | 2.32M | (void)is_message_owned; |
12821 | 2.32M | new (&_impl_) Impl_{ |
12822 | 2.32M | decltype(_impl_.stmt_oneof_){} |
12823 | 2.32M | , /*decltype(_impl_._cached_size_)*/{} |
12824 | 2.32M | , /*decltype(_impl_._oneof_case_)*/{} |
12825 | 2.32M | }; |
12826 | 2.32M | clear_has_stmt_oneof(); |
12827 | 2.32M | } |
12828 | | |
12829 | 2.32M | Statement::~Statement() { |
12830 | | // @@protoc_insertion_point(destructor:solidity.yul.test.yul_fuzzer.Statement) |
12831 | 2.32M | if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { |
12832 | 0 | (void)arena; |
12833 | 0 | return; |
12834 | 0 | } |
12835 | 2.32M | SharedDtor(); |
12836 | 2.32M | } |
12837 | | |
12838 | 2.32M | inline void Statement::SharedDtor() { |
12839 | 2.32M | GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); |
12840 | 2.32M | if (has_stmt_oneof()) { |
12841 | 2.15M | clear_stmt_oneof(); |
12842 | 2.15M | } |
12843 | 2.32M | } |
12844 | | |
12845 | 0 | void Statement::SetCachedSize(int size) const { |
12846 | 0 | _impl_._cached_size_.Set(size); |
12847 | 0 | } |
12848 | | |
12849 | 2.67M | void Statement::clear_stmt_oneof() { |
12850 | | // @@protoc_insertion_point(one_of_clear_start:solidity.yul.test.yul_fuzzer.Statement) |
12851 | 2.67M | switch (stmt_oneof_case()) { |
12852 | 14.8k | case kDecl: { |
12853 | 14.8k | if (GetArenaForAllocation() == nullptr) { |
12854 | 14.8k | delete _impl_.stmt_oneof_.decl_; |
12855 | 14.8k | } |
12856 | 14.8k | break; |
12857 | 0 | } |
12858 | 31.9k | case kAssignment: { |
12859 | 31.9k | if (GetArenaForAllocation() == nullptr) { |
12860 | 31.9k | delete _impl_.stmt_oneof_.assignment_; |
12861 | 31.9k | } |
12862 | 31.9k | break; |
12863 | 0 | } |
12864 | 180k | case kIfstmt: { |
12865 | 180k | if (GetArenaForAllocation() == nullptr) { |
12866 | 180k | delete _impl_.stmt_oneof_.ifstmt_; |
12867 | 180k | } |
12868 | 180k | break; |
12869 | 0 | } |
12870 | 147k | case kStorageFunc: { |
12871 | 147k | if (GetArenaForAllocation() == nullptr) { |
12872 | 147k | delete _impl_.stmt_oneof_.storage_func_; |
12873 | 147k | } |
12874 | 147k | break; |
12875 | 0 | } |
12876 | 12.5k | case kBlockstmt: { |
12877 | 12.5k | if (GetArenaForAllocation() == nullptr) { |
12878 | 12.5k | delete _impl_.stmt_oneof_.blockstmt_; |
12879 | 12.5k | } |
12880 | 12.5k | break; |
12881 | 0 | } |
12882 | 173k | case kForstmt: { |
12883 | 173k | if (GetArenaForAllocation() == nullptr) { |
12884 | 173k | delete _impl_.stmt_oneof_.forstmt_; |
12885 | 173k | } |
12886 | 173k | break; |
12887 | 0 | } |
12888 | 198k | case kSwitchstmt: { |
12889 | 198k | if (GetArenaForAllocation() == nullptr) { |
12890 | 198k | delete _impl_.stmt_oneof_.switchstmt_; |
12891 | 198k | } |
12892 | 198k | break; |
12893 | 0 | } |
12894 | 196k | case kBreakstmt: { |
12895 | 196k | if (GetArenaForAllocation() == nullptr) { |
12896 | 196k | delete _impl_.stmt_oneof_.breakstmt_; |
12897 | 196k | } |
12898 | 196k | break; |
12899 | 0 | } |
12900 | 186k | case kContstmt: { |
12901 | 186k | if (GetArenaForAllocation() == nullptr) { |
12902 | 186k | delete _impl_.stmt_oneof_.contstmt_; |
12903 | 186k | } |
12904 | 186k | break; |
12905 | 0 | } |
12906 | 10.0k | case kLogFunc: { |
12907 | 10.0k | if (GetArenaForAllocation() == nullptr) { |
12908 | 10.0k | delete _impl_.stmt_oneof_.log_func_; |
12909 | 10.0k | } |
12910 | 10.0k | break; |
12911 | 0 | } |
12912 | 16.0k | case kCopyFunc: { |
12913 | 16.0k | if (GetArenaForAllocation() == nullptr) { |
12914 | 16.0k | delete _impl_.stmt_oneof_.copy_func_; |
12915 | 16.0k | } |
12916 | 16.0k | break; |
12917 | 0 | } |
12918 | 18.8k | case kExtcodeCopy: { |
12919 | 18.8k | if (GetArenaForAllocation() == nullptr) { |
12920 | 18.8k | delete _impl_.stmt_oneof_.extcode_copy_; |
12921 | 18.8k | } |
12922 | 18.8k | break; |
12923 | 0 | } |
12924 | 189k | case kTerminatestmt: { |
12925 | 189k | if (GetArenaForAllocation() == nullptr) { |
12926 | 189k | delete _impl_.stmt_oneof_.terminatestmt_; |
12927 | 189k | } |
12928 | 189k | break; |
12929 | 0 | } |
12930 | 228k | case kFunctioncall: { |
12931 | 228k | if (GetArenaForAllocation() == nullptr) { |
12932 | 228k | delete _impl_.stmt_oneof_.functioncall_; |
12933 | 228k | } |
12934 | 228k | break; |
12935 | 0 | } |
12936 | 185k | case kBoundedforstmt: { |
12937 | 185k | if (GetArenaForAllocation() == nullptr) { |
12938 | 185k | delete _impl_.stmt_oneof_.boundedforstmt_; |
12939 | 185k | } |
12940 | 185k | break; |
12941 | 0 | } |
12942 | 139k | case kFuncdef: { |
12943 | 139k | if (GetArenaForAllocation() == nullptr) { |
12944 | 139k | delete _impl_.stmt_oneof_.funcdef_; |
12945 | 139k | } |
12946 | 139k | break; |
12947 | 0 | } |
12948 | 11.3k | case kPop: { |
12949 | 11.3k | if (GetArenaForAllocation() == nullptr) { |
12950 | 11.3k | delete _impl_.stmt_oneof_.pop_; |
12951 | 11.3k | } |
12952 | 11.3k | break; |
12953 | 0 | } |
12954 | 191k | case kLeave: { |
12955 | 191k | if (GetArenaForAllocation() == nullptr) { |
12956 | 191k | delete _impl_.stmt_oneof_.leave_; |
12957 | 191k | } |
12958 | 191k | break; |
12959 | 0 | } |
12960 | 17.2k | case kMultidecl: { |
12961 | 17.2k | if (GetArenaForAllocation() == nullptr) { |
12962 | 17.2k | delete _impl_.stmt_oneof_.multidecl_; |
12963 | 17.2k | } |
12964 | 17.2k | break; |
12965 | 0 | } |
12966 | 520k | case STMT_ONEOF_NOT_SET: { |
12967 | 520k | break; |
12968 | 0 | } |
12969 | 2.67M | } |
12970 | 2.67M | _impl_._oneof_case_[0] = STMT_ONEOF_NOT_SET; |
12971 | 2.67M | } |
12972 | | |
12973 | | |
12974 | 0 | void Statement::Clear() { |
12975 | | // @@protoc_insertion_point(message_clear_start:solidity.yul.test.yul_fuzzer.Statement) |
12976 | 0 | uint32_t cached_has_bits = 0; |
12977 | | // Prevent compiler warnings about cached_has_bits being unused |
12978 | 0 | (void) cached_has_bits; |
12979 | |
|
12980 | 0 | clear_stmt_oneof(); |
12981 | 0 | _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); |
12982 | 0 | } |
12983 | | |
12984 | 0 | const char* Statement::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { |
12985 | 0 | #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure |
12986 | 0 | while (!ctx->Done(&ptr)) { |
12987 | 0 | uint32_t tag; |
12988 | 0 | ptr = ::_pbi::ReadTag(ptr, &tag); |
12989 | 0 | switch (tag >> 3) { |
12990 | | // .solidity.yul.test.yul_fuzzer.VarDecl decl = 1; |
12991 | 0 | case 1: |
12992 | 0 | if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 10)) { |
12993 | 0 | ptr = ctx->ParseMessage(_internal_mutable_decl(), ptr); |
12994 | 0 | CHK_(ptr); |
12995 | 0 | } else |
12996 | 0 | goto handle_unusual; |
12997 | 0 | continue; |
12998 | | // .solidity.yul.test.yul_fuzzer.AssignmentStatement assignment = 2; |
12999 | 0 | case 2: |
13000 | 0 | if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 18)) { |
13001 | 0 | ptr = ctx->ParseMessage(_internal_mutable_assignment(), ptr); |
13002 | 0 | CHK_(ptr); |
13003 | 0 | } else |
13004 | 0 | goto handle_unusual; |
13005 | 0 | continue; |
13006 | | // .solidity.yul.test.yul_fuzzer.IfStmt ifstmt = 3; |
13007 | 0 | case 3: |
13008 | 0 | if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 26)) { |
13009 | 0 | ptr = ctx->ParseMessage(_internal_mutable_ifstmt(), ptr); |
13010 | 0 | CHK_(ptr); |
13011 | 0 | } else |
13012 | 0 | goto handle_unusual; |
13013 | 0 | continue; |
13014 | | // .solidity.yul.test.yul_fuzzer.StoreFunc storage_func = 4; |
13015 | 0 | case 4: |
13016 | 0 | if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 34)) { |
13017 | 0 | ptr = ctx->ParseMessage(_internal_mutable_storage_func(), ptr); |
13018 | 0 | CHK_(ptr); |
13019 | 0 | } else |
13020 | 0 | goto handle_unusual; |
13021 | 0 | continue; |
13022 | | // .solidity.yul.test.yul_fuzzer.Block blockstmt = 5; |
13023 | 0 | case 5: |
13024 | 0 | if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 42)) { |
13025 | 0 | ptr = ctx->ParseMessage(_internal_mutable_blockstmt(), ptr); |
13026 | 0 | CHK_(ptr); |
13027 | 0 | } else |
13028 | 0 | goto handle_unusual; |
13029 | 0 | continue; |
13030 | | // .solidity.yul.test.yul_fuzzer.ForStmt forstmt = 6; |
13031 | 0 | case 6: |
13032 | 0 | if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 50)) { |
13033 | 0 | ptr = ctx->ParseMessage(_internal_mutable_forstmt(), ptr); |
13034 | 0 | CHK_(ptr); |
13035 | 0 | } else |
13036 | 0 | goto handle_unusual; |
13037 | 0 | continue; |
13038 | | // .solidity.yul.test.yul_fuzzer.SwitchStmt switchstmt = 7; |
13039 | 0 | case 7: |
13040 | 0 | if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 58)) { |
13041 | 0 | ptr = ctx->ParseMessage(_internal_mutable_switchstmt(), ptr); |
13042 | 0 | CHK_(ptr); |
13043 | 0 | } else |
13044 | 0 | goto handle_unusual; |
13045 | 0 | continue; |
13046 | | // .solidity.yul.test.yul_fuzzer.BreakStmt breakstmt = 8; |
13047 | 0 | case 8: |
13048 | 0 | if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 66)) { |
13049 | 0 | ptr = ctx->ParseMessage(_internal_mutable_breakstmt(), ptr); |
13050 | 0 | CHK_(ptr); |
13051 | 0 | } else |
13052 | 0 | goto handle_unusual; |
13053 | 0 | continue; |
13054 | | // .solidity.yul.test.yul_fuzzer.ContinueStmt contstmt = 9; |
13055 | 0 | case 9: |
13056 | 0 | if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 74)) { |
13057 | 0 | ptr = ctx->ParseMessage(_internal_mutable_contstmt(), ptr); |
13058 | 0 | CHK_(ptr); |
13059 | 0 | } else |
13060 | 0 | goto handle_unusual; |
13061 | 0 | continue; |
13062 | | // .solidity.yul.test.yul_fuzzer.LogFunc log_func = 10; |
13063 | 0 | case 10: |
13064 | 0 | if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 82)) { |
13065 | 0 | ptr = ctx->ParseMessage(_internal_mutable_log_func(), ptr); |
13066 | 0 | CHK_(ptr); |
13067 | 0 | } else |
13068 | 0 | goto handle_unusual; |
13069 | 0 | continue; |
13070 | | // .solidity.yul.test.yul_fuzzer.CopyFunc copy_func = 11; |
13071 | 0 | case 11: |
13072 | 0 | if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 90)) { |
13073 | 0 | ptr = ctx->ParseMessage(_internal_mutable_copy_func(), ptr); |
13074 | 0 | CHK_(ptr); |
13075 | 0 | } else |
13076 | 0 | goto handle_unusual; |
13077 | 0 | continue; |
13078 | | // .solidity.yul.test.yul_fuzzer.ExtCodeCopy extcode_copy = 12; |
13079 | 0 | case 12: |
13080 | 0 | if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 98)) { |
13081 | 0 | ptr = ctx->ParseMessage(_internal_mutable_extcode_copy(), ptr); |
13082 | 0 | CHK_(ptr); |
13083 | 0 | } else |
13084 | 0 | goto handle_unusual; |
13085 | 0 | continue; |
13086 | | // .solidity.yul.test.yul_fuzzer.TerminatingStmt terminatestmt = 13; |
13087 | 0 | case 13: |
13088 | 0 | if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 106)) { |
13089 | 0 | ptr = ctx->ParseMessage(_internal_mutable_terminatestmt(), ptr); |
13090 | 0 | CHK_(ptr); |
13091 | 0 | } else |
13092 | 0 | goto handle_unusual; |
13093 | 0 | continue; |
13094 | | // .solidity.yul.test.yul_fuzzer.FunctionCall functioncall = 14; |
13095 | 0 | case 14: |
13096 | 0 | if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 114)) { |
13097 | 0 | ptr = ctx->ParseMessage(_internal_mutable_functioncall(), ptr); |
13098 | 0 | CHK_(ptr); |
13099 | 0 | } else |
13100 | 0 | goto handle_unusual; |
13101 | 0 | continue; |
13102 | | // .solidity.yul.test.yul_fuzzer.BoundedForStmt boundedforstmt = 15; |
13103 | 0 | case 15: |
13104 | 0 | if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 122)) { |
13105 | 0 | ptr = ctx->ParseMessage(_internal_mutable_boundedforstmt(), ptr); |
13106 | 0 | CHK_(ptr); |
13107 | 0 | } else |
13108 | 0 | goto handle_unusual; |
13109 | 0 | continue; |
13110 | | // .solidity.yul.test.yul_fuzzer.FunctionDef funcdef = 16; |
13111 | 0 | case 16: |
13112 | 0 | if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 130)) { |
13113 | 0 | ptr = ctx->ParseMessage(_internal_mutable_funcdef(), ptr); |
13114 | 0 | CHK_(ptr); |
13115 | 0 | } else |
13116 | 0 | goto handle_unusual; |
13117 | 0 | continue; |
13118 | | // .solidity.yul.test.yul_fuzzer.PopStmt pop = 17; |
13119 | 0 | case 17: |
13120 | 0 | if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 138)) { |
13121 | 0 | ptr = ctx->ParseMessage(_internal_mutable_pop(), ptr); |
13122 | 0 | CHK_(ptr); |
13123 | 0 | } else |
13124 | 0 | goto handle_unusual; |
13125 | 0 | continue; |
13126 | | // .solidity.yul.test.yul_fuzzer.LeaveStmt leave = 18; |
13127 | 0 | case 18: |
13128 | 0 | if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 146)) { |
13129 | 0 | ptr = ctx->ParseMessage(_internal_mutable_leave(), ptr); |
13130 | 0 | CHK_(ptr); |
13131 | 0 | } else |
13132 | 0 | goto handle_unusual; |
13133 | 0 | continue; |
13134 | | // .solidity.yul.test.yul_fuzzer.MultiVarDecl multidecl = 19; |
13135 | 0 | case 19: |
13136 | 0 | if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 154)) { |
13137 | 0 | ptr = ctx->ParseMessage(_internal_mutable_multidecl(), ptr); |
13138 | 0 | CHK_(ptr); |
13139 | 0 | } else |
13140 | 0 | goto handle_unusual; |
13141 | 0 | continue; |
13142 | 0 | default: |
13143 | 0 | goto handle_unusual; |
13144 | 0 | } // switch |
13145 | 0 | handle_unusual: |
13146 | 0 | if ((tag == 0) || ((tag & 7) == 4)) { |
13147 | 0 | CHK_(ptr); |
13148 | 0 | ctx->SetLastTag(tag); |
13149 | 0 | goto message_done; |
13150 | 0 | } |
13151 | 0 | ptr = UnknownFieldParse( |
13152 | 0 | tag, |
13153 | 0 | _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), |
13154 | 0 | ptr, ctx); |
13155 | 0 | CHK_(ptr != nullptr); |
13156 | 0 | } // while |
13157 | 0 | message_done: |
13158 | 0 | return ptr; |
13159 | 0 | failure: |
13160 | 0 | ptr = nullptr; |
13161 | 0 | goto message_done; |
13162 | 0 | #undef CHK_ |
13163 | 0 | } |
13164 | | |
13165 | | uint8_t* Statement::_InternalSerialize( |
13166 | 0 | uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { |
13167 | | // @@protoc_insertion_point(serialize_to_array_start:solidity.yul.test.yul_fuzzer.Statement) |
13168 | 0 | uint32_t cached_has_bits = 0; |
13169 | 0 | (void) cached_has_bits; |
13170 | |
|
13171 | 0 | switch (stmt_oneof_case()) { |
13172 | 0 | case kDecl: { |
13173 | 0 | target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: |
13174 | 0 | InternalWriteMessage(1, _Internal::decl(this), |
13175 | 0 | _Internal::decl(this).GetCachedSize(), target, stream); |
13176 | 0 | break; |
13177 | 0 | } |
13178 | 0 | case kAssignment: { |
13179 | 0 | target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: |
13180 | 0 | InternalWriteMessage(2, _Internal::assignment(this), |
13181 | 0 | _Internal::assignment(this).GetCachedSize(), target, stream); |
13182 | 0 | break; |
13183 | 0 | } |
13184 | 0 | case kIfstmt: { |
13185 | 0 | target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: |
13186 | 0 | InternalWriteMessage(3, _Internal::ifstmt(this), |
13187 | 0 | _Internal::ifstmt(this).GetCachedSize(), target, stream); |
13188 | 0 | break; |
13189 | 0 | } |
13190 | 0 | case kStorageFunc: { |
13191 | 0 | target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: |
13192 | 0 | InternalWriteMessage(4, _Internal::storage_func(this), |
13193 | 0 | _Internal::storage_func(this).GetCachedSize(), target, stream); |
13194 | 0 | break; |
13195 | 0 | } |
13196 | 0 | case kBlockstmt: { |
13197 | 0 | target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: |
13198 | 0 | InternalWriteMessage(5, _Internal::blockstmt(this), |
13199 | 0 | _Internal::blockstmt(this).GetCachedSize(), target, stream); |
13200 | 0 | break; |
13201 | 0 | } |
13202 | 0 | case kForstmt: { |
13203 | 0 | target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: |
13204 | 0 | InternalWriteMessage(6, _Internal::forstmt(this), |
13205 | 0 | _Internal::forstmt(this).GetCachedSize(), target, stream); |
13206 | 0 | break; |
13207 | 0 | } |
13208 | 0 | case kSwitchstmt: { |
13209 | 0 | target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: |
13210 | 0 | InternalWriteMessage(7, _Internal::switchstmt(this), |
13211 | 0 | _Internal::switchstmt(this).GetCachedSize(), target, stream); |
13212 | 0 | break; |
13213 | 0 | } |
13214 | 0 | case kBreakstmt: { |
13215 | 0 | target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: |
13216 | 0 | InternalWriteMessage(8, _Internal::breakstmt(this), |
13217 | 0 | _Internal::breakstmt(this).GetCachedSize(), target, stream); |
13218 | 0 | break; |
13219 | 0 | } |
13220 | 0 | case kContstmt: { |
13221 | 0 | target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: |
13222 | 0 | InternalWriteMessage(9, _Internal::contstmt(this), |
13223 | 0 | _Internal::contstmt(this).GetCachedSize(), target, stream); |
13224 | 0 | break; |
13225 | 0 | } |
13226 | 0 | case kLogFunc: { |
13227 | 0 | target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: |
13228 | 0 | InternalWriteMessage(10, _Internal::log_func(this), |
13229 | 0 | _Internal::log_func(this).GetCachedSize(), target, stream); |
13230 | 0 | break; |
13231 | 0 | } |
13232 | 0 | case kCopyFunc: { |
13233 | 0 | target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: |
13234 | 0 | InternalWriteMessage(11, _Internal::copy_func(this), |
13235 | 0 | _Internal::copy_func(this).GetCachedSize(), target, stream); |
13236 | 0 | break; |
13237 | 0 | } |
13238 | 0 | case kExtcodeCopy: { |
13239 | 0 | target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: |
13240 | 0 | InternalWriteMessage(12, _Internal::extcode_copy(this), |
13241 | 0 | _Internal::extcode_copy(this).GetCachedSize(), target, stream); |
13242 | 0 | break; |
13243 | 0 | } |
13244 | 0 | case kTerminatestmt: { |
13245 | 0 | target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: |
13246 | 0 | InternalWriteMessage(13, _Internal::terminatestmt(this), |
13247 | 0 | _Internal::terminatestmt(this).GetCachedSize(), target, stream); |
13248 | 0 | break; |
13249 | 0 | } |
13250 | 0 | case kFunctioncall: { |
13251 | 0 | target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: |
13252 | 0 | InternalWriteMessage(14, _Internal::functioncall(this), |
13253 | 0 | _Internal::functioncall(this).GetCachedSize(), target, stream); |
13254 | 0 | break; |
13255 | 0 | } |
13256 | 0 | case kBoundedforstmt: { |
13257 | 0 | target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: |
13258 | 0 | InternalWriteMessage(15, _Internal::boundedforstmt(this), |
13259 | 0 | _Internal::boundedforstmt(this).GetCachedSize(), target, stream); |
13260 | 0 | break; |
13261 | 0 | } |
13262 | 0 | case kFuncdef: { |
13263 | 0 | target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: |
13264 | 0 | InternalWriteMessage(16, _Internal::funcdef(this), |
13265 | 0 | _Internal::funcdef(this).GetCachedSize(), target, stream); |
13266 | 0 | break; |
13267 | 0 | } |
13268 | 0 | case kPop: { |
13269 | 0 | target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: |
13270 | 0 | InternalWriteMessage(17, _Internal::pop(this), |
13271 | 0 | _Internal::pop(this).GetCachedSize(), target, stream); |
13272 | 0 | break; |
13273 | 0 | } |
13274 | 0 | case kLeave: { |
13275 | 0 | target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: |
13276 | 0 | InternalWriteMessage(18, _Internal::leave(this), |
13277 | 0 | _Internal::leave(this).GetCachedSize(), target, stream); |
13278 | 0 | break; |
13279 | 0 | } |
13280 | 0 | case kMultidecl: { |
13281 | 0 | target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: |
13282 | 0 | InternalWriteMessage(19, _Internal::multidecl(this), |
13283 | 0 | _Internal::multidecl(this).GetCachedSize(), target, stream); |
13284 | 0 | break; |
13285 | 0 | } |
13286 | 0 | default: ; |
13287 | 0 | } |
13288 | 0 | if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { |
13289 | 0 | target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( |
13290 | 0 | _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); |
13291 | 0 | } |
13292 | | // @@protoc_insertion_point(serialize_to_array_end:solidity.yul.test.yul_fuzzer.Statement) |
13293 | 0 | return target; |
13294 | 0 | } |
13295 | | |
13296 | 2.25M | size_t Statement::ByteSizeLong() const { |
13297 | | // @@protoc_insertion_point(message_byte_size_start:solidity.yul.test.yul_fuzzer.Statement) |
13298 | 2.25M | size_t total_size = 0; |
13299 | | |
13300 | 2.25M | uint32_t cached_has_bits = 0; |
13301 | | // Prevent compiler warnings about cached_has_bits being unused |
13302 | 2.25M | (void) cached_has_bits; |
13303 | | |
13304 | 2.25M | switch (stmt_oneof_case()) { |
13305 | | // .solidity.yul.test.yul_fuzzer.VarDecl decl = 1; |
13306 | 13.3k | case kDecl: { |
13307 | 13.3k | total_size += 1 + |
13308 | 13.3k | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
13309 | 13.3k | *_impl_.stmt_oneof_.decl_); |
13310 | 13.3k | break; |
13311 | 0 | } |
13312 | | // .solidity.yul.test.yul_fuzzer.AssignmentStatement assignment = 2; |
13313 | 28.4k | case kAssignment: { |
13314 | 28.4k | total_size += 1 + |
13315 | 28.4k | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
13316 | 28.4k | *_impl_.stmt_oneof_.assignment_); |
13317 | 28.4k | break; |
13318 | 0 | } |
13319 | | // .solidity.yul.test.yul_fuzzer.IfStmt ifstmt = 3; |
13320 | 176k | case kIfstmt: { |
13321 | 176k | total_size += 1 + |
13322 | 176k | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
13323 | 176k | *_impl_.stmt_oneof_.ifstmt_); |
13324 | 176k | break; |
13325 | 0 | } |
13326 | | // .solidity.yul.test.yul_fuzzer.StoreFunc storage_func = 4; |
13327 | 144k | case kStorageFunc: { |
13328 | 144k | total_size += 1 + |
13329 | 144k | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
13330 | 144k | *_impl_.stmt_oneof_.storage_func_); |
13331 | 144k | break; |
13332 | 0 | } |
13333 | | // .solidity.yul.test.yul_fuzzer.Block blockstmt = 5; |
13334 | 11.7k | case kBlockstmt: { |
13335 | 11.7k | total_size += 1 + |
13336 | 11.7k | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
13337 | 11.7k | *_impl_.stmt_oneof_.blockstmt_); |
13338 | 11.7k | break; |
13339 | 0 | } |
13340 | | // .solidity.yul.test.yul_fuzzer.ForStmt forstmt = 6; |
13341 | 170k | case kForstmt: { |
13342 | 170k | total_size += 1 + |
13343 | 170k | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
13344 | 170k | *_impl_.stmt_oneof_.forstmt_); |
13345 | 170k | break; |
13346 | 0 | } |
13347 | | // .solidity.yul.test.yul_fuzzer.SwitchStmt switchstmt = 7; |
13348 | 195k | case kSwitchstmt: { |
13349 | 195k | total_size += 1 + |
13350 | 195k | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
13351 | 195k | *_impl_.stmt_oneof_.switchstmt_); |
13352 | 195k | break; |
13353 | 0 | } |
13354 | | // .solidity.yul.test.yul_fuzzer.BreakStmt breakstmt = 8; |
13355 | 194k | case kBreakstmt: { |
13356 | 194k | total_size += 1 + |
13357 | 194k | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
13358 | 194k | *_impl_.stmt_oneof_.breakstmt_); |
13359 | 194k | break; |
13360 | 0 | } |
13361 | | // .solidity.yul.test.yul_fuzzer.ContinueStmt contstmt = 9; |
13362 | 185k | case kContstmt: { |
13363 | 185k | total_size += 1 + |
13364 | 185k | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
13365 | 185k | *_impl_.stmt_oneof_.contstmt_); |
13366 | 185k | break; |
13367 | 0 | } |
13368 | | // .solidity.yul.test.yul_fuzzer.LogFunc log_func = 10; |
13369 | 7.10k | case kLogFunc: { |
13370 | 7.10k | total_size += 1 + |
13371 | 7.10k | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
13372 | 7.10k | *_impl_.stmt_oneof_.log_func_); |
13373 | 7.10k | break; |
13374 | 0 | } |
13375 | | // .solidity.yul.test.yul_fuzzer.CopyFunc copy_func = 11; |
13376 | 10.5k | case kCopyFunc: { |
13377 | 10.5k | total_size += 1 + |
13378 | 10.5k | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
13379 | 10.5k | *_impl_.stmt_oneof_.copy_func_); |
13380 | 10.5k | break; |
13381 | 0 | } |
13382 | | // .solidity.yul.test.yul_fuzzer.ExtCodeCopy extcode_copy = 12; |
13383 | 13.3k | case kExtcodeCopy: { |
13384 | 13.3k | total_size += 1 + |
13385 | 13.3k | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
13386 | 13.3k | *_impl_.stmt_oneof_.extcode_copy_); |
13387 | 13.3k | break; |
13388 | 0 | } |
13389 | | // .solidity.yul.test.yul_fuzzer.TerminatingStmt terminatestmt = 13; |
13390 | 185k | case kTerminatestmt: { |
13391 | 185k | total_size += 1 + |
13392 | 185k | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
13393 | 185k | *_impl_.stmt_oneof_.terminatestmt_); |
13394 | 185k | break; |
13395 | 0 | } |
13396 | | // .solidity.yul.test.yul_fuzzer.FunctionCall functioncall = 14; |
13397 | 225k | case kFunctioncall: { |
13398 | 225k | total_size += 1 + |
13399 | 225k | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
13400 | 225k | *_impl_.stmt_oneof_.functioncall_); |
13401 | 225k | break; |
13402 | 0 | } |
13403 | | // .solidity.yul.test.yul_fuzzer.BoundedForStmt boundedforstmt = 15; |
13404 | 182k | case kBoundedforstmt: { |
13405 | 182k | total_size += 1 + |
13406 | 182k | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
13407 | 182k | *_impl_.stmt_oneof_.boundedforstmt_); |
13408 | 182k | break; |
13409 | 0 | } |
13410 | | // .solidity.yul.test.yul_fuzzer.FunctionDef funcdef = 16; |
13411 | 136k | case kFuncdef: { |
13412 | 136k | total_size += 2 + |
13413 | 136k | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
13414 | 136k | *_impl_.stmt_oneof_.funcdef_); |
13415 | 136k | break; |
13416 | 0 | } |
13417 | | // .solidity.yul.test.yul_fuzzer.PopStmt pop = 17; |
13418 | 10.2k | case kPop: { |
13419 | 10.2k | total_size += 2 + |
13420 | 10.2k | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
13421 | 10.2k | *_impl_.stmt_oneof_.pop_); |
13422 | 10.2k | break; |
13423 | 0 | } |
13424 | | // .solidity.yul.test.yul_fuzzer.LeaveStmt leave = 18; |
13425 | 189k | case kLeave: { |
13426 | 189k | total_size += 2 + |
13427 | 189k | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
13428 | 189k | *_impl_.stmt_oneof_.leave_); |
13429 | 189k | break; |
13430 | 0 | } |
13431 | | // .solidity.yul.test.yul_fuzzer.MultiVarDecl multidecl = 19; |
13432 | 16.9k | case kMultidecl: { |
13433 | 16.9k | total_size += 2 + |
13434 | 16.9k | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
13435 | 16.9k | *_impl_.stmt_oneof_.multidecl_); |
13436 | 16.9k | break; |
13437 | 0 | } |
13438 | 159k | case STMT_ONEOF_NOT_SET: { |
13439 | 159k | break; |
13440 | 0 | } |
13441 | 2.25M | } |
13442 | 2.25M | return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); |
13443 | 2.25M | } |
13444 | | |
13445 | | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData Statement::_class_data_ = { |
13446 | | ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, |
13447 | | Statement::MergeImpl |
13448 | | }; |
13449 | 0 | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*Statement::GetClassData() const { return &_class_data_; } |
13450 | | |
13451 | | |
13452 | 0 | void Statement::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { |
13453 | 0 | auto* const _this = static_cast<Statement*>(&to_msg); |
13454 | 0 | auto& from = static_cast<const Statement&>(from_msg); |
13455 | | // @@protoc_insertion_point(class_specific_merge_from_start:solidity.yul.test.yul_fuzzer.Statement) |
13456 | 0 | GOOGLE_DCHECK_NE(&from, _this); |
13457 | 0 | uint32_t cached_has_bits = 0; |
13458 | 0 | (void) cached_has_bits; |
13459 | |
|
13460 | 0 | switch (from.stmt_oneof_case()) { |
13461 | 0 | case kDecl: { |
13462 | 0 | _this->_internal_mutable_decl()->::solidity::yul::test::yul_fuzzer::VarDecl::MergeFrom( |
13463 | 0 | from._internal_decl()); |
13464 | 0 | break; |
13465 | 0 | } |
13466 | 0 | case kAssignment: { |
13467 | 0 | _this->_internal_mutable_assignment()->::solidity::yul::test::yul_fuzzer::AssignmentStatement::MergeFrom( |
13468 | 0 | from._internal_assignment()); |
13469 | 0 | break; |
13470 | 0 | } |
13471 | 0 | case kIfstmt: { |
13472 | 0 | _this->_internal_mutable_ifstmt()->::solidity::yul::test::yul_fuzzer::IfStmt::MergeFrom( |
13473 | 0 | from._internal_ifstmt()); |
13474 | 0 | break; |
13475 | 0 | } |
13476 | 0 | case kStorageFunc: { |
13477 | 0 | _this->_internal_mutable_storage_func()->::solidity::yul::test::yul_fuzzer::StoreFunc::MergeFrom( |
13478 | 0 | from._internal_storage_func()); |
13479 | 0 | break; |
13480 | 0 | } |
13481 | 0 | case kBlockstmt: { |
13482 | 0 | _this->_internal_mutable_blockstmt()->::solidity::yul::test::yul_fuzzer::Block::MergeFrom( |
13483 | 0 | from._internal_blockstmt()); |
13484 | 0 | break; |
13485 | 0 | } |
13486 | 0 | case kForstmt: { |
13487 | 0 | _this->_internal_mutable_forstmt()->::solidity::yul::test::yul_fuzzer::ForStmt::MergeFrom( |
13488 | 0 | from._internal_forstmt()); |
13489 | 0 | break; |
13490 | 0 | } |
13491 | 0 | case kSwitchstmt: { |
13492 | 0 | _this->_internal_mutable_switchstmt()->::solidity::yul::test::yul_fuzzer::SwitchStmt::MergeFrom( |
13493 | 0 | from._internal_switchstmt()); |
13494 | 0 | break; |
13495 | 0 | } |
13496 | 0 | case kBreakstmt: { |
13497 | 0 | _this->_internal_mutable_breakstmt()->::solidity::yul::test::yul_fuzzer::BreakStmt::MergeFrom( |
13498 | 0 | from._internal_breakstmt()); |
13499 | 0 | break; |
13500 | 0 | } |
13501 | 0 | case kContstmt: { |
13502 | 0 | _this->_internal_mutable_contstmt()->::solidity::yul::test::yul_fuzzer::ContinueStmt::MergeFrom( |
13503 | 0 | from._internal_contstmt()); |
13504 | 0 | break; |
13505 | 0 | } |
13506 | 0 | case kLogFunc: { |
13507 | 0 | _this->_internal_mutable_log_func()->::solidity::yul::test::yul_fuzzer::LogFunc::MergeFrom( |
13508 | 0 | from._internal_log_func()); |
13509 | 0 | break; |
13510 | 0 | } |
13511 | 0 | case kCopyFunc: { |
13512 | 0 | _this->_internal_mutable_copy_func()->::solidity::yul::test::yul_fuzzer::CopyFunc::MergeFrom( |
13513 | 0 | from._internal_copy_func()); |
13514 | 0 | break; |
13515 | 0 | } |
13516 | 0 | case kExtcodeCopy: { |
13517 | 0 | _this->_internal_mutable_extcode_copy()->::solidity::yul::test::yul_fuzzer::ExtCodeCopy::MergeFrom( |
13518 | 0 | from._internal_extcode_copy()); |
13519 | 0 | break; |
13520 | 0 | } |
13521 | 0 | case kTerminatestmt: { |
13522 | 0 | _this->_internal_mutable_terminatestmt()->::solidity::yul::test::yul_fuzzer::TerminatingStmt::MergeFrom( |
13523 | 0 | from._internal_terminatestmt()); |
13524 | 0 | break; |
13525 | 0 | } |
13526 | 0 | case kFunctioncall: { |
13527 | 0 | _this->_internal_mutable_functioncall()->::solidity::yul::test::yul_fuzzer::FunctionCall::MergeFrom( |
13528 | 0 | from._internal_functioncall()); |
13529 | 0 | break; |
13530 | 0 | } |
13531 | 0 | case kBoundedforstmt: { |
13532 | 0 | _this->_internal_mutable_boundedforstmt()->::solidity::yul::test::yul_fuzzer::BoundedForStmt::MergeFrom( |
13533 | 0 | from._internal_boundedforstmt()); |
13534 | 0 | break; |
13535 | 0 | } |
13536 | 0 | case kFuncdef: { |
13537 | 0 | _this->_internal_mutable_funcdef()->::solidity::yul::test::yul_fuzzer::FunctionDef::MergeFrom( |
13538 | 0 | from._internal_funcdef()); |
13539 | 0 | break; |
13540 | 0 | } |
13541 | 0 | case kPop: { |
13542 | 0 | _this->_internal_mutable_pop()->::solidity::yul::test::yul_fuzzer::PopStmt::MergeFrom( |
13543 | 0 | from._internal_pop()); |
13544 | 0 | break; |
13545 | 0 | } |
13546 | 0 | case kLeave: { |
13547 | 0 | _this->_internal_mutable_leave()->::solidity::yul::test::yul_fuzzer::LeaveStmt::MergeFrom( |
13548 | 0 | from._internal_leave()); |
13549 | 0 | break; |
13550 | 0 | } |
13551 | 0 | case kMultidecl: { |
13552 | 0 | _this->_internal_mutable_multidecl()->::solidity::yul::test::yul_fuzzer::MultiVarDecl::MergeFrom( |
13553 | 0 | from._internal_multidecl()); |
13554 | 0 | break; |
13555 | 0 | } |
13556 | 0 | case STMT_ONEOF_NOT_SET: { |
13557 | 0 | break; |
13558 | 0 | } |
13559 | 0 | } |
13560 | 0 | _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); |
13561 | 0 | } |
13562 | | |
13563 | 0 | void Statement::CopyFrom(const Statement& from) { |
13564 | | // @@protoc_insertion_point(class_specific_copy_from_start:solidity.yul.test.yul_fuzzer.Statement) |
13565 | 0 | if (&from == this) return; |
13566 | 0 | Clear(); |
13567 | 0 | MergeFrom(from); |
13568 | 0 | } |
13569 | | |
13570 | 0 | bool Statement::IsInitialized() const { |
13571 | 0 | switch (stmt_oneof_case()) { |
13572 | 0 | case kDecl: { |
13573 | 0 | if (_internal_has_decl()) { |
13574 | 0 | if (!_impl_.stmt_oneof_.decl_->IsInitialized()) return false; |
13575 | 0 | } |
13576 | 0 | break; |
13577 | 0 | } |
13578 | 0 | case kAssignment: { |
13579 | 0 | if (_internal_has_assignment()) { |
13580 | 0 | if (!_impl_.stmt_oneof_.assignment_->IsInitialized()) return false; |
13581 | 0 | } |
13582 | 0 | break; |
13583 | 0 | } |
13584 | 0 | case kIfstmt: { |
13585 | 0 | if (_internal_has_ifstmt()) { |
13586 | 0 | if (!_impl_.stmt_oneof_.ifstmt_->IsInitialized()) return false; |
13587 | 0 | } |
13588 | 0 | break; |
13589 | 0 | } |
13590 | 0 | case kStorageFunc: { |
13591 | 0 | if (_internal_has_storage_func()) { |
13592 | 0 | if (!_impl_.stmt_oneof_.storage_func_->IsInitialized()) return false; |
13593 | 0 | } |
13594 | 0 | break; |
13595 | 0 | } |
13596 | 0 | case kBlockstmt: { |
13597 | 0 | if (_internal_has_blockstmt()) { |
13598 | 0 | if (!_impl_.stmt_oneof_.blockstmt_->IsInitialized()) return false; |
13599 | 0 | } |
13600 | 0 | break; |
13601 | 0 | } |
13602 | 0 | case kForstmt: { |
13603 | 0 | if (_internal_has_forstmt()) { |
13604 | 0 | if (!_impl_.stmt_oneof_.forstmt_->IsInitialized()) return false; |
13605 | 0 | } |
13606 | 0 | break; |
13607 | 0 | } |
13608 | 0 | case kSwitchstmt: { |
13609 | 0 | if (_internal_has_switchstmt()) { |
13610 | 0 | if (!_impl_.stmt_oneof_.switchstmt_->IsInitialized()) return false; |
13611 | 0 | } |
13612 | 0 | break; |
13613 | 0 | } |
13614 | 0 | case kBreakstmt: { |
13615 | 0 | break; |
13616 | 0 | } |
13617 | 0 | case kContstmt: { |
13618 | 0 | break; |
13619 | 0 | } |
13620 | 0 | case kLogFunc: { |
13621 | 0 | if (_internal_has_log_func()) { |
13622 | 0 | if (!_impl_.stmt_oneof_.log_func_->IsInitialized()) return false; |
13623 | 0 | } |
13624 | 0 | break; |
13625 | 0 | } |
13626 | 0 | case kCopyFunc: { |
13627 | 0 | if (_internal_has_copy_func()) { |
13628 | 0 | if (!_impl_.stmt_oneof_.copy_func_->IsInitialized()) return false; |
13629 | 0 | } |
13630 | 0 | break; |
13631 | 0 | } |
13632 | 0 | case kExtcodeCopy: { |
13633 | 0 | if (_internal_has_extcode_copy()) { |
13634 | 0 | if (!_impl_.stmt_oneof_.extcode_copy_->IsInitialized()) return false; |
13635 | 0 | } |
13636 | 0 | break; |
13637 | 0 | } |
13638 | 0 | case kTerminatestmt: { |
13639 | 0 | if (_internal_has_terminatestmt()) { |
13640 | 0 | if (!_impl_.stmt_oneof_.terminatestmt_->IsInitialized()) return false; |
13641 | 0 | } |
13642 | 0 | break; |
13643 | 0 | } |
13644 | 0 | case kFunctioncall: { |
13645 | 0 | if (_internal_has_functioncall()) { |
13646 | 0 | if (!_impl_.stmt_oneof_.functioncall_->IsInitialized()) return false; |
13647 | 0 | } |
13648 | 0 | break; |
13649 | 0 | } |
13650 | 0 | case kBoundedforstmt: { |
13651 | 0 | if (_internal_has_boundedforstmt()) { |
13652 | 0 | if (!_impl_.stmt_oneof_.boundedforstmt_->IsInitialized()) return false; |
13653 | 0 | } |
13654 | 0 | break; |
13655 | 0 | } |
13656 | 0 | case kFuncdef: { |
13657 | 0 | if (_internal_has_funcdef()) { |
13658 | 0 | if (!_impl_.stmt_oneof_.funcdef_->IsInitialized()) return false; |
13659 | 0 | } |
13660 | 0 | break; |
13661 | 0 | } |
13662 | 0 | case kPop: { |
13663 | 0 | if (_internal_has_pop()) { |
13664 | 0 | if (!_impl_.stmt_oneof_.pop_->IsInitialized()) return false; |
13665 | 0 | } |
13666 | 0 | break; |
13667 | 0 | } |
13668 | 0 | case kLeave: { |
13669 | 0 | break; |
13670 | 0 | } |
13671 | 0 | case kMultidecl: { |
13672 | 0 | if (_internal_has_multidecl()) { |
13673 | 0 | if (!_impl_.stmt_oneof_.multidecl_->IsInitialized()) return false; |
13674 | 0 | } |
13675 | 0 | break; |
13676 | 0 | } |
13677 | 0 | case STMT_ONEOF_NOT_SET: { |
13678 | 0 | break; |
13679 | 0 | } |
13680 | 0 | } |
13681 | 0 | return true; |
13682 | 0 | } |
13683 | | |
13684 | 0 | void Statement::InternalSwap(Statement* other) { |
13685 | 0 | using std::swap; |
13686 | 0 | _internal_metadata_.InternalSwap(&other->_internal_metadata_); |
13687 | 0 | swap(_impl_.stmt_oneof_, other->_impl_.stmt_oneof_); |
13688 | 0 | swap(_impl_._oneof_case_[0], other->_impl_._oneof_case_[0]); |
13689 | 0 | } |
13690 | | |
13691 | 59.1M | ::PROTOBUF_NAMESPACE_ID::Metadata Statement::GetMetadata() const { |
13692 | 59.1M | return ::_pbi::AssignDescriptors( |
13693 | 59.1M | &descriptor_table_yulProto_2eproto_getter, &descriptor_table_yulProto_2eproto_once, |
13694 | 59.1M | file_level_metadata_yulProto_2eproto[34]); |
13695 | 59.1M | } |
13696 | | |
13697 | | // =================================================================== |
13698 | | |
13699 | | class Block::_Internal { |
13700 | | public: |
13701 | | }; |
13702 | | |
13703 | | Block::Block(::PROTOBUF_NAMESPACE_ID::Arena* arena, |
13704 | | bool is_message_owned) |
13705 | 1.23M | : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { |
13706 | 1.23M | SharedCtor(arena, is_message_owned); |
13707 | | // @@protoc_insertion_point(arena_constructor:solidity.yul.test.yul_fuzzer.Block) |
13708 | 1.23M | } |
13709 | | Block::Block(const Block& from) |
13710 | 0 | : ::PROTOBUF_NAMESPACE_ID::Message() { |
13711 | 0 | Block* const _this = this; (void)_this; |
13712 | 0 | new (&_impl_) Impl_{ |
13713 | 0 | decltype(_impl_.statements_){from._impl_.statements_} |
13714 | 0 | , /*decltype(_impl_._cached_size_)*/{}}; |
13715 | |
|
13716 | 0 | _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); |
13717 | | // @@protoc_insertion_point(copy_constructor:solidity.yul.test.yul_fuzzer.Block) |
13718 | 0 | } |
13719 | | |
13720 | | inline void Block::SharedCtor( |
13721 | 1.23M | ::_pb::Arena* arena, bool is_message_owned) { |
13722 | 1.23M | (void)arena; |
13723 | 1.23M | (void)is_message_owned; |
13724 | 1.23M | new (&_impl_) Impl_{ |
13725 | 1.23M | decltype(_impl_.statements_){arena} |
13726 | 1.23M | , /*decltype(_impl_._cached_size_)*/{} |
13727 | 1.23M | }; |
13728 | 1.23M | } |
13729 | | |
13730 | 1.23M | Block::~Block() { |
13731 | | // @@protoc_insertion_point(destructor:solidity.yul.test.yul_fuzzer.Block) |
13732 | 1.23M | if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { |
13733 | 0 | (void)arena; |
13734 | 0 | return; |
13735 | 0 | } |
13736 | 1.23M | SharedDtor(); |
13737 | 1.23M | } |
13738 | | |
13739 | 1.23M | inline void Block::SharedDtor() { |
13740 | 1.23M | GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); |
13741 | 1.23M | _impl_.statements_.~RepeatedPtrField(); |
13742 | 1.23M | } |
13743 | | |
13744 | 0 | void Block::SetCachedSize(int size) const { |
13745 | 0 | _impl_._cached_size_.Set(size); |
13746 | 0 | } |
13747 | | |
13748 | 424k | void Block::Clear() { |
13749 | | // @@protoc_insertion_point(message_clear_start:solidity.yul.test.yul_fuzzer.Block) |
13750 | 424k | uint32_t cached_has_bits = 0; |
13751 | | // Prevent compiler warnings about cached_has_bits being unused |
13752 | 424k | (void) cached_has_bits; |
13753 | | |
13754 | 424k | _impl_.statements_.Clear(); |
13755 | 424k | _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); |
13756 | 424k | } |
13757 | | |
13758 | 0 | const char* Block::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { |
13759 | 0 | #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure |
13760 | 0 | while (!ctx->Done(&ptr)) { |
13761 | 0 | uint32_t tag; |
13762 | 0 | ptr = ::_pbi::ReadTag(ptr, &tag); |
13763 | 0 | switch (tag >> 3) { |
13764 | | // repeated .solidity.yul.test.yul_fuzzer.Statement statements = 1; |
13765 | 0 | case 1: |
13766 | 0 | if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 10)) { |
13767 | 0 | ptr -= 1; |
13768 | 0 | do { |
13769 | 0 | ptr += 1; |
13770 | 0 | ptr = ctx->ParseMessage(_internal_add_statements(), ptr); |
13771 | 0 | CHK_(ptr); |
13772 | 0 | if (!ctx->DataAvailable(ptr)) break; |
13773 | 0 | } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<10>(ptr)); |
13774 | 0 | } else |
13775 | 0 | goto handle_unusual; |
13776 | 0 | continue; |
13777 | 0 | default: |
13778 | 0 | goto handle_unusual; |
13779 | 0 | } // switch |
13780 | 0 | handle_unusual: |
13781 | 0 | if ((tag == 0) || ((tag & 7) == 4)) { |
13782 | 0 | CHK_(ptr); |
13783 | 0 | ctx->SetLastTag(tag); |
13784 | 0 | goto message_done; |
13785 | 0 | } |
13786 | 0 | ptr = UnknownFieldParse( |
13787 | 0 | tag, |
13788 | 0 | _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), |
13789 | 0 | ptr, ctx); |
13790 | 0 | CHK_(ptr != nullptr); |
13791 | 0 | } // while |
13792 | 0 | message_done: |
13793 | 0 | return ptr; |
13794 | 0 | failure: |
13795 | 0 | ptr = nullptr; |
13796 | 0 | goto message_done; |
13797 | 0 | #undef CHK_ |
13798 | 0 | } |
13799 | | |
13800 | | uint8_t* Block::_InternalSerialize( |
13801 | 0 | uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { |
13802 | | // @@protoc_insertion_point(serialize_to_array_start:solidity.yul.test.yul_fuzzer.Block) |
13803 | 0 | uint32_t cached_has_bits = 0; |
13804 | 0 | (void) cached_has_bits; |
13805 | | |
13806 | | // repeated .solidity.yul.test.yul_fuzzer.Statement statements = 1; |
13807 | 0 | for (unsigned i = 0, |
13808 | 0 | n = static_cast<unsigned>(this->_internal_statements_size()); i < n; i++) { |
13809 | 0 | const auto& repfield = this->_internal_statements(i); |
13810 | 0 | target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: |
13811 | 0 | InternalWriteMessage(1, repfield, repfield.GetCachedSize(), target, stream); |
13812 | 0 | } |
13813 | |
|
13814 | 0 | if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { |
13815 | 0 | target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( |
13816 | 0 | _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); |
13817 | 0 | } |
13818 | | // @@protoc_insertion_point(serialize_to_array_end:solidity.yul.test.yul_fuzzer.Block) |
13819 | 0 | return target; |
13820 | 0 | } |
13821 | | |
13822 | 999k | size_t Block::ByteSizeLong() const { |
13823 | | // @@protoc_insertion_point(message_byte_size_start:solidity.yul.test.yul_fuzzer.Block) |
13824 | 999k | size_t total_size = 0; |
13825 | | |
13826 | 999k | uint32_t cached_has_bits = 0; |
13827 | | // Prevent compiler warnings about cached_has_bits being unused |
13828 | 999k | (void) cached_has_bits; |
13829 | | |
13830 | | // repeated .solidity.yul.test.yul_fuzzer.Statement statements = 1; |
13831 | 999k | total_size += 1UL * this->_internal_statements_size(); |
13832 | 2.25M | for (const auto& msg : this->_impl_.statements_) { |
13833 | 2.25M | total_size += |
13834 | 2.25M | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); |
13835 | 2.25M | } |
13836 | | |
13837 | 999k | return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); |
13838 | 999k | } |
13839 | | |
13840 | | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData Block::_class_data_ = { |
13841 | | ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, |
13842 | | Block::MergeImpl |
13843 | | }; |
13844 | 637k | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*Block::GetClassData() const { return &_class_data_; } |
13845 | | |
13846 | | |
13847 | 212k | void Block::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { |
13848 | 212k | auto* const _this = static_cast<Block*>(&to_msg); |
13849 | 212k | auto& from = static_cast<const Block&>(from_msg); |
13850 | | // @@protoc_insertion_point(class_specific_merge_from_start:solidity.yul.test.yul_fuzzer.Block) |
13851 | 212k | GOOGLE_DCHECK_NE(&from, _this); |
13852 | 212k | uint32_t cached_has_bits = 0; |
13853 | 212k | (void) cached_has_bits; |
13854 | | |
13855 | 212k | _this->_impl_.statements_.MergeFrom(from._impl_.statements_); |
13856 | 212k | _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); |
13857 | 212k | } |
13858 | | |
13859 | 0 | void Block::CopyFrom(const Block& from) { |
13860 | | // @@protoc_insertion_point(class_specific_copy_from_start:solidity.yul.test.yul_fuzzer.Block) |
13861 | 0 | if (&from == this) return; |
13862 | 0 | Clear(); |
13863 | 0 | MergeFrom(from); |
13864 | 0 | } |
13865 | | |
13866 | 0 | bool Block::IsInitialized() const { |
13867 | 0 | if (!::PROTOBUF_NAMESPACE_ID::internal::AllAreInitialized(_impl_.statements_)) |
13868 | 0 | return false; |
13869 | 0 | return true; |
13870 | 0 | } |
13871 | | |
13872 | 0 | void Block::InternalSwap(Block* other) { |
13873 | 0 | using std::swap; |
13874 | 0 | _internal_metadata_.InternalSwap(&other->_internal_metadata_); |
13875 | 0 | _impl_.statements_.InternalSwap(&other->_impl_.statements_); |
13876 | 0 | } |
13877 | | |
13878 | 32.6M | ::PROTOBUF_NAMESPACE_ID::Metadata Block::GetMetadata() const { |
13879 | 32.6M | return ::_pbi::AssignDescriptors( |
13880 | 32.6M | &descriptor_table_yulProto_2eproto_getter, &descriptor_table_yulProto_2eproto_once, |
13881 | 32.6M | file_level_metadata_yulProto_2eproto[35]); |
13882 | 32.6M | } |
13883 | | |
13884 | | // =================================================================== |
13885 | | |
13886 | | class Object::_Internal { |
13887 | | public: |
13888 | | using HasBits = decltype(std::declval<Object>()._impl_._has_bits_); |
13889 | | static const ::solidity::yul::test::yul_fuzzer::Code& code(const Object* msg); |
13890 | 0 | static void set_has_code(HasBits* has_bits) { |
13891 | 0 | (*has_bits)[0] |= 1u; |
13892 | 0 | } |
13893 | | static const ::solidity::yul::test::yul_fuzzer::Data& data(const Object* msg); |
13894 | 0 | static void set_has_data(HasBits* has_bits) { |
13895 | 0 | (*has_bits)[0] |= 2u; |
13896 | 0 | } |
13897 | 0 | static bool MissingRequiredFields(const HasBits& has_bits) { |
13898 | 0 | return ((has_bits[0] & 0x00000001) ^ 0x00000001) != 0; |
13899 | 0 | } |
13900 | | }; |
13901 | | |
13902 | | const ::solidity::yul::test::yul_fuzzer::Code& |
13903 | 0 | Object::_Internal::code(const Object* msg) { |
13904 | 0 | return *msg->_impl_.code_; |
13905 | 0 | } |
13906 | | const ::solidity::yul::test::yul_fuzzer::Data& |
13907 | 0 | Object::_Internal::data(const Object* msg) { |
13908 | 0 | return *msg->_impl_.data_; |
13909 | 0 | } |
13910 | | Object::Object(::PROTOBUF_NAMESPACE_ID::Arena* arena, |
13911 | | bool is_message_owned) |
13912 | 8.88k | : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { |
13913 | 8.88k | SharedCtor(arena, is_message_owned); |
13914 | | // @@protoc_insertion_point(arena_constructor:solidity.yul.test.yul_fuzzer.Object) |
13915 | 8.88k | } |
13916 | | Object::Object(const Object& from) |
13917 | 0 | : ::PROTOBUF_NAMESPACE_ID::Message() { |
13918 | 0 | Object* const _this = this; (void)_this; |
13919 | 0 | new (&_impl_) Impl_{ |
13920 | 0 | decltype(_impl_._has_bits_){from._impl_._has_bits_} |
13921 | 0 | , /*decltype(_impl_._cached_size_)*/{} |
13922 | 0 | , decltype(_impl_.sub_obj_){from._impl_.sub_obj_} |
13923 | 0 | , decltype(_impl_.code_){nullptr} |
13924 | 0 | , decltype(_impl_.data_){nullptr}}; |
13925 | |
|
13926 | 0 | _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); |
13927 | 0 | if (from._internal_has_code()) { |
13928 | 0 | _this->_impl_.code_ = new ::solidity::yul::test::yul_fuzzer::Code(*from._impl_.code_); |
13929 | 0 | } |
13930 | 0 | if (from._internal_has_data()) { |
13931 | 0 | _this->_impl_.data_ = new ::solidity::yul::test::yul_fuzzer::Data(*from._impl_.data_); |
13932 | 0 | } |
13933 | | // @@protoc_insertion_point(copy_constructor:solidity.yul.test.yul_fuzzer.Object) |
13934 | 0 | } |
13935 | | |
13936 | | inline void Object::SharedCtor( |
13937 | 8.88k | ::_pb::Arena* arena, bool is_message_owned) { |
13938 | 8.88k | (void)arena; |
13939 | 8.88k | (void)is_message_owned; |
13940 | 8.88k | new (&_impl_) Impl_{ |
13941 | 8.88k | decltype(_impl_._has_bits_){} |
13942 | 8.88k | , /*decltype(_impl_._cached_size_)*/{} |
13943 | 8.88k | , decltype(_impl_.sub_obj_){arena} |
13944 | 8.88k | , decltype(_impl_.code_){nullptr} |
13945 | 8.88k | , decltype(_impl_.data_){nullptr} |
13946 | 8.88k | }; |
13947 | 8.88k | } |
13948 | | |
13949 | 8.88k | Object::~Object() { |
13950 | | // @@protoc_insertion_point(destructor:solidity.yul.test.yul_fuzzer.Object) |
13951 | 8.88k | if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { |
13952 | 0 | (void)arena; |
13953 | 0 | return; |
13954 | 0 | } |
13955 | 8.88k | SharedDtor(); |
13956 | 8.88k | } |
13957 | | |
13958 | 8.88k | inline void Object::SharedDtor() { |
13959 | 8.88k | GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); |
13960 | 8.88k | _impl_.sub_obj_.~RepeatedPtrField(); |
13961 | 8.88k | if (this != internal_default_instance()) delete _impl_.code_; |
13962 | 8.88k | if (this != internal_default_instance()) delete _impl_.data_; |
13963 | 8.88k | } |
13964 | | |
13965 | 0 | void Object::SetCachedSize(int size) const { |
13966 | 0 | _impl_._cached_size_.Set(size); |
13967 | 0 | } |
13968 | | |
13969 | 0 | void Object::Clear() { |
13970 | | // @@protoc_insertion_point(message_clear_start:solidity.yul.test.yul_fuzzer.Object) |
13971 | 0 | uint32_t cached_has_bits = 0; |
13972 | | // Prevent compiler warnings about cached_has_bits being unused |
13973 | 0 | (void) cached_has_bits; |
13974 | |
|
13975 | 0 | _impl_.sub_obj_.Clear(); |
13976 | 0 | cached_has_bits = _impl_._has_bits_[0]; |
13977 | 0 | if (cached_has_bits & 0x00000003u) { |
13978 | 0 | if (cached_has_bits & 0x00000001u) { |
13979 | 0 | GOOGLE_DCHECK(_impl_.code_ != nullptr); |
13980 | 0 | _impl_.code_->Clear(); |
13981 | 0 | } |
13982 | 0 | if (cached_has_bits & 0x00000002u) { |
13983 | 0 | GOOGLE_DCHECK(_impl_.data_ != nullptr); |
13984 | 0 | _impl_.data_->Clear(); |
13985 | 0 | } |
13986 | 0 | } |
13987 | 0 | _impl_._has_bits_.Clear(); |
13988 | 0 | _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); |
13989 | 0 | } |
13990 | | |
13991 | 0 | const char* Object::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { |
13992 | 0 | #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure |
13993 | 0 | _Internal::HasBits has_bits{}; |
13994 | 0 | while (!ctx->Done(&ptr)) { |
13995 | 0 | uint32_t tag; |
13996 | 0 | ptr = ::_pbi::ReadTag(ptr, &tag); |
13997 | 0 | switch (tag >> 3) { |
13998 | | // required .solidity.yul.test.yul_fuzzer.Code code = 1; |
13999 | 0 | case 1: |
14000 | 0 | if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 10)) { |
14001 | 0 | ptr = ctx->ParseMessage(_internal_mutable_code(), ptr); |
14002 | 0 | CHK_(ptr); |
14003 | 0 | } else |
14004 | 0 | goto handle_unusual; |
14005 | 0 | continue; |
14006 | | // optional .solidity.yul.test.yul_fuzzer.Data data = 2; |
14007 | 0 | case 2: |
14008 | 0 | if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 18)) { |
14009 | 0 | ptr = ctx->ParseMessage(_internal_mutable_data(), ptr); |
14010 | 0 | CHK_(ptr); |
14011 | 0 | } else |
14012 | 0 | goto handle_unusual; |
14013 | 0 | continue; |
14014 | | // repeated .solidity.yul.test.yul_fuzzer.Object sub_obj = 3; |
14015 | 0 | case 3: |
14016 | 0 | if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 26)) { |
14017 | 0 | ptr -= 1; |
14018 | 0 | do { |
14019 | 0 | ptr += 1; |
14020 | 0 | ptr = ctx->ParseMessage(_internal_add_sub_obj(), ptr); |
14021 | 0 | CHK_(ptr); |
14022 | 0 | if (!ctx->DataAvailable(ptr)) break; |
14023 | 0 | } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<26>(ptr)); |
14024 | 0 | } else |
14025 | 0 | goto handle_unusual; |
14026 | 0 | continue; |
14027 | 0 | default: |
14028 | 0 | goto handle_unusual; |
14029 | 0 | } // switch |
14030 | 0 | handle_unusual: |
14031 | 0 | if ((tag == 0) || ((tag & 7) == 4)) { |
14032 | 0 | CHK_(ptr); |
14033 | 0 | ctx->SetLastTag(tag); |
14034 | 0 | goto message_done; |
14035 | 0 | } |
14036 | 0 | ptr = UnknownFieldParse( |
14037 | 0 | tag, |
14038 | 0 | _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), |
14039 | 0 | ptr, ctx); |
14040 | 0 | CHK_(ptr != nullptr); |
14041 | 0 | } // while |
14042 | 0 | message_done: |
14043 | 0 | _impl_._has_bits_.Or(has_bits); |
14044 | 0 | return ptr; |
14045 | 0 | failure: |
14046 | 0 | ptr = nullptr; |
14047 | 0 | goto message_done; |
14048 | 0 | #undef CHK_ |
14049 | 0 | } |
14050 | | |
14051 | | uint8_t* Object::_InternalSerialize( |
14052 | 0 | uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { |
14053 | | // @@protoc_insertion_point(serialize_to_array_start:solidity.yul.test.yul_fuzzer.Object) |
14054 | 0 | uint32_t cached_has_bits = 0; |
14055 | 0 | (void) cached_has_bits; |
14056 | |
|
14057 | 0 | cached_has_bits = _impl_._has_bits_[0]; |
14058 | | // required .solidity.yul.test.yul_fuzzer.Code code = 1; |
14059 | 0 | if (cached_has_bits & 0x00000001u) { |
14060 | 0 | target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: |
14061 | 0 | InternalWriteMessage(1, _Internal::code(this), |
14062 | 0 | _Internal::code(this).GetCachedSize(), target, stream); |
14063 | 0 | } |
14064 | | |
14065 | | // optional .solidity.yul.test.yul_fuzzer.Data data = 2; |
14066 | 0 | if (cached_has_bits & 0x00000002u) { |
14067 | 0 | target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: |
14068 | 0 | InternalWriteMessage(2, _Internal::data(this), |
14069 | 0 | _Internal::data(this).GetCachedSize(), target, stream); |
14070 | 0 | } |
14071 | | |
14072 | | // repeated .solidity.yul.test.yul_fuzzer.Object sub_obj = 3; |
14073 | 0 | for (unsigned i = 0, |
14074 | 0 | n = static_cast<unsigned>(this->_internal_sub_obj_size()); i < n; i++) { |
14075 | 0 | const auto& repfield = this->_internal_sub_obj(i); |
14076 | 0 | target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: |
14077 | 0 | InternalWriteMessage(3, repfield, repfield.GetCachedSize(), target, stream); |
14078 | 0 | } |
14079 | |
|
14080 | 0 | if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { |
14081 | 0 | target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( |
14082 | 0 | _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); |
14083 | 0 | } |
14084 | | // @@protoc_insertion_point(serialize_to_array_end:solidity.yul.test.yul_fuzzer.Object) |
14085 | 0 | return target; |
14086 | 0 | } |
14087 | | |
14088 | 5.17k | size_t Object::ByteSizeLong() const { |
14089 | | // @@protoc_insertion_point(message_byte_size_start:solidity.yul.test.yul_fuzzer.Object) |
14090 | 5.17k | size_t total_size = 0; |
14091 | | |
14092 | | // required .solidity.yul.test.yul_fuzzer.Code code = 1; |
14093 | 5.17k | if (_internal_has_code()) { |
14094 | 5.17k | total_size += 1 + |
14095 | 5.17k | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
14096 | 5.17k | *_impl_.code_); |
14097 | 5.17k | } |
14098 | 5.17k | uint32_t cached_has_bits = 0; |
14099 | | // Prevent compiler warnings about cached_has_bits being unused |
14100 | 5.17k | (void) cached_has_bits; |
14101 | | |
14102 | | // repeated .solidity.yul.test.yul_fuzzer.Object sub_obj = 3; |
14103 | 5.17k | total_size += 1UL * this->_internal_sub_obj_size(); |
14104 | 5.17k | for (const auto& msg : this->_impl_.sub_obj_) { |
14105 | 1.99k | total_size += |
14106 | 1.99k | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); |
14107 | 1.99k | } |
14108 | | |
14109 | | // optional .solidity.yul.test.yul_fuzzer.Data data = 2; |
14110 | 5.17k | cached_has_bits = _impl_._has_bits_[0]; |
14111 | 5.17k | if (cached_has_bits & 0x00000002u) { |
14112 | 1.35k | total_size += 1 + |
14113 | 1.35k | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
14114 | 1.35k | *_impl_.data_); |
14115 | 1.35k | } |
14116 | | |
14117 | 5.17k | return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); |
14118 | 5.17k | } |
14119 | | |
14120 | | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData Object::_class_data_ = { |
14121 | | ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, |
14122 | | Object::MergeImpl |
14123 | | }; |
14124 | 0 | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*Object::GetClassData() const { return &_class_data_; } |
14125 | | |
14126 | | |
14127 | 0 | void Object::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { |
14128 | 0 | auto* const _this = static_cast<Object*>(&to_msg); |
14129 | 0 | auto& from = static_cast<const Object&>(from_msg); |
14130 | | // @@protoc_insertion_point(class_specific_merge_from_start:solidity.yul.test.yul_fuzzer.Object) |
14131 | 0 | GOOGLE_DCHECK_NE(&from, _this); |
14132 | 0 | uint32_t cached_has_bits = 0; |
14133 | 0 | (void) cached_has_bits; |
14134 | |
|
14135 | 0 | _this->_impl_.sub_obj_.MergeFrom(from._impl_.sub_obj_); |
14136 | 0 | cached_has_bits = from._impl_._has_bits_[0]; |
14137 | 0 | if (cached_has_bits & 0x00000003u) { |
14138 | 0 | if (cached_has_bits & 0x00000001u) { |
14139 | 0 | _this->_internal_mutable_code()->::solidity::yul::test::yul_fuzzer::Code::MergeFrom( |
14140 | 0 | from._internal_code()); |
14141 | 0 | } |
14142 | 0 | if (cached_has_bits & 0x00000002u) { |
14143 | 0 | _this->_internal_mutable_data()->::solidity::yul::test::yul_fuzzer::Data::MergeFrom( |
14144 | 0 | from._internal_data()); |
14145 | 0 | } |
14146 | 0 | } |
14147 | 0 | _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); |
14148 | 0 | } |
14149 | | |
14150 | 0 | void Object::CopyFrom(const Object& from) { |
14151 | | // @@protoc_insertion_point(class_specific_copy_from_start:solidity.yul.test.yul_fuzzer.Object) |
14152 | 0 | if (&from == this) return; |
14153 | 0 | Clear(); |
14154 | 0 | MergeFrom(from); |
14155 | 0 | } |
14156 | | |
14157 | 0 | bool Object::IsInitialized() const { |
14158 | 0 | if (_Internal::MissingRequiredFields(_impl_._has_bits_)) return false; |
14159 | 0 | if (!::PROTOBUF_NAMESPACE_ID::internal::AllAreInitialized(_impl_.sub_obj_)) |
14160 | 0 | return false; |
14161 | 0 | if (_internal_has_code()) { |
14162 | 0 | if (!_impl_.code_->IsInitialized()) return false; |
14163 | 0 | } |
14164 | 0 | if (_internal_has_data()) { |
14165 | 0 | if (!_impl_.data_->IsInitialized()) return false; |
14166 | 0 | } |
14167 | 0 | return true; |
14168 | 0 | } |
14169 | | |
14170 | 0 | void Object::InternalSwap(Object* other) { |
14171 | 0 | using std::swap; |
14172 | 0 | _internal_metadata_.InternalSwap(&other->_internal_metadata_); |
14173 | 0 | swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); |
14174 | 0 | _impl_.sub_obj_.InternalSwap(&other->_impl_.sub_obj_); |
14175 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::memswap< |
14176 | 0 | PROTOBUF_FIELD_OFFSET(Object, _impl_.data_) |
14177 | 0 | + sizeof(Object::_impl_.data_) |
14178 | 0 | - PROTOBUF_FIELD_OFFSET(Object, _impl_.code_)>( |
14179 | 0 | reinterpret_cast<char*>(&_impl_.code_), |
14180 | 0 | reinterpret_cast<char*>(&other->_impl_.code_)); |
14181 | 0 | } |
14182 | | |
14183 | 100k | ::PROTOBUF_NAMESPACE_ID::Metadata Object::GetMetadata() const { |
14184 | 100k | return ::_pbi::AssignDescriptors( |
14185 | 100k | &descriptor_table_yulProto_2eproto_getter, &descriptor_table_yulProto_2eproto_once, |
14186 | 100k | file_level_metadata_yulProto_2eproto[36]); |
14187 | 100k | } |
14188 | | |
14189 | | // =================================================================== |
14190 | | |
14191 | | class Code::_Internal { |
14192 | | public: |
14193 | | using HasBits = decltype(std::declval<Code>()._impl_._has_bits_); |
14194 | | static const ::solidity::yul::test::yul_fuzzer::Block& block(const Code* msg); |
14195 | 0 | static void set_has_block(HasBits* has_bits) { |
14196 | 0 | (*has_bits)[0] |= 1u; |
14197 | 0 | } |
14198 | 0 | static bool MissingRequiredFields(const HasBits& has_bits) { |
14199 | 0 | return ((has_bits[0] & 0x00000001) ^ 0x00000001) != 0; |
14200 | 0 | } |
14201 | | }; |
14202 | | |
14203 | | const ::solidity::yul::test::yul_fuzzer::Block& |
14204 | 0 | Code::_Internal::block(const Code* msg) { |
14205 | 0 | return *msg->_impl_.block_; |
14206 | 0 | } |
14207 | | Code::Code(::PROTOBUF_NAMESPACE_ID::Arena* arena, |
14208 | | bool is_message_owned) |
14209 | 7.90k | : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { |
14210 | 7.90k | SharedCtor(arena, is_message_owned); |
14211 | | // @@protoc_insertion_point(arena_constructor:solidity.yul.test.yul_fuzzer.Code) |
14212 | 7.90k | } |
14213 | | Code::Code(const Code& from) |
14214 | 0 | : ::PROTOBUF_NAMESPACE_ID::Message() { |
14215 | 0 | Code* const _this = this; (void)_this; |
14216 | 0 | new (&_impl_) Impl_{ |
14217 | 0 | decltype(_impl_._has_bits_){from._impl_._has_bits_} |
14218 | 0 | , /*decltype(_impl_._cached_size_)*/{} |
14219 | 0 | , decltype(_impl_.block_){nullptr}}; |
14220 | |
|
14221 | 0 | _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); |
14222 | 0 | if (from._internal_has_block()) { |
14223 | 0 | _this->_impl_.block_ = new ::solidity::yul::test::yul_fuzzer::Block(*from._impl_.block_); |
14224 | 0 | } |
14225 | | // @@protoc_insertion_point(copy_constructor:solidity.yul.test.yul_fuzzer.Code) |
14226 | 0 | } |
14227 | | |
14228 | | inline void Code::SharedCtor( |
14229 | 7.90k | ::_pb::Arena* arena, bool is_message_owned) { |
14230 | 7.90k | (void)arena; |
14231 | 7.90k | (void)is_message_owned; |
14232 | 7.90k | new (&_impl_) Impl_{ |
14233 | 7.90k | decltype(_impl_._has_bits_){} |
14234 | 7.90k | , /*decltype(_impl_._cached_size_)*/{} |
14235 | 7.90k | , decltype(_impl_.block_){nullptr} |
14236 | 7.90k | }; |
14237 | 7.90k | } |
14238 | | |
14239 | 7.90k | Code::~Code() { |
14240 | | // @@protoc_insertion_point(destructor:solidity.yul.test.yul_fuzzer.Code) |
14241 | 7.90k | if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { |
14242 | 0 | (void)arena; |
14243 | 0 | return; |
14244 | 0 | } |
14245 | 7.90k | SharedDtor(); |
14246 | 7.90k | } |
14247 | | |
14248 | 7.90k | inline void Code::SharedDtor() { |
14249 | 7.90k | GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); |
14250 | 7.90k | if (this != internal_default_instance()) delete _impl_.block_; |
14251 | 7.90k | } |
14252 | | |
14253 | 0 | void Code::SetCachedSize(int size) const { |
14254 | 0 | _impl_._cached_size_.Set(size); |
14255 | 0 | } |
14256 | | |
14257 | 358 | void Code::Clear() { |
14258 | | // @@protoc_insertion_point(message_clear_start:solidity.yul.test.yul_fuzzer.Code) |
14259 | 358 | uint32_t cached_has_bits = 0; |
14260 | | // Prevent compiler warnings about cached_has_bits being unused |
14261 | 358 | (void) cached_has_bits; |
14262 | | |
14263 | 358 | cached_has_bits = _impl_._has_bits_[0]; |
14264 | 358 | if (cached_has_bits & 0x00000001u) { |
14265 | 0 | GOOGLE_DCHECK(_impl_.block_ != nullptr); |
14266 | 0 | _impl_.block_->Clear(); |
14267 | 0 | } |
14268 | 358 | _impl_._has_bits_.Clear(); |
14269 | 358 | _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); |
14270 | 358 | } |
14271 | | |
14272 | 0 | const char* Code::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { |
14273 | 0 | #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure |
14274 | 0 | _Internal::HasBits has_bits{}; |
14275 | 0 | while (!ctx->Done(&ptr)) { |
14276 | 0 | uint32_t tag; |
14277 | 0 | ptr = ::_pbi::ReadTag(ptr, &tag); |
14278 | 0 | switch (tag >> 3) { |
14279 | | // required .solidity.yul.test.yul_fuzzer.Block block = 1; |
14280 | 0 | case 1: |
14281 | 0 | if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 10)) { |
14282 | 0 | ptr = ctx->ParseMessage(_internal_mutable_block(), ptr); |
14283 | 0 | CHK_(ptr); |
14284 | 0 | } else |
14285 | 0 | goto handle_unusual; |
14286 | 0 | continue; |
14287 | 0 | default: |
14288 | 0 | goto handle_unusual; |
14289 | 0 | } // switch |
14290 | 0 | handle_unusual: |
14291 | 0 | if ((tag == 0) || ((tag & 7) == 4)) { |
14292 | 0 | CHK_(ptr); |
14293 | 0 | ctx->SetLastTag(tag); |
14294 | 0 | goto message_done; |
14295 | 0 | } |
14296 | 0 | ptr = UnknownFieldParse( |
14297 | 0 | tag, |
14298 | 0 | _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), |
14299 | 0 | ptr, ctx); |
14300 | 0 | CHK_(ptr != nullptr); |
14301 | 0 | } // while |
14302 | 0 | message_done: |
14303 | 0 | _impl_._has_bits_.Or(has_bits); |
14304 | 0 | return ptr; |
14305 | 0 | failure: |
14306 | 0 | ptr = nullptr; |
14307 | 0 | goto message_done; |
14308 | 0 | #undef CHK_ |
14309 | 0 | } |
14310 | | |
14311 | | uint8_t* Code::_InternalSerialize( |
14312 | 0 | uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { |
14313 | | // @@protoc_insertion_point(serialize_to_array_start:solidity.yul.test.yul_fuzzer.Code) |
14314 | 0 | uint32_t cached_has_bits = 0; |
14315 | 0 | (void) cached_has_bits; |
14316 | |
|
14317 | 0 | cached_has_bits = _impl_._has_bits_[0]; |
14318 | | // required .solidity.yul.test.yul_fuzzer.Block block = 1; |
14319 | 0 | if (cached_has_bits & 0x00000001u) { |
14320 | 0 | target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: |
14321 | 0 | InternalWriteMessage(1, _Internal::block(this), |
14322 | 0 | _Internal::block(this).GetCachedSize(), target, stream); |
14323 | 0 | } |
14324 | |
|
14325 | 0 | if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { |
14326 | 0 | target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( |
14327 | 0 | _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); |
14328 | 0 | } |
14329 | | // @@protoc_insertion_point(serialize_to_array_end:solidity.yul.test.yul_fuzzer.Code) |
14330 | 0 | return target; |
14331 | 0 | } |
14332 | | |
14333 | 5.17k | size_t Code::ByteSizeLong() const { |
14334 | | // @@protoc_insertion_point(message_byte_size_start:solidity.yul.test.yul_fuzzer.Code) |
14335 | 5.17k | size_t total_size = 0; |
14336 | | |
14337 | | // required .solidity.yul.test.yul_fuzzer.Block block = 1; |
14338 | 5.17k | if (_internal_has_block()) { |
14339 | 5.17k | total_size += 1 + |
14340 | 5.17k | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
14341 | 5.17k | *_impl_.block_); |
14342 | 5.17k | } |
14343 | 5.17k | uint32_t cached_has_bits = 0; |
14344 | | // Prevent compiler warnings about cached_has_bits being unused |
14345 | 5.17k | (void) cached_has_bits; |
14346 | | |
14347 | 5.17k | return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); |
14348 | 5.17k | } |
14349 | | |
14350 | | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData Code::_class_data_ = { |
14351 | | ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, |
14352 | | Code::MergeImpl |
14353 | | }; |
14354 | 537 | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*Code::GetClassData() const { return &_class_data_; } |
14355 | | |
14356 | | |
14357 | 179 | void Code::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { |
14358 | 179 | auto* const _this = static_cast<Code*>(&to_msg); |
14359 | 179 | auto& from = static_cast<const Code&>(from_msg); |
14360 | | // @@protoc_insertion_point(class_specific_merge_from_start:solidity.yul.test.yul_fuzzer.Code) |
14361 | 179 | GOOGLE_DCHECK_NE(&from, _this); |
14362 | 179 | uint32_t cached_has_bits = 0; |
14363 | 179 | (void) cached_has_bits; |
14364 | | |
14365 | 179 | if (from._internal_has_block()) { |
14366 | 0 | _this->_internal_mutable_block()->::solidity::yul::test::yul_fuzzer::Block::MergeFrom( |
14367 | 0 | from._internal_block()); |
14368 | 0 | } |
14369 | 179 | _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); |
14370 | 179 | } |
14371 | | |
14372 | 0 | void Code::CopyFrom(const Code& from) { |
14373 | | // @@protoc_insertion_point(class_specific_copy_from_start:solidity.yul.test.yul_fuzzer.Code) |
14374 | 0 | if (&from == this) return; |
14375 | 0 | Clear(); |
14376 | 0 | MergeFrom(from); |
14377 | 0 | } |
14378 | | |
14379 | 0 | bool Code::IsInitialized() const { |
14380 | 0 | if (_Internal::MissingRequiredFields(_impl_._has_bits_)) return false; |
14381 | 0 | if (_internal_has_block()) { |
14382 | 0 | if (!_impl_.block_->IsInitialized()) return false; |
14383 | 0 | } |
14384 | 0 | return true; |
14385 | 0 | } |
14386 | | |
14387 | 0 | void Code::InternalSwap(Code* other) { |
14388 | 0 | using std::swap; |
14389 | 0 | _internal_metadata_.InternalSwap(&other->_internal_metadata_); |
14390 | 0 | swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); |
14391 | 0 | swap(_impl_.block_, other->_impl_.block_); |
14392 | 0 | } |
14393 | | |
14394 | 89.0k | ::PROTOBUF_NAMESPACE_ID::Metadata Code::GetMetadata() const { |
14395 | 89.0k | return ::_pbi::AssignDescriptors( |
14396 | 89.0k | &descriptor_table_yulProto_2eproto_getter, &descriptor_table_yulProto_2eproto_once, |
14397 | 89.0k | file_level_metadata_yulProto_2eproto[37]); |
14398 | 89.0k | } |
14399 | | |
14400 | | // =================================================================== |
14401 | | |
14402 | | class Data::_Internal { |
14403 | | public: |
14404 | | using HasBits = decltype(std::declval<Data>()._impl_._has_bits_); |
14405 | 0 | static void set_has_hex(HasBits* has_bits) { |
14406 | 0 | (*has_bits)[0] |= 1u; |
14407 | 0 | } |
14408 | 0 | static bool MissingRequiredFields(const HasBits& has_bits) { |
14409 | 0 | return ((has_bits[0] & 0x00000001) ^ 0x00000001) != 0; |
14410 | 0 | } |
14411 | | }; |
14412 | | |
14413 | | Data::Data(::PROTOBUF_NAMESPACE_ID::Arena* arena, |
14414 | | bool is_message_owned) |
14415 | 1.65k | : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { |
14416 | 1.65k | SharedCtor(arena, is_message_owned); |
14417 | | // @@protoc_insertion_point(arena_constructor:solidity.yul.test.yul_fuzzer.Data) |
14418 | 1.65k | } |
14419 | | Data::Data(const Data& from) |
14420 | 0 | : ::PROTOBUF_NAMESPACE_ID::Message() { |
14421 | 0 | Data* const _this = this; (void)_this; |
14422 | 0 | new (&_impl_) Impl_{ |
14423 | 0 | decltype(_impl_._has_bits_){from._impl_._has_bits_} |
14424 | 0 | , /*decltype(_impl_._cached_size_)*/{} |
14425 | 0 | , decltype(_impl_.hex_){}}; |
14426 | |
|
14427 | 0 | _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); |
14428 | 0 | _impl_.hex_.InitDefault(); |
14429 | | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
14430 | | _impl_.hex_.Set("", GetArenaForAllocation()); |
14431 | | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
14432 | 0 | if (from._internal_has_hex()) { |
14433 | 0 | _this->_impl_.hex_.Set(from._internal_hex(), |
14434 | 0 | _this->GetArenaForAllocation()); |
14435 | 0 | } |
14436 | | // @@protoc_insertion_point(copy_constructor:solidity.yul.test.yul_fuzzer.Data) |
14437 | 0 | } |
14438 | | |
14439 | | inline void Data::SharedCtor( |
14440 | 1.65k | ::_pb::Arena* arena, bool is_message_owned) { |
14441 | 1.65k | (void)arena; |
14442 | 1.65k | (void)is_message_owned; |
14443 | 1.65k | new (&_impl_) Impl_{ |
14444 | 1.65k | decltype(_impl_._has_bits_){} |
14445 | 1.65k | , /*decltype(_impl_._cached_size_)*/{} |
14446 | 1.65k | , decltype(_impl_.hex_){} |
14447 | 1.65k | }; |
14448 | 1.65k | _impl_.hex_.InitDefault(); |
14449 | | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
14450 | | _impl_.hex_.Set("", GetArenaForAllocation()); |
14451 | | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
14452 | 1.65k | } |
14453 | | |
14454 | 1.65k | Data::~Data() { |
14455 | | // @@protoc_insertion_point(destructor:solidity.yul.test.yul_fuzzer.Data) |
14456 | 1.65k | if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { |
14457 | 0 | (void)arena; |
14458 | 0 | return; |
14459 | 0 | } |
14460 | 1.65k | SharedDtor(); |
14461 | 1.65k | } |
14462 | | |
14463 | 1.65k | inline void Data::SharedDtor() { |
14464 | 1.65k | GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); |
14465 | 1.65k | _impl_.hex_.Destroy(); |
14466 | 1.65k | } |
14467 | | |
14468 | 0 | void Data::SetCachedSize(int size) const { |
14469 | 0 | _impl_._cached_size_.Set(size); |
14470 | 0 | } |
14471 | | |
14472 | 0 | void Data::Clear() { |
14473 | | // @@protoc_insertion_point(message_clear_start:solidity.yul.test.yul_fuzzer.Data) |
14474 | 0 | uint32_t cached_has_bits = 0; |
14475 | | // Prevent compiler warnings about cached_has_bits being unused |
14476 | 0 | (void) cached_has_bits; |
14477 | |
|
14478 | 0 | cached_has_bits = _impl_._has_bits_[0]; |
14479 | 0 | if (cached_has_bits & 0x00000001u) { |
14480 | 0 | _impl_.hex_.ClearNonDefaultToEmpty(); |
14481 | 0 | } |
14482 | 0 | _impl_._has_bits_.Clear(); |
14483 | 0 | _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); |
14484 | 0 | } |
14485 | | |
14486 | 0 | const char* Data::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { |
14487 | 0 | #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure |
14488 | 0 | _Internal::HasBits has_bits{}; |
14489 | 0 | while (!ctx->Done(&ptr)) { |
14490 | 0 | uint32_t tag; |
14491 | 0 | ptr = ::_pbi::ReadTag(ptr, &tag); |
14492 | 0 | switch (tag >> 3) { |
14493 | | // required string hex = 1; |
14494 | 0 | case 1: |
14495 | 0 | if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 10)) { |
14496 | 0 | auto str = _internal_mutable_hex(); |
14497 | 0 | ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); |
14498 | 0 | CHK_(ptr); |
14499 | | #ifndef NDEBUG |
14500 | | ::_pbi::VerifyUTF8(str, "solidity.yul.test.yul_fuzzer.Data.hex"); |
14501 | | #endif // !NDEBUG |
14502 | 0 | } else |
14503 | 0 | goto handle_unusual; |
14504 | 0 | continue; |
14505 | 0 | default: |
14506 | 0 | goto handle_unusual; |
14507 | 0 | } // switch |
14508 | 0 | handle_unusual: |
14509 | 0 | if ((tag == 0) || ((tag & 7) == 4)) { |
14510 | 0 | CHK_(ptr); |
14511 | 0 | ctx->SetLastTag(tag); |
14512 | 0 | goto message_done; |
14513 | 0 | } |
14514 | 0 | ptr = UnknownFieldParse( |
14515 | 0 | tag, |
14516 | 0 | _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), |
14517 | 0 | ptr, ctx); |
14518 | 0 | CHK_(ptr != nullptr); |
14519 | 0 | } // while |
14520 | 0 | message_done: |
14521 | 0 | _impl_._has_bits_.Or(has_bits); |
14522 | 0 | return ptr; |
14523 | 0 | failure: |
14524 | 0 | ptr = nullptr; |
14525 | 0 | goto message_done; |
14526 | 0 | #undef CHK_ |
14527 | 0 | } |
14528 | | |
14529 | | uint8_t* Data::_InternalSerialize( |
14530 | 0 | uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { |
14531 | | // @@protoc_insertion_point(serialize_to_array_start:solidity.yul.test.yul_fuzzer.Data) |
14532 | 0 | uint32_t cached_has_bits = 0; |
14533 | 0 | (void) cached_has_bits; |
14534 | |
|
14535 | 0 | cached_has_bits = _impl_._has_bits_[0]; |
14536 | | // required string hex = 1; |
14537 | 0 | if (cached_has_bits & 0x00000001u) { |
14538 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( |
14539 | 0 | this->_internal_hex().data(), static_cast<int>(this->_internal_hex().length()), |
14540 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, |
14541 | 0 | "solidity.yul.test.yul_fuzzer.Data.hex"); |
14542 | 0 | target = stream->WriteStringMaybeAliased( |
14543 | 0 | 1, this->_internal_hex(), target); |
14544 | 0 | } |
14545 | |
|
14546 | 0 | if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { |
14547 | 0 | target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( |
14548 | 0 | _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); |
14549 | 0 | } |
14550 | | // @@protoc_insertion_point(serialize_to_array_end:solidity.yul.test.yul_fuzzer.Data) |
14551 | 0 | return target; |
14552 | 0 | } |
14553 | | |
14554 | 1.35k | size_t Data::ByteSizeLong() const { |
14555 | | // @@protoc_insertion_point(message_byte_size_start:solidity.yul.test.yul_fuzzer.Data) |
14556 | 1.35k | size_t total_size = 0; |
14557 | | |
14558 | | // required string hex = 1; |
14559 | 1.35k | if (_internal_has_hex()) { |
14560 | 1.35k | total_size += 1 + |
14561 | 1.35k | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( |
14562 | 1.35k | this->_internal_hex()); |
14563 | 1.35k | } |
14564 | 1.35k | uint32_t cached_has_bits = 0; |
14565 | | // Prevent compiler warnings about cached_has_bits being unused |
14566 | 1.35k | (void) cached_has_bits; |
14567 | | |
14568 | 1.35k | return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); |
14569 | 1.35k | } |
14570 | | |
14571 | | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData Data::_class_data_ = { |
14572 | | ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, |
14573 | | Data::MergeImpl |
14574 | | }; |
14575 | 0 | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*Data::GetClassData() const { return &_class_data_; } |
14576 | | |
14577 | | |
14578 | 0 | void Data::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { |
14579 | 0 | auto* const _this = static_cast<Data*>(&to_msg); |
14580 | 0 | auto& from = static_cast<const Data&>(from_msg); |
14581 | | // @@protoc_insertion_point(class_specific_merge_from_start:solidity.yul.test.yul_fuzzer.Data) |
14582 | 0 | GOOGLE_DCHECK_NE(&from, _this); |
14583 | 0 | uint32_t cached_has_bits = 0; |
14584 | 0 | (void) cached_has_bits; |
14585 | |
|
14586 | 0 | if (from._internal_has_hex()) { |
14587 | 0 | _this->_internal_set_hex(from._internal_hex()); |
14588 | 0 | } |
14589 | 0 | _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); |
14590 | 0 | } |
14591 | | |
14592 | 0 | void Data::CopyFrom(const Data& from) { |
14593 | | // @@protoc_insertion_point(class_specific_copy_from_start:solidity.yul.test.yul_fuzzer.Data) |
14594 | 0 | if (&from == this) return; |
14595 | 0 | Clear(); |
14596 | 0 | MergeFrom(from); |
14597 | 0 | } |
14598 | | |
14599 | 0 | bool Data::IsInitialized() const { |
14600 | 0 | if (_Internal::MissingRequiredFields(_impl_._has_bits_)) return false; |
14601 | 0 | return true; |
14602 | 0 | } |
14603 | | |
14604 | 0 | void Data::InternalSwap(Data* other) { |
14605 | 0 | using std::swap; |
14606 | 0 | auto* lhs_arena = GetArenaForAllocation(); |
14607 | 0 | auto* rhs_arena = other->GetArenaForAllocation(); |
14608 | 0 | _internal_metadata_.InternalSwap(&other->_internal_metadata_); |
14609 | 0 | swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); |
14610 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( |
14611 | 0 | &_impl_.hex_, lhs_arena, |
14612 | 0 | &other->_impl_.hex_, rhs_arena |
14613 | 0 | ); |
14614 | 0 | } |
14615 | | |
14616 | 18.6k | ::PROTOBUF_NAMESPACE_ID::Metadata Data::GetMetadata() const { |
14617 | 18.6k | return ::_pbi::AssignDescriptors( |
14618 | 18.6k | &descriptor_table_yulProto_2eproto_getter, &descriptor_table_yulProto_2eproto_once, |
14619 | 18.6k | file_level_metadata_yulProto_2eproto[38]); |
14620 | 18.6k | } |
14621 | | |
14622 | | // =================================================================== |
14623 | | |
14624 | | class Program::_Internal { |
14625 | | public: |
14626 | | using HasBits = decltype(std::declval<Program>()._impl_._has_bits_); |
14627 | | static const ::solidity::yul::test::yul_fuzzer::Block& block(const Program* msg); |
14628 | | static const ::solidity::yul::test::yul_fuzzer::Object& obj(const Program* msg); |
14629 | 0 | static void set_has_ver(HasBits* has_bits) { |
14630 | 0 | (*has_bits)[0] |= 1u; |
14631 | 0 | } |
14632 | 0 | static void set_has_step(HasBits* has_bits) { |
14633 | 0 | (*has_bits)[0] |= 2u; |
14634 | 0 | } |
14635 | 0 | static bool MissingRequiredFields(const HasBits& has_bits) { |
14636 | 0 | return ((has_bits[0] & 0x00000003) ^ 0x00000003) != 0; |
14637 | 0 | } |
14638 | | }; |
14639 | | |
14640 | | const ::solidity::yul::test::yul_fuzzer::Block& |
14641 | 0 | Program::_Internal::block(const Program* msg) { |
14642 | 0 | return *msg->_impl_.program_oneof_.block_; |
14643 | 0 | } |
14644 | | const ::solidity::yul::test::yul_fuzzer::Object& |
14645 | 0 | Program::_Internal::obj(const Program* msg) { |
14646 | 0 | return *msg->_impl_.program_oneof_.obj_; |
14647 | 0 | } |
14648 | 15 | void Program::set_allocated_block(::solidity::yul::test::yul_fuzzer::Block* block) { |
14649 | 15 | ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); |
14650 | 15 | clear_program_oneof(); |
14651 | 15 | if (block) { |
14652 | 15 | ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = |
14653 | 15 | ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(block); |
14654 | 15 | if (message_arena != submessage_arena) { |
14655 | 0 | block = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( |
14656 | 0 | message_arena, block, submessage_arena); |
14657 | 0 | } |
14658 | 15 | set_has_block(); |
14659 | 15 | _impl_.program_oneof_.block_ = block; |
14660 | 15 | } |
14661 | | // @@protoc_insertion_point(field_set_allocated:solidity.yul.test.yul_fuzzer.Program.block) |
14662 | 15 | } |
14663 | 0 | void Program::set_allocated_obj(::solidity::yul::test::yul_fuzzer::Object* obj) { |
14664 | 0 | ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); |
14665 | 0 | clear_program_oneof(); |
14666 | 0 | if (obj) { |
14667 | 0 | ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = |
14668 | 0 | ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(obj); |
14669 | 0 | if (message_arena != submessage_arena) { |
14670 | 0 | obj = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( |
14671 | 0 | message_arena, obj, submessage_arena); |
14672 | 0 | } |
14673 | 0 | set_has_obj(); |
14674 | 0 | _impl_.program_oneof_.obj_ = obj; |
14675 | 0 | } |
14676 | | // @@protoc_insertion_point(field_set_allocated:solidity.yul.test.yul_fuzzer.Program.obj) |
14677 | 0 | } |
14678 | | Program::Program(::PROTOBUF_NAMESPACE_ID::Arena* arena, |
14679 | | bool is_message_owned) |
14680 | 51.0k | : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { |
14681 | 51.0k | SharedCtor(arena, is_message_owned); |
14682 | | // @@protoc_insertion_point(arena_constructor:solidity.yul.test.yul_fuzzer.Program) |
14683 | 51.0k | } |
14684 | | Program::Program(const Program& from) |
14685 | 0 | : ::PROTOBUF_NAMESPACE_ID::Message() { |
14686 | 0 | Program* const _this = this; (void)_this; |
14687 | 0 | new (&_impl_) Impl_{ |
14688 | 0 | decltype(_impl_._has_bits_){from._impl_._has_bits_} |
14689 | 0 | , /*decltype(_impl_._cached_size_)*/{} |
14690 | 0 | , decltype(_impl_.ver_){} |
14691 | 0 | , decltype(_impl_.step_){} |
14692 | 0 | , decltype(_impl_.program_oneof_){} |
14693 | 0 | , /*decltype(_impl_._oneof_case_)*/{}}; |
14694 | |
|
14695 | 0 | _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); |
14696 | 0 | ::memcpy(&_impl_.ver_, &from._impl_.ver_, |
14697 | 0 | static_cast<size_t>(reinterpret_cast<char*>(&_impl_.step_) - |
14698 | 0 | reinterpret_cast<char*>(&_impl_.ver_)) + sizeof(_impl_.step_)); |
14699 | 0 | clear_has_program_oneof(); |
14700 | 0 | switch (from.program_oneof_case()) { |
14701 | 0 | case kBlock: { |
14702 | 0 | _this->_internal_mutable_block()->::solidity::yul::test::yul_fuzzer::Block::MergeFrom( |
14703 | 0 | from._internal_block()); |
14704 | 0 | break; |
14705 | 0 | } |
14706 | 0 | case kObj: { |
14707 | 0 | _this->_internal_mutable_obj()->::solidity::yul::test::yul_fuzzer::Object::MergeFrom( |
14708 | 0 | from._internal_obj()); |
14709 | 0 | break; |
14710 | 0 | } |
14711 | 0 | case PROGRAM_ONEOF_NOT_SET: { |
14712 | 0 | break; |
14713 | 0 | } |
14714 | 0 | } |
14715 | | // @@protoc_insertion_point(copy_constructor:solidity.yul.test.yul_fuzzer.Program) |
14716 | 0 | } |
14717 | | |
14718 | | inline void Program::SharedCtor( |
14719 | 51.0k | ::_pb::Arena* arena, bool is_message_owned) { |
14720 | 51.0k | (void)arena; |
14721 | 51.0k | (void)is_message_owned; |
14722 | 51.0k | new (&_impl_) Impl_{ |
14723 | 51.0k | decltype(_impl_._has_bits_){} |
14724 | 51.0k | , /*decltype(_impl_._cached_size_)*/{} |
14725 | 51.0k | , decltype(_impl_.ver_){0} |
14726 | 51.0k | , decltype(_impl_.step_){0u} |
14727 | 51.0k | , decltype(_impl_.program_oneof_){} |
14728 | 51.0k | , /*decltype(_impl_._oneof_case_)*/{} |
14729 | 51.0k | }; |
14730 | 51.0k | clear_has_program_oneof(); |
14731 | 51.0k | } |
14732 | | |
14733 | 51.0k | Program::~Program() { |
14734 | | // @@protoc_insertion_point(destructor:solidity.yul.test.yul_fuzzer.Program) |
14735 | 51.0k | if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { |
14736 | 0 | (void)arena; |
14737 | 0 | return; |
14738 | 0 | } |
14739 | 51.0k | SharedDtor(); |
14740 | 51.0k | } |
14741 | | |
14742 | 51.0k | inline void Program::SharedDtor() { |
14743 | 51.0k | GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); |
14744 | 51.0k | if (has_program_oneof()) { |
14745 | 49.6k | clear_program_oneof(); |
14746 | 49.6k | } |
14747 | 51.0k | } |
14748 | | |
14749 | 0 | void Program::SetCachedSize(int size) const { |
14750 | 0 | _impl_._cached_size_.Set(size); |
14751 | 0 | } |
14752 | | |
14753 | 153k | void Program::clear_program_oneof() { |
14754 | | // @@protoc_insertion_point(one_of_clear_start:solidity.yul.test.yul_fuzzer.Program) |
14755 | 153k | switch (program_oneof_case()) { |
14756 | 47.5k | case kBlock: { |
14757 | 47.5k | if (GetArenaForAllocation() == nullptr) { |
14758 | 47.5k | delete _impl_.program_oneof_.block_; |
14759 | 47.5k | } |
14760 | 47.5k | break; |
14761 | 0 | } |
14762 | 3.36k | case kObj: { |
14763 | 3.36k | if (GetArenaForAllocation() == nullptr) { |
14764 | 3.36k | delete _impl_.program_oneof_.obj_; |
14765 | 3.36k | } |
14766 | 3.36k | break; |
14767 | 0 | } |
14768 | 102k | case PROGRAM_ONEOF_NOT_SET: { |
14769 | 102k | break; |
14770 | 0 | } |
14771 | 153k | } |
14772 | 153k | _impl_._oneof_case_[0] = PROGRAM_ONEOF_NOT_SET; |
14773 | 153k | } |
14774 | | |
14775 | | |
14776 | 103k | void Program::Clear() { |
14777 | | // @@protoc_insertion_point(message_clear_start:solidity.yul.test.yul_fuzzer.Program) |
14778 | 103k | uint32_t cached_has_bits = 0; |
14779 | | // Prevent compiler warnings about cached_has_bits being unused |
14780 | 103k | (void) cached_has_bits; |
14781 | | |
14782 | 103k | cached_has_bits = _impl_._has_bits_[0]; |
14783 | 103k | if (cached_has_bits & 0x00000003u) { |
14784 | 8 | ::memset(&_impl_.ver_, 0, static_cast<size_t>( |
14785 | 8 | reinterpret_cast<char*>(&_impl_.step_) - |
14786 | 8 | reinterpret_cast<char*>(&_impl_.ver_)) + sizeof(_impl_.step_)); |
14787 | 8 | } |
14788 | 103k | clear_program_oneof(); |
14789 | 103k | _impl_._has_bits_.Clear(); |
14790 | 103k | _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); |
14791 | 103k | } |
14792 | | |
14793 | 0 | const char* Program::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { |
14794 | 0 | #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure |
14795 | 0 | _Internal::HasBits has_bits{}; |
14796 | 0 | while (!ctx->Done(&ptr)) { |
14797 | 0 | uint32_t tag; |
14798 | 0 | ptr = ::_pbi::ReadTag(ptr, &tag); |
14799 | 0 | switch (tag >> 3) { |
14800 | | // .solidity.yul.test.yul_fuzzer.Block block = 1; |
14801 | 0 | case 1: |
14802 | 0 | if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 10)) { |
14803 | 0 | ptr = ctx->ParseMessage(_internal_mutable_block(), ptr); |
14804 | 0 | CHK_(ptr); |
14805 | 0 | } else |
14806 | 0 | goto handle_unusual; |
14807 | 0 | continue; |
14808 | | // .solidity.yul.test.yul_fuzzer.Object obj = 2; |
14809 | 0 | case 2: |
14810 | 0 | if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 18)) { |
14811 | 0 | ptr = ctx->ParseMessage(_internal_mutable_obj(), ptr); |
14812 | 0 | CHK_(ptr); |
14813 | 0 | } else |
14814 | 0 | goto handle_unusual; |
14815 | 0 | continue; |
14816 | | // required .solidity.yul.test.yul_fuzzer.Program.Version ver = 3; |
14817 | 0 | case 3: |
14818 | 0 | if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 24)) { |
14819 | 0 | uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); |
14820 | 0 | CHK_(ptr); |
14821 | 0 | if (PROTOBUF_PREDICT_TRUE(::solidity::yul::test::yul_fuzzer::Program_Version_IsValid(val))) { |
14822 | 0 | _internal_set_ver(static_cast<::solidity::yul::test::yul_fuzzer::Program_Version>(val)); |
14823 | 0 | } else { |
14824 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::WriteVarint(3, val, mutable_unknown_fields()); |
14825 | 0 | } |
14826 | 0 | } else |
14827 | 0 | goto handle_unusual; |
14828 | 0 | continue; |
14829 | | // required uint32 step = 4; |
14830 | 0 | case 4: |
14831 | 0 | if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 32)) { |
14832 | 0 | _Internal::set_has_step(&has_bits); |
14833 | 0 | _impl_.step_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); |
14834 | 0 | CHK_(ptr); |
14835 | 0 | } else |
14836 | 0 | goto handle_unusual; |
14837 | 0 | continue; |
14838 | 0 | default: |
14839 | 0 | goto handle_unusual; |
14840 | 0 | } // switch |
14841 | 0 | handle_unusual: |
14842 | 0 | if ((tag == 0) || ((tag & 7) == 4)) { |
14843 | 0 | CHK_(ptr); |
14844 | 0 | ctx->SetLastTag(tag); |
14845 | 0 | goto message_done; |
14846 | 0 | } |
14847 | 0 | ptr = UnknownFieldParse( |
14848 | 0 | tag, |
14849 | 0 | _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), |
14850 | 0 | ptr, ctx); |
14851 | 0 | CHK_(ptr != nullptr); |
14852 | 0 | } // while |
14853 | 0 | message_done: |
14854 | 0 | _impl_._has_bits_.Or(has_bits); |
14855 | 0 | return ptr; |
14856 | 0 | failure: |
14857 | 0 | ptr = nullptr; |
14858 | 0 | goto message_done; |
14859 | 0 | #undef CHK_ |
14860 | 0 | } |
14861 | | |
14862 | | uint8_t* Program::_InternalSerialize( |
14863 | 0 | uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { |
14864 | | // @@protoc_insertion_point(serialize_to_array_start:solidity.yul.test.yul_fuzzer.Program) |
14865 | 0 | uint32_t cached_has_bits = 0; |
14866 | 0 | (void) cached_has_bits; |
14867 | |
|
14868 | 0 | switch (program_oneof_case()) { |
14869 | 0 | case kBlock: { |
14870 | 0 | target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: |
14871 | 0 | InternalWriteMessage(1, _Internal::block(this), |
14872 | 0 | _Internal::block(this).GetCachedSize(), target, stream); |
14873 | 0 | break; |
14874 | 0 | } |
14875 | 0 | case kObj: { |
14876 | 0 | target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: |
14877 | 0 | InternalWriteMessage(2, _Internal::obj(this), |
14878 | 0 | _Internal::obj(this).GetCachedSize(), target, stream); |
14879 | 0 | break; |
14880 | 0 | } |
14881 | 0 | default: ; |
14882 | 0 | } |
14883 | 0 | cached_has_bits = _impl_._has_bits_[0]; |
14884 | | // required .solidity.yul.test.yul_fuzzer.Program.Version ver = 3; |
14885 | 0 | if (cached_has_bits & 0x00000001u) { |
14886 | 0 | target = stream->EnsureSpace(target); |
14887 | 0 | target = ::_pbi::WireFormatLite::WriteEnumToArray( |
14888 | 0 | 3, this->_internal_ver(), target); |
14889 | 0 | } |
14890 | | |
14891 | | // required uint32 step = 4; |
14892 | 0 | if (cached_has_bits & 0x00000002u) { |
14893 | 0 | target = stream->EnsureSpace(target); |
14894 | 0 | target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_step(), target); |
14895 | 0 | } |
14896 | |
|
14897 | 0 | if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { |
14898 | 0 | target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( |
14899 | 0 | _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); |
14900 | 0 | } |
14901 | | // @@protoc_insertion_point(serialize_to_array_end:solidity.yul.test.yul_fuzzer.Program) |
14902 | 0 | return target; |
14903 | 0 | } |
14904 | | |
14905 | 0 | size_t Program::RequiredFieldsByteSizeFallback() const { |
14906 | | // @@protoc_insertion_point(required_fields_byte_size_fallback_start:solidity.yul.test.yul_fuzzer.Program) |
14907 | 0 | size_t total_size = 0; |
14908 | |
|
14909 | 0 | if (_internal_has_ver()) { |
14910 | | // required .solidity.yul.test.yul_fuzzer.Program.Version ver = 3; |
14911 | 0 | total_size += 1 + |
14912 | 0 | ::_pbi::WireFormatLite::EnumSize(this->_internal_ver()); |
14913 | 0 | } |
14914 | |
|
14915 | 0 | if (_internal_has_step()) { |
14916 | | // required uint32 step = 4; |
14917 | 0 | total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_step()); |
14918 | 0 | } |
14919 | |
|
14920 | 0 | return total_size; |
14921 | 0 | } |
14922 | 49.6k | size_t Program::ByteSizeLong() const { |
14923 | | // @@protoc_insertion_point(message_byte_size_start:solidity.yul.test.yul_fuzzer.Program) |
14924 | 49.6k | size_t total_size = 0; |
14925 | | |
14926 | 49.6k | if (((_impl_._has_bits_[0] & 0x00000003) ^ 0x00000003) == 0) { // All required fields are present. |
14927 | | // required .solidity.yul.test.yul_fuzzer.Program.Version ver = 3; |
14928 | 49.6k | total_size += 1 + |
14929 | 49.6k | ::_pbi::WireFormatLite::EnumSize(this->_internal_ver()); |
14930 | | |
14931 | | // required uint32 step = 4; |
14932 | 49.6k | total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_step()); |
14933 | | |
14934 | 49.6k | } else { |
14935 | 0 | total_size += RequiredFieldsByteSizeFallback(); |
14936 | 0 | } |
14937 | 49.6k | uint32_t cached_has_bits = 0; |
14938 | | // Prevent compiler warnings about cached_has_bits being unused |
14939 | 49.6k | (void) cached_has_bits; |
14940 | | |
14941 | 49.6k | switch (program_oneof_case()) { |
14942 | | // .solidity.yul.test.yul_fuzzer.Block block = 1; |
14943 | 46.3k | case kBlock: { |
14944 | 46.3k | total_size += 1 + |
14945 | 46.3k | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
14946 | 46.3k | *_impl_.program_oneof_.block_); |
14947 | 46.3k | break; |
14948 | 0 | } |
14949 | | // .solidity.yul.test.yul_fuzzer.Object obj = 2; |
14950 | 3.18k | case kObj: { |
14951 | 3.18k | total_size += 1 + |
14952 | 3.18k | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
14953 | 3.18k | *_impl_.program_oneof_.obj_); |
14954 | 3.18k | break; |
14955 | 0 | } |
14956 | 63 | case PROGRAM_ONEOF_NOT_SET: { |
14957 | 63 | break; |
14958 | 0 | } |
14959 | 49.6k | } |
14960 | 49.6k | return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); |
14961 | 49.6k | } |
14962 | | |
14963 | | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData Program::_class_data_ = { |
14964 | | ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, |
14965 | | Program::MergeImpl |
14966 | | }; |
14967 | 0 | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*Program::GetClassData() const { return &_class_data_; } |
14968 | | |
14969 | | |
14970 | 0 | void Program::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { |
14971 | 0 | auto* const _this = static_cast<Program*>(&to_msg); |
14972 | 0 | auto& from = static_cast<const Program&>(from_msg); |
14973 | | // @@protoc_insertion_point(class_specific_merge_from_start:solidity.yul.test.yul_fuzzer.Program) |
14974 | 0 | GOOGLE_DCHECK_NE(&from, _this); |
14975 | 0 | uint32_t cached_has_bits = 0; |
14976 | 0 | (void) cached_has_bits; |
14977 | |
|
14978 | 0 | cached_has_bits = from._impl_._has_bits_[0]; |
14979 | 0 | if (cached_has_bits & 0x00000003u) { |
14980 | 0 | if (cached_has_bits & 0x00000001u) { |
14981 | 0 | _this->_impl_.ver_ = from._impl_.ver_; |
14982 | 0 | } |
14983 | 0 | if (cached_has_bits & 0x00000002u) { |
14984 | 0 | _this->_impl_.step_ = from._impl_.step_; |
14985 | 0 | } |
14986 | 0 | _this->_impl_._has_bits_[0] |= cached_has_bits; |
14987 | 0 | } |
14988 | 0 | switch (from.program_oneof_case()) { |
14989 | 0 | case kBlock: { |
14990 | 0 | _this->_internal_mutable_block()->::solidity::yul::test::yul_fuzzer::Block::MergeFrom( |
14991 | 0 | from._internal_block()); |
14992 | 0 | break; |
14993 | 0 | } |
14994 | 0 | case kObj: { |
14995 | 0 | _this->_internal_mutable_obj()->::solidity::yul::test::yul_fuzzer::Object::MergeFrom( |
14996 | 0 | from._internal_obj()); |
14997 | 0 | break; |
14998 | 0 | } |
14999 | 0 | case PROGRAM_ONEOF_NOT_SET: { |
15000 | 0 | break; |
15001 | 0 | } |
15002 | 0 | } |
15003 | 0 | _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); |
15004 | 0 | } |
15005 | | |
15006 | 0 | void Program::CopyFrom(const Program& from) { |
15007 | | // @@protoc_insertion_point(class_specific_copy_from_start:solidity.yul.test.yul_fuzzer.Program) |
15008 | 0 | if (&from == this) return; |
15009 | 0 | Clear(); |
15010 | 0 | MergeFrom(from); |
15011 | 0 | } |
15012 | | |
15013 | 0 | bool Program::IsInitialized() const { |
15014 | 0 | if (_Internal::MissingRequiredFields(_impl_._has_bits_)) return false; |
15015 | 0 | switch (program_oneof_case()) { |
15016 | 0 | case kBlock: { |
15017 | 0 | if (_internal_has_block()) { |
15018 | 0 | if (!_impl_.program_oneof_.block_->IsInitialized()) return false; |
15019 | 0 | } |
15020 | 0 | break; |
15021 | 0 | } |
15022 | 0 | case kObj: { |
15023 | 0 | if (_internal_has_obj()) { |
15024 | 0 | if (!_impl_.program_oneof_.obj_->IsInitialized()) return false; |
15025 | 0 | } |
15026 | 0 | break; |
15027 | 0 | } |
15028 | 0 | case PROGRAM_ONEOF_NOT_SET: { |
15029 | 0 | break; |
15030 | 0 | } |
15031 | 0 | } |
15032 | 0 | return true; |
15033 | 0 | } |
15034 | | |
15035 | 0 | void Program::InternalSwap(Program* other) { |
15036 | 0 | using std::swap; |
15037 | 0 | _internal_metadata_.InternalSwap(&other->_internal_metadata_); |
15038 | 0 | swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); |
15039 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::memswap< |
15040 | 0 | PROTOBUF_FIELD_OFFSET(Program, _impl_.step_) |
15041 | 0 | + sizeof(Program::_impl_.step_) |
15042 | 0 | - PROTOBUF_FIELD_OFFSET(Program, _impl_.ver_)>( |
15043 | 0 | reinterpret_cast<char*>(&_impl_.ver_), |
15044 | 0 | reinterpret_cast<char*>(&other->_impl_.ver_)); |
15045 | 0 | swap(_impl_.program_oneof_, other->_impl_.program_oneof_); |
15046 | 0 | swap(_impl_._oneof_case_[0], other->_impl_._oneof_case_[0]); |
15047 | 0 | } |
15048 | | |
15049 | 900k | ::PROTOBUF_NAMESPACE_ID::Metadata Program::GetMetadata() const { |
15050 | 900k | return ::_pbi::AssignDescriptors( |
15051 | 900k | &descriptor_table_yulProto_2eproto_getter, &descriptor_table_yulProto_2eproto_once, |
15052 | 900k | file_level_metadata_yulProto_2eproto[39]); |
15053 | 900k | } |
15054 | | |
15055 | | // @@protoc_insertion_point(namespace_scope) |
15056 | | } // namespace yul_fuzzer |
15057 | | } // namespace test |
15058 | | } // namespace yul |
15059 | | } // namespace solidity |
15060 | | PROTOBUF_NAMESPACE_OPEN |
15061 | | template<> PROTOBUF_NOINLINE ::solidity::yul::test::yul_fuzzer::VarDecl* |
15062 | 14.8k | Arena::CreateMaybeMessage< ::solidity::yul::test::yul_fuzzer::VarDecl >(Arena* arena) { |
15063 | 14.8k | return Arena::CreateMessageInternal< ::solidity::yul::test::yul_fuzzer::VarDecl >(arena); |
15064 | 14.8k | } |
15065 | | template<> PROTOBUF_NOINLINE ::solidity::yul::test::yul_fuzzer::MultiVarDecl* |
15066 | 17.2k | Arena::CreateMaybeMessage< ::solidity::yul::test::yul_fuzzer::MultiVarDecl >(Arena* arena) { |
15067 | 17.2k | return Arena::CreateMessageInternal< ::solidity::yul::test::yul_fuzzer::MultiVarDecl >(arena); |
15068 | 17.2k | } |
15069 | | template<> PROTOBUF_NOINLINE ::solidity::yul::test::yul_fuzzer::LowLevelCall* |
15070 | 27.3k | Arena::CreateMaybeMessage< ::solidity::yul::test::yul_fuzzer::LowLevelCall >(Arena* arena) { |
15071 | 27.3k | return Arena::CreateMessageInternal< ::solidity::yul::test::yul_fuzzer::LowLevelCall >(arena); |
15072 | 27.3k | } |
15073 | | template<> PROTOBUF_NOINLINE ::solidity::yul::test::yul_fuzzer::Create* |
15074 | 14.4k | Arena::CreateMaybeMessage< ::solidity::yul::test::yul_fuzzer::Create >(Arena* arena) { |
15075 | 14.4k | return Arena::CreateMessageInternal< ::solidity::yul::test::yul_fuzzer::Create >(arena); |
15076 | 14.4k | } |
15077 | | template<> PROTOBUF_NOINLINE ::solidity::yul::test::yul_fuzzer::FunctionCall* |
15078 | 208k | Arena::CreateMaybeMessage< ::solidity::yul::test::yul_fuzzer::FunctionCall >(Arena* arena) { |
15079 | 208k | return Arena::CreateMessageInternal< ::solidity::yul::test::yul_fuzzer::FunctionCall >(arena); |
15080 | 208k | } |
15081 | | template<> PROTOBUF_NOINLINE ::solidity::yul::test::yul_fuzzer::TypedVarDecl* |
15082 | 0 | Arena::CreateMaybeMessage< ::solidity::yul::test::yul_fuzzer::TypedVarDecl >(Arena* arena) { |
15083 | 0 | return Arena::CreateMessageInternal< ::solidity::yul::test::yul_fuzzer::TypedVarDecl >(arena); |
15084 | 0 | } |
15085 | | template<> PROTOBUF_NOINLINE ::solidity::yul::test::yul_fuzzer::VarRef* |
15086 | 182k | Arena::CreateMaybeMessage< ::solidity::yul::test::yul_fuzzer::VarRef >(Arena* arena) { |
15087 | 182k | return Arena::CreateMessageInternal< ::solidity::yul::test::yul_fuzzer::VarRef >(arena); |
15088 | 182k | } |
15089 | | template<> PROTOBUF_NOINLINE ::solidity::yul::test::yul_fuzzer::Literal* |
15090 | 217k | Arena::CreateMaybeMessage< ::solidity::yul::test::yul_fuzzer::Literal >(Arena* arena) { |
15091 | 217k | return Arena::CreateMessageInternal< ::solidity::yul::test::yul_fuzzer::Literal >(arena); |
15092 | 217k | } |
15093 | | template<> PROTOBUF_NOINLINE ::solidity::yul::test::yul_fuzzer::TypedLiteral* |
15094 | 0 | Arena::CreateMaybeMessage< ::solidity::yul::test::yul_fuzzer::TypedLiteral >(Arena* arena) { |
15095 | 0 | return Arena::CreateMessageInternal< ::solidity::yul::test::yul_fuzzer::TypedLiteral >(arena); |
15096 | 0 | } |
15097 | | template<> PROTOBUF_NOINLINE ::solidity::yul::test::yul_fuzzer::BinaryOp* |
15098 | 136k | Arena::CreateMaybeMessage< ::solidity::yul::test::yul_fuzzer::BinaryOp >(Arena* arena) { |
15099 | 136k | return Arena::CreateMessageInternal< ::solidity::yul::test::yul_fuzzer::BinaryOp >(arena); |
15100 | 136k | } |
15101 | | template<> PROTOBUF_NOINLINE ::solidity::yul::test::yul_fuzzer::UnaryOp* |
15102 | 73.0k | Arena::CreateMaybeMessage< ::solidity::yul::test::yul_fuzzer::UnaryOp >(Arena* arena) { |
15103 | 73.0k | return Arena::CreateMessageInternal< ::solidity::yul::test::yul_fuzzer::UnaryOp >(arena); |
15104 | 73.0k | } |
15105 | | template<> PROTOBUF_NOINLINE ::solidity::yul::test::yul_fuzzer::UnaryOpData* |
15106 | 28.8k | Arena::CreateMaybeMessage< ::solidity::yul::test::yul_fuzzer::UnaryOpData >(Arena* arena) { |
15107 | 28.8k | return Arena::CreateMessageInternal< ::solidity::yul::test::yul_fuzzer::UnaryOpData >(arena); |
15108 | 28.8k | } |
15109 | | template<> PROTOBUF_NOINLINE ::solidity::yul::test::yul_fuzzer::TernaryOp* |
15110 | 31.8k | Arena::CreateMaybeMessage< ::solidity::yul::test::yul_fuzzer::TernaryOp >(Arena* arena) { |
15111 | 31.8k | return Arena::CreateMessageInternal< ::solidity::yul::test::yul_fuzzer::TernaryOp >(arena); |
15112 | 31.8k | } |
15113 | | template<> PROTOBUF_NOINLINE ::solidity::yul::test::yul_fuzzer::CopyFunc* |
15114 | 16.0k | Arena::CreateMaybeMessage< ::solidity::yul::test::yul_fuzzer::CopyFunc >(Arena* arena) { |
15115 | 16.0k | return Arena::CreateMessageInternal< ::solidity::yul::test::yul_fuzzer::CopyFunc >(arena); |
15116 | 16.0k | } |
15117 | | template<> PROTOBUF_NOINLINE ::solidity::yul::test::yul_fuzzer::ExtCodeCopy* |
15118 | 18.8k | Arena::CreateMaybeMessage< ::solidity::yul::test::yul_fuzzer::ExtCodeCopy >(Arena* arena) { |
15119 | 18.8k | return Arena::CreateMessageInternal< ::solidity::yul::test::yul_fuzzer::ExtCodeCopy >(arena); |
15120 | 18.8k | } |
15121 | | template<> PROTOBUF_NOINLINE ::solidity::yul::test::yul_fuzzer::NullaryOp* |
15122 | 59.7k | Arena::CreateMaybeMessage< ::solidity::yul::test::yul_fuzzer::NullaryOp >(Arena* arena) { |
15123 | 59.7k | return Arena::CreateMessageInternal< ::solidity::yul::test::yul_fuzzer::NullaryOp >(arena); |
15124 | 59.7k | } |
15125 | | template<> PROTOBUF_NOINLINE ::solidity::yul::test::yul_fuzzer::StoreFunc* |
15126 | 118k | Arena::CreateMaybeMessage< ::solidity::yul::test::yul_fuzzer::StoreFunc >(Arena* arena) { |
15127 | 118k | return Arena::CreateMessageInternal< ::solidity::yul::test::yul_fuzzer::StoreFunc >(arena); |
15128 | 118k | } |
15129 | | template<> PROTOBUF_NOINLINE ::solidity::yul::test::yul_fuzzer::LogFunc* |
15130 | 10.0k | Arena::CreateMaybeMessage< ::solidity::yul::test::yul_fuzzer::LogFunc >(Arena* arena) { |
15131 | 10.0k | return Arena::CreateMessageInternal< ::solidity::yul::test::yul_fuzzer::LogFunc >(arena); |
15132 | 10.0k | } |
15133 | | template<> PROTOBUF_NOINLINE ::solidity::yul::test::yul_fuzzer::Expression* |
15134 | 2.62M | Arena::CreateMaybeMessage< ::solidity::yul::test::yul_fuzzer::Expression >(Arena* arena) { |
15135 | 2.62M | return Arena::CreateMessageInternal< ::solidity::yul::test::yul_fuzzer::Expression >(arena); |
15136 | 2.62M | } |
15137 | | template<> PROTOBUF_NOINLINE ::solidity::yul::test::yul_fuzzer::AssignmentStatement* |
15138 | 31.9k | Arena::CreateMaybeMessage< ::solidity::yul::test::yul_fuzzer::AssignmentStatement >(Arena* arena) { |
15139 | 31.9k | return Arena::CreateMessageInternal< ::solidity::yul::test::yul_fuzzer::AssignmentStatement >(arena); |
15140 | 31.9k | } |
15141 | | template<> PROTOBUF_NOINLINE ::solidity::yul::test::yul_fuzzer::IfStmt* |
15142 | 126k | Arena::CreateMaybeMessage< ::solidity::yul::test::yul_fuzzer::IfStmt >(Arena* arena) { |
15143 | 126k | return Arena::CreateMessageInternal< ::solidity::yul::test::yul_fuzzer::IfStmt >(arena); |
15144 | 126k | } |
15145 | | template<> PROTOBUF_NOINLINE ::solidity::yul::test::yul_fuzzer::BoundedForStmt* |
15146 | 131k | Arena::CreateMaybeMessage< ::solidity::yul::test::yul_fuzzer::BoundedForStmt >(Arena* arena) { |
15147 | 131k | return Arena::CreateMessageInternal< ::solidity::yul::test::yul_fuzzer::BoundedForStmt >(arena); |
15148 | 131k | } |
15149 | | template<> PROTOBUF_NOINLINE ::solidity::yul::test::yul_fuzzer::ForStmt* |
15150 | 119k | Arena::CreateMaybeMessage< ::solidity::yul::test::yul_fuzzer::ForStmt >(Arena* arena) { |
15151 | 119k | return Arena::CreateMessageInternal< ::solidity::yul::test::yul_fuzzer::ForStmt >(arena); |
15152 | 119k | } |
15153 | | template<> PROTOBUF_NOINLINE ::solidity::yul::test::yul_fuzzer::CaseStmt* |
15154 | 73.2k | Arena::CreateMaybeMessage< ::solidity::yul::test::yul_fuzzer::CaseStmt >(Arena* arena) { |
15155 | 73.2k | return Arena::CreateMessageInternal< ::solidity::yul::test::yul_fuzzer::CaseStmt >(arena); |
15156 | 73.2k | } |
15157 | | template<> PROTOBUF_NOINLINE ::solidity::yul::test::yul_fuzzer::SwitchStmt* |
15158 | 143k | Arena::CreateMaybeMessage< ::solidity::yul::test::yul_fuzzer::SwitchStmt >(Arena* arena) { |
15159 | 143k | return Arena::CreateMessageInternal< ::solidity::yul::test::yul_fuzzer::SwitchStmt >(arena); |
15160 | 143k | } |
15161 | | template<> PROTOBUF_NOINLINE ::solidity::yul::test::yul_fuzzer::BreakStmt* |
15162 | 141k | Arena::CreateMaybeMessage< ::solidity::yul::test::yul_fuzzer::BreakStmt >(Arena* arena) { |
15163 | 141k | return Arena::CreateMessageInternal< ::solidity::yul::test::yul_fuzzer::BreakStmt >(arena); |
15164 | 141k | } |
15165 | | template<> PROTOBUF_NOINLINE ::solidity::yul::test::yul_fuzzer::ContinueStmt* |
15166 | 132k | Arena::CreateMaybeMessage< ::solidity::yul::test::yul_fuzzer::ContinueStmt >(Arena* arena) { |
15167 | 132k | return Arena::CreateMessageInternal< ::solidity::yul::test::yul_fuzzer::ContinueStmt >(arena); |
15168 | 132k | } |
15169 | | template<> PROTOBUF_NOINLINE ::solidity::yul::test::yul_fuzzer::StopInvalidStmt* |
15170 | 2.94k | Arena::CreateMaybeMessage< ::solidity::yul::test::yul_fuzzer::StopInvalidStmt >(Arena* arena) { |
15171 | 2.94k | return Arena::CreateMessageInternal< ::solidity::yul::test::yul_fuzzer::StopInvalidStmt >(arena); |
15172 | 2.94k | } |
15173 | | template<> PROTOBUF_NOINLINE ::solidity::yul::test::yul_fuzzer::RetRevStmt* |
15174 | 4.04k | Arena::CreateMaybeMessage< ::solidity::yul::test::yul_fuzzer::RetRevStmt >(Arena* arena) { |
15175 | 4.04k | return Arena::CreateMessageInternal< ::solidity::yul::test::yul_fuzzer::RetRevStmt >(arena); |
15176 | 4.04k | } |
15177 | | template<> PROTOBUF_NOINLINE ::solidity::yul::test::yul_fuzzer::SelfDestructStmt* |
15178 | 3.23k | Arena::CreateMaybeMessage< ::solidity::yul::test::yul_fuzzer::SelfDestructStmt >(Arena* arena) { |
15179 | 3.23k | return Arena::CreateMessageInternal< ::solidity::yul::test::yul_fuzzer::SelfDestructStmt >(arena); |
15180 | 3.23k | } |
15181 | | template<> PROTOBUF_NOINLINE ::solidity::yul::test::yul_fuzzer::TerminatingStmt* |
15182 | 135k | Arena::CreateMaybeMessage< ::solidity::yul::test::yul_fuzzer::TerminatingStmt >(Arena* arena) { |
15183 | 135k | return Arena::CreateMessageInternal< ::solidity::yul::test::yul_fuzzer::TerminatingStmt >(arena); |
15184 | 135k | } |
15185 | | template<> PROTOBUF_NOINLINE ::solidity::yul::test::yul_fuzzer::FunctionDef* |
15186 | 139k | Arena::CreateMaybeMessage< ::solidity::yul::test::yul_fuzzer::FunctionDef >(Arena* arena) { |
15187 | 139k | return Arena::CreateMessageInternal< ::solidity::yul::test::yul_fuzzer::FunctionDef >(arena); |
15188 | 139k | } |
15189 | | template<> PROTOBUF_NOINLINE ::solidity::yul::test::yul_fuzzer::PopStmt* |
15190 | 11.3k | Arena::CreateMaybeMessage< ::solidity::yul::test::yul_fuzzer::PopStmt >(Arena* arena) { |
15191 | 11.3k | return Arena::CreateMessageInternal< ::solidity::yul::test::yul_fuzzer::PopStmt >(arena); |
15192 | 11.3k | } |
15193 | | template<> PROTOBUF_NOINLINE ::solidity::yul::test::yul_fuzzer::LeaveStmt* |
15194 | 136k | Arena::CreateMaybeMessage< ::solidity::yul::test::yul_fuzzer::LeaveStmt >(Arena* arena) { |
15195 | 136k | return Arena::CreateMessageInternal< ::solidity::yul::test::yul_fuzzer::LeaveStmt >(arena); |
15196 | 136k | } |
15197 | | template<> PROTOBUF_NOINLINE ::solidity::yul::test::yul_fuzzer::Statement* |
15198 | 2.32M | Arena::CreateMaybeMessage< ::solidity::yul::test::yul_fuzzer::Statement >(Arena* arena) { |
15199 | 2.32M | return Arena::CreateMessageInternal< ::solidity::yul::test::yul_fuzzer::Statement >(arena); |
15200 | 2.32M | } |
15201 | | template<> PROTOBUF_NOINLINE ::solidity::yul::test::yul_fuzzer::Block* |
15202 | 1.23M | Arena::CreateMaybeMessage< ::solidity::yul::test::yul_fuzzer::Block >(Arena* arena) { |
15203 | 1.23M | return Arena::CreateMessageInternal< ::solidity::yul::test::yul_fuzzer::Block >(arena); |
15204 | 1.23M | } |
15205 | | template<> PROTOBUF_NOINLINE ::solidity::yul::test::yul_fuzzer::Object* |
15206 | 8.88k | Arena::CreateMaybeMessage< ::solidity::yul::test::yul_fuzzer::Object >(Arena* arena) { |
15207 | 8.88k | return Arena::CreateMessageInternal< ::solidity::yul::test::yul_fuzzer::Object >(arena); |
15208 | 8.88k | } |
15209 | | template<> PROTOBUF_NOINLINE ::solidity::yul::test::yul_fuzzer::Code* |
15210 | 7.90k | Arena::CreateMaybeMessage< ::solidity::yul::test::yul_fuzzer::Code >(Arena* arena) { |
15211 | 7.90k | return Arena::CreateMessageInternal< ::solidity::yul::test::yul_fuzzer::Code >(arena); |
15212 | 7.90k | } |
15213 | | template<> PROTOBUF_NOINLINE ::solidity::yul::test::yul_fuzzer::Data* |
15214 | 1.65k | Arena::CreateMaybeMessage< ::solidity::yul::test::yul_fuzzer::Data >(Arena* arena) { |
15215 | 1.65k | return Arena::CreateMessageInternal< ::solidity::yul::test::yul_fuzzer::Data >(arena); |
15216 | 1.65k | } |
15217 | | template<> PROTOBUF_NOINLINE ::solidity::yul::test::yul_fuzzer::Program* |
15218 | 0 | Arena::CreateMaybeMessage< ::solidity::yul::test::yul_fuzzer::Program >(Arena* arena) { |
15219 | 0 | return Arena::CreateMessageInternal< ::solidity::yul::test::yul_fuzzer::Program >(arena); |
15220 | 0 | } |
15221 | | PROTOBUF_NAMESPACE_CLOSE |
15222 | | |
15223 | | // @@protoc_insertion_point(global_scope) |
15224 | | #include <google/protobuf/port_undef.inc> |