Debian Codegraph @

tests/snapshots/testsuite/proposals/wasm-3.0/load2.wast.json

raw
1 {
2 "source_filename": "tests/testsuite/proposals/wasm-3.0/load2.wast",
3 "commands": [
4 {
5 "type": "module",
6 "line": 1,
7 "filename": "load2.0.wasm",
8 "module_type": "binary"
9 },
10 {
11 "type": "assert_return",
12 "line": 162,
13 "action": {
14 "type": "invoke",
15 "field": "as-br-value",
16 "args": []
17 },
18 "expected": [
19 {
20 "type": "i32",
21 "value": "0"
22 }
23 ]
24 },
25 {
26 "type": "assert_return",
27 "line": 164,
28 "action": {
29 "type": "invoke",
30 "field": "as-br_if-cond",
31 "args": []
32 },
33 "expected": []
34 },
35 {
36 "type": "assert_return",
37 "line": 165,
38 "action": {
39 "type": "invoke",
40 "field": "as-br_if-value",
41 "args": []
42 },
43 "expected": [
44 {
45 "type": "i32",
46 "value": "0"
47 }
48 ]
49 },
50 {
51 "type": "assert_return",
52 "line": 166,
53 "action": {
54 "type": "invoke",
55 "field": "as-br_if-value-cond",
56 "args": []
57 },
58 "expected": [
59 {
60 "type": "i32",
61 "value": "7"
62 }
63 ]
64 },
65 {
66 "type": "assert_return",
67 "line": 168,
68 "action": {
69 "type": "invoke",
70 "field": "as-br_table-index",
71 "args": []
72 },
73 "expected": []
74 },
75 {
76 "type": "assert_return",
77 "line": 169,
78 "action": {
79 "type": "invoke",
80 "field": "as-br_table-value",
81 "args": []
82 },
83 "expected": [
84 {
85 "type": "i32",
86 "value": "0"
87 }
88 ]
89 },
90 {
91 "type": "assert_return",
92 "line": 170,
93 "action": {
94 "type": "invoke",
95 "field": "as-br_table-value-index",
96 "args": []
97 },
98 "expected": [
99 {
100 "type": "i32",
101 "value": "6"
102 }
103 ]
104 },
105 {
106 "type": "assert_return",
107 "line": 172,
108 "action": {
109 "type": "invoke",
110 "field": "as-return-value",
111 "args": []
112 },
113 "expected": [
114 {
115 "type": "i32",
116 "value": "0"
117 }
118 ]
119 },
120 {
121 "type": "assert_return",
122 "line": 174,
123 "action": {
124 "type": "invoke",
125 "field": "as-if-cond",
126 "args": []
127 },
128 "expected": [
129 {
130 "type": "i32",
131 "value": "1"
132 }
133 ]
134 },
135 {
136 "type": "assert_return",
137 "line": 175,
138 "action": {
139 "type": "invoke",
140 "field": "as-if-then",
141 "args": []
142 },
143 "expected": [
144 {
145 "type": "i32",
146 "value": "0"
147 }
148 ]
149 },
150 {
151 "type": "assert_return",
152 "line": 176,
153 "action": {
154 "type": "invoke",
155 "field": "as-if-else",
156 "args": []
157 },
158 "expected": [
159 {
160 "type": "i32",
161 "value": "0"
162 }
163 ]
164 },
165 {
166 "type": "assert_return",
167 "line": 178,
168 "action": {
169 "type": "invoke",
170 "field": "as-select-first",
171 "args": [
172 {
173 "type": "i32",
174 "value": "0"
175 },
176 {
177 "type": "i32",
178 "value": "1"
179 }
180 ]
181 },
182 "expected": [
183 {
184 "type": "i32",
185 "value": "0"
186 }
187 ]
188 },
189 {
190 "type": "assert_return",
191 "line": 179,
192 "action": {
193 "type": "invoke",
194 "field": "as-select-second",
195 "args": [
196 {
197 "type": "i32",
198 "value": "0"
199 },
200 {
201 "type": "i32",
202 "value": "0"
203 }
204 ]
205 },
206 "expected": [
207 {
208 "type": "i32",
209 "value": "0"
210 }
211 ]
212 },
213 {
214 "type": "assert_return",
215 "line": 180,
216 "action": {
217 "type": "invoke",
218 "field": "as-select-cond",
219 "args": []
220 },
221 "expected": [
222 {
223 "type": "i32",
224 "value": "1"
225 }
226 ]
227 },
228 {
229 "type": "assert_return",
230 "line": 182,
231 "action": {
232 "type": "invoke",
233 "field": "as-call-first",
234 "args": []
235 },
236 "expected": [
237 {
238 "type": "i32",
239 "value": "-1"
240 }
241 ]
242 },
243 {
244 "type": "assert_return",
245 "line": 183,
246 "action": {
247 "type": "invoke",
248 "field": "as-call-mid",
249 "args": []
250 },
251 "expected": [
252 {
253 "type": "i32",
254 "value": "-1"
255 }
256 ]
257 },
258 {
259 "type": "assert_return",
260 "line": 184,
261 "action": {
262 "type": "invoke",
263 "field": "as-call-last",
264 "args": []
265 },
266 "expected": [
267 {
268 "type": "i32",
269 "value": "-1"
270 }
271 ]
272 },
273 {
274 "type": "assert_return",
275 "line": 186,
276 "action": {
277 "type": "invoke",
278 "field": "as-call_indirect-first",
279 "args": []
280 },
281 "expected": [
282 {
283 "type": "i32",
284 "value": "-1"
285 }
286 ]
287 },
288 {
289 "type": "assert_return",
290 "line": 187,
291 "action": {
292 "type": "invoke",
293 "field": "as-call_indirect-mid",
294 "args": []
295 },
296 "expected": [
297 {
298 "type": "i32",
299 "value": "-1"
300 }
301 ]
302 },
303 {
304 "type": "assert_return",
305 "line": 188,
306 "action": {
307 "type": "invoke",
308 "field": "as-call_indirect-last",
309 "args": []
310 },
311 "expected": [
312 {
313 "type": "i32",
314 "value": "-1"
315 }
316 ]
317 },
318 {
319 "type": "assert_return",
320 "line": 189,
321 "action": {
322 "type": "invoke",
323 "field": "as-call_indirect-index",
324 "args": []
325 },
326 "expected": [
327 {
328 "type": "i32",
329 "value": "-1"
330 }
331 ]
332 },
333 {
334 "type": "assert_return",
335 "line": 191,
336 "action": {
337 "type": "invoke",
338 "field": "as-local.set-value",
339 "args": []
340 },
341 "expected": []
342 },
343 {
344 "type": "assert_return",
345 "line": 192,
346 "action": {
347 "type": "invoke",
348 "field": "as-local.tee-value",
349 "args": []
350 },
351 "expected": [
352 {
353 "type": "i32",
354 "value": "0"
355 }
356 ]
357 },
358 {
359 "type": "assert_return",
360 "line": 193,
361 "action": {
362 "type": "invoke",
363 "field": "as-global.set-value",
364 "args": []
365 },
366 "expected": []
367 },
368 {
369 "type": "assert_return",
370 "line": 195,
371 "action": {
372 "type": "invoke",
373 "field": "as-load-address",
374 "args": []
375 },
376 "expected": [
377 {
378 "type": "i32",
379 "value": "0"
380 }
381 ]
382 },
383 {
384 "type": "assert_return",
385 "line": 196,
386 "action": {
387 "type": "invoke",
388 "field": "as-loadN-address",
389 "args": []
390 },
391 "expected": [
392 {
393 "type": "i32",
394 "value": "0"
395 }
396 ]
397 },
398 {
399 "type": "assert_return",
400 "line": 197,
401 "action": {
402 "type": "invoke",
403 "field": "as-store-address",
404 "args": []
405 },
406 "expected": []
407 },
408 {
409 "type": "assert_return",
410 "line": 198,
411 "action": {
412 "type": "invoke",
413 "field": "as-store-value",
414 "args": []
415 },
416 "expected": []
417 },
418 {
419 "type": "assert_return",
420 "line": 199,
421 "action": {
422 "type": "invoke",
423 "field": "as-storeN-address",
424 "args": []
425 },
426 "expected": []
427 },
428 {
429 "type": "assert_return",
430 "line": 200,
431 "action": {
432 "type": "invoke",
433 "field": "as-storeN-value",
434 "args": []
435 },
436 "expected": []
437 },
438 {
439 "type": "assert_return",
440 "line": 202,
441 "action": {
442 "type": "invoke",
443 "field": "as-unary-operand",
444 "args": []
445 },
446 "expected": [
447 {
448 "type": "i32",
449 "value": "32"
450 }
451 ]
452 },
453 {
454 "type": "assert_return",
455 "line": 204,
456 "action": {
457 "type": "invoke",
458 "field": "as-binary-left",
459 "args": []
460 },
461 "expected": [
462 {
463 "type": "i32",
464 "value": "10"
465 }
466 ]
467 },
468 {
469 "type": "assert_return",
470 "line": 205,
471 "action": {
472 "type": "invoke",
473 "field": "as-binary-right",
474 "args": []
475 },
476 "expected": [
477 {
478 "type": "i32",
479 "value": "10"
480 }
481 ]
482 },
483 {
484 "type": "assert_return",
485 "line": 207,
486 "action": {
487 "type": "invoke",
488 "field": "as-test-operand",
489 "args": []
490 },
491 "expected": [
492 {
493 "type": "i32",
494 "value": "1"
495 }
496 ]
497 },
498 {
499 "type": "assert_return",
500 "line": 209,
501 "action": {
502 "type": "invoke",
503 "field": "as-compare-left",
504 "args": []
505 },
506 "expected": [
507 {
508 "type": "i32",
509 "value": "1"
510 }
511 ]
512 },
513 {
514 "type": "assert_return",
515 "line": 210,
516 "action": {
517 "type": "invoke",
518 "field": "as-compare-right",
519 "args": []
520 },
521 "expected": [
522 {
523 "type": "i32",
524 "value": "1"
525 }
526 ]
527 },
528 {
529 "type": "assert_return",
530 "line": 212,
531 "action": {
532 "type": "invoke",
533 "field": "as-memory.grow-size",
534 "args": []
535 },
536 "expected": [
537 {
538 "type": "i32",
539 "value": "1"
540 }
541 ]
542 }
543 ]
544 }