Debian Codegraph @

tests/snapshots/testsuite/unreachable.wast.json

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