Debian Codegraph @

tests/snapshots/testsuite/unwind.wast.json

raw
1 {
2 "source_filename": "tests/testsuite/unwind.wast",
3 "commands": [
4 {
5 "type": "module",
6 "line": 3,
7 "filename": "unwind.0.wasm",
8 "module_type": "binary"
9 },
10 {
11 "type": "assert_trap",
12 "line": 212,
13 "action": {
14 "type": "invoke",
15 "field": "func-unwind-by-unreachable",
16 "args": []
17 },
18 "text": "unreachable"
19 },
20 {
21 "type": "assert_return",
22 "line": 213,
23 "action": {
24 "type": "invoke",
25 "field": "func-unwind-by-br",
26 "args": []
27 },
28 "expected": []
29 },
30 {
31 "type": "assert_return",
32 "line": 214,
33 "action": {
34 "type": "invoke",
35 "field": "func-unwind-by-br-value",
36 "args": []
37 },
38 "expected": [
39 {
40 "type": "i32",
41 "value": "9"
42 }
43 ]
44 },
45 {
46 "type": "assert_return",
47 "line": 215,
48 "action": {
49 "type": "invoke",
50 "field": "func-unwind-by-br_if",
51 "args": []
52 },
53 "expected": []
54 },
55 {
56 "type": "assert_return",
57 "line": 216,
58 "action": {
59 "type": "invoke",
60 "field": "func-unwind-by-br_if-value",
61 "args": []
62 },
63 "expected": [
64 {
65 "type": "i32",
66 "value": "9"
67 }
68 ]
69 },
70 {
71 "type": "assert_return",
72 "line": 217,
73 "action": {
74 "type": "invoke",
75 "field": "func-unwind-by-br_table",
76 "args": []
77 },
78 "expected": []
79 },
80 {
81 "type": "assert_return",
82 "line": 218,
83 "action": {
84 "type": "invoke",
85 "field": "func-unwind-by-br_table-value",
86 "args": []
87 },
88 "expected": [
89 {
90 "type": "i32",
91 "value": "9"
92 }
93 ]
94 },
95 {
96 "type": "assert_return",
97 "line": 219,
98 "action": {
99 "type": "invoke",
100 "field": "func-unwind-by-return",
101 "args": []
102 },
103 "expected": [
104 {
105 "type": "i32",
106 "value": "9"
107 }
108 ]
109 },
110 {
111 "type": "assert_trap",
112 "line": 221,
113 "action": {
114 "type": "invoke",
115 "field": "block-unwind-by-unreachable",
116 "args": []
117 },
118 "text": "unreachable"
119 },
120 {
121 "type": "assert_return",
122 "line": 222,
123 "action": {
124 "type": "invoke",
125 "field": "block-unwind-by-br",
126 "args": []
127 },
128 "expected": [
129 {
130 "type": "i32",
131 "value": "9"
132 }
133 ]
134 },
135 {
136 "type": "assert_return",
137 "line": 223,
138 "action": {
139 "type": "invoke",
140 "field": "block-unwind-by-br-value",
141 "args": []
142 },
143 "expected": [
144 {
145 "type": "i32",
146 "value": "9"
147 }
148 ]
149 },
150 {
151 "type": "assert_return",
152 "line": 224,
153 "action": {
154 "type": "invoke",
155 "field": "block-unwind-by-br_if",
156 "args": []
157 },
158 "expected": [
159 {
160 "type": "i32",
161 "value": "9"
162 }
163 ]
164 },
165 {
166 "type": "assert_return",
167 "line": 225,
168 "action": {
169 "type": "invoke",
170 "field": "block-unwind-by-br_if-value",
171 "args": []
172 },
173 "expected": [
174 {
175 "type": "i32",
176 "value": "9"
177 }
178 ]
179 },
180 {
181 "type": "assert_return",
182 "line": 226,
183 "action": {
184 "type": "invoke",
185 "field": "block-unwind-by-br_table",
186 "args": []
187 },
188 "expected": [
189 {
190 "type": "i32",
191 "value": "9"
192 }
193 ]
194 },
195 {
196 "type": "assert_return",
197 "line": 227,
198 "action": {
199 "type": "invoke",
200 "field": "block-unwind-by-br_table-value",
201 "args": []
202 },
203 "expected": [
204 {
205 "type": "i32",
206 "value": "9"
207 }
208 ]
209 },
210 {
211 "type": "assert_return",
212 "line": 228,
213 "action": {
214 "type": "invoke",
215 "field": "block-unwind-by-return",
216 "args": []
217 },
218 "expected": [
219 {
220 "type": "i32",
221 "value": "9"
222 }
223 ]
224 },
225 {
226 "type": "assert_trap",
227 "line": 230,
228 "action": {
229 "type": "invoke",
230 "field": "block-nested-unwind-by-unreachable",
231 "args": []
232 },
233 "text": "unreachable"
234 },
235 {
236 "type": "assert_return",
237 "line": 231,
238 "action": {
239 "type": "invoke",
240 "field": "block-nested-unwind-by-br",
241 "args": []
242 },
243 "expected": [
244 {
245 "type": "i32",
246 "value": "9"
247 }
248 ]
249 },
250 {
251 "type": "assert_return",
252 "line": 232,
253 "action": {
254 "type": "invoke",
255 "field": "block-nested-unwind-by-br-value",
256 "args": []
257 },
258 "expected": [
259 {
260 "type": "i32",
261 "value": "9"
262 }
263 ]
264 },
265 {
266 "type": "assert_return",
267 "line": 233,
268 "action": {
269 "type": "invoke",
270 "field": "block-nested-unwind-by-br_if",
271 "args": []
272 },
273 "expected": [
274 {
275 "type": "i32",
276 "value": "9"
277 }
278 ]
279 },
280 {
281 "type": "assert_return",
282 "line": 234,
283 "action": {
284 "type": "invoke",
285 "field": "block-nested-unwind-by-br_if-value",
286 "args": []
287 },
288 "expected": [
289 {
290 "type": "i32",
291 "value": "9"
292 }
293 ]
294 },
295 {
296 "type": "assert_return",
297 "line": 235,
298 "action": {
299 "type": "invoke",
300 "field": "block-nested-unwind-by-br_table",
301 "args": []
302 },
303 "expected": [
304 {
305 "type": "i32",
306 "value": "9"
307 }
308 ]
309 },
310 {
311 "type": "assert_return",
312 "line": 236,
313 "action": {
314 "type": "invoke",
315 "field": "block-nested-unwind-by-br_table-value",
316 "args": []
317 },
318 "expected": [
319 {
320 "type": "i32",
321 "value": "9"
322 }
323 ]
324 },
325 {
326 "type": "assert_return",
327 "line": 237,
328 "action": {
329 "type": "invoke",
330 "field": "block-nested-unwind-by-return",
331 "args": []
332 },
333 "expected": [
334 {
335 "type": "i32",
336 "value": "9"
337 }
338 ]
339 },
340 {
341 "type": "assert_trap",
342 "line": 239,
343 "action": {
344 "type": "invoke",
345 "field": "unary-after-unreachable",
346 "args": []
347 },
348 "text": "unreachable"
349 },
350 {
351 "type": "assert_return",
352 "line": 240,
353 "action": {
354 "type": "invoke",
355 "field": "unary-after-br",
356 "args": []
357 },
358 "expected": [
359 {
360 "type": "i32",
361 "value": "9"
362 }
363 ]
364 },
365 {
366 "type": "assert_return",
367 "line": 241,
368 "action": {
369 "type": "invoke",
370 "field": "unary-after-br_if",
371 "args": []
372 },
373 "expected": [
374 {
375 "type": "i32",
376 "value": "9"
377 }
378 ]
379 },
380 {
381 "type": "assert_return",
382 "line": 242,
383 "action": {
384 "type": "invoke",
385 "field": "unary-after-br_table",
386 "args": []
387 },
388 "expected": [
389 {
390 "type": "i32",
391 "value": "9"
392 }
393 ]
394 },
395 {
396 "type": "assert_return",
397 "line": 243,
398 "action": {
399 "type": "invoke",
400 "field": "unary-after-return",
401 "args": []
402 },
403 "expected": [
404 {
405 "type": "i32",
406 "value": "9"
407 }
408 ]
409 },
410 {
411 "type": "assert_trap",
412 "line": 245,
413 "action": {
414 "type": "invoke",
415 "field": "binary-after-unreachable",
416 "args": []
417 },
418 "text": "unreachable"
419 },
420 {
421 "type": "assert_return",
422 "line": 246,
423 "action": {
424 "type": "invoke",
425 "field": "binary-after-br",
426 "args": []
427 },
428 "expected": [
429 {
430 "type": "i32",
431 "value": "9"
432 }
433 ]
434 },
435 {
436 "type": "assert_return",
437 "line": 247,
438 "action": {
439 "type": "invoke",
440 "field": "binary-after-br_if",
441 "args": []
442 },
443 "expected": [
444 {
445 "type": "i32",
446 "value": "9"
447 }
448 ]
449 },
450 {
451 "type": "assert_return",
452 "line": 248,
453 "action": {
454 "type": "invoke",
455 "field": "binary-after-br_table",
456 "args": []
457 },
458 "expected": [
459 {
460 "type": "i32",
461 "value": "9"
462 }
463 ]
464 },
465 {
466 "type": "assert_return",
467 "line": 249,
468 "action": {
469 "type": "invoke",
470 "field": "binary-after-return",
471 "args": []
472 },
473 "expected": [
474 {
475 "type": "i32",
476 "value": "9"
477 }
478 ]
479 },
480 {
481 "type": "assert_trap",
482 "line": 251,
483 "action": {
484 "type": "invoke",
485 "field": "select-after-unreachable",
486 "args": []
487 },
488 "text": "unreachable"
489 },
490 {
491 "type": "assert_return",
492 "line": 252,
493 "action": {
494 "type": "invoke",
495 "field": "select-after-br",
496 "args": []
497 },
498 "expected": [
499 {
500 "type": "i32",
501 "value": "9"
502 }
503 ]
504 },
505 {
506 "type": "assert_return",
507 "line": 253,
508 "action": {
509 "type": "invoke",
510 "field": "select-after-br_if",
511 "args": []
512 },
513 "expected": [
514 {
515 "type": "i32",
516 "value": "9"
517 }
518 ]
519 },
520 {
521 "type": "assert_return",
522 "line": 254,
523 "action": {
524 "type": "invoke",
525 "field": "select-after-br_table",
526 "args": []
527 },
528 "expected": [
529 {
530 "type": "i32",
531 "value": "9"
532 }
533 ]
534 },
535 {
536 "type": "assert_return",
537 "line": 255,
538 "action": {
539 "type": "invoke",
540 "field": "select-after-return",
541 "args": []
542 },
543 "expected": [
544 {
545 "type": "i32",
546 "value": "9"
547 }
548 ]
549 },
550 {
551 "type": "assert_trap",
552 "line": 257,
553 "action": {
554 "type": "invoke",
555 "field": "block-value-after-unreachable",
556 "args": []
557 },
558 "text": "unreachable"
559 },
560 {
561 "type": "assert_return",
562 "line": 258,
563 "action": {
564 "type": "invoke",
565 "field": "block-value-after-br",
566 "args": []
567 },
568 "expected": [
569 {
570 "type": "i32",
571 "value": "9"
572 }
573 ]
574 },
575 {
576 "type": "assert_return",
577 "line": 259,
578 "action": {
579 "type": "invoke",
580 "field": "block-value-after-br_if",
581 "args": []
582 },
583 "expected": [
584 {
585 "type": "i32",
586 "value": "9"
587 }
588 ]
589 },
590 {
591 "type": "assert_return",
592 "line": 260,
593 "action": {
594 "type": "invoke",
595 "field": "block-value-after-br_table",
596 "args": []
597 },
598 "expected": [
599 {
600 "type": "i32",
601 "value": "9"
602 }
603 ]
604 },
605 {
606 "type": "assert_return",
607 "line": 261,
608 "action": {
609 "type": "invoke",
610 "field": "block-value-after-return",
611 "args": []
612 },
613 "expected": [
614 {
615 "type": "i32",
616 "value": "9"
617 }
618 ]
619 },
620 {
621 "type": "assert_trap",
622 "line": 263,
623 "action": {
624 "type": "invoke",
625 "field": "loop-value-after-unreachable",
626 "args": []
627 },
628 "text": "unreachable"
629 },
630 {
631 "type": "assert_return",
632 "line": 264,
633 "action": {
634 "type": "invoke",
635 "field": "loop-value-after-br",
636 "args": []
637 },
638 "expected": [
639 {
640 "type": "i32",
641 "value": "9"
642 }
643 ]
644 },
645 {
646 "type": "assert_return",
647 "line": 265,
648 "action": {
649 "type": "invoke",
650 "field": "loop-value-after-br_if",
651 "args": []
652 },
653 "expected": [
654 {
655 "type": "i32",
656 "value": "9"
657 }
658 ]
659 },
660 {
661 "type": "assert_return",
662 "line": 266,
663 "action": {
664 "type": "invoke",
665 "field": "loop-value-after-br_table",
666 "args": []
667 },
668 "expected": [
669 {
670 "type": "i32",
671 "value": "9"
672 }
673 ]
674 },
675 {
676 "type": "assert_return",
677 "line": 267,
678 "action": {
679 "type": "invoke",
680 "field": "loop-value-after-return",
681 "args": []
682 },
683 "expected": [
684 {
685 "type": "i32",
686 "value": "9"
687 }
688 ]
689 }
690 ]
691 }