Debian Codegraph @

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

raw
1 {
2 "source_filename": "tests/testsuite/proposals/wasm-3.0/if.wast",
3 "commands": [
4 {
5 "type": "module",
6 "line": 3,
7 "filename": "if.0.wasm",
8 "module_type": "binary"
9 },
10 {
11 "type": "assert_return",
12 "line": 537,
13 "action": {
14 "type": "invoke",
15 "field": "empty",
16 "args": [
17 {
18 "type": "i32",
19 "value": "0"
20 }
21 ]
22 },
23 "expected": []
24 },
25 {
26 "type": "assert_return",
27 "line": 538,
28 "action": {
29 "type": "invoke",
30 "field": "empty",
31 "args": [
32 {
33 "type": "i32",
34 "value": "1"
35 }
36 ]
37 },
38 "expected": []
39 },
40 {
41 "type": "assert_return",
42 "line": 539,
43 "action": {
44 "type": "invoke",
45 "field": "empty",
46 "args": [
47 {
48 "type": "i32",
49 "value": "100"
50 }
51 ]
52 },
53 "expected": []
54 },
55 {
56 "type": "assert_return",
57 "line": 540,
58 "action": {
59 "type": "invoke",
60 "field": "empty",
61 "args": [
62 {
63 "type": "i32",
64 "value": "-2"
65 }
66 ]
67 },
68 "expected": []
69 },
70 {
71 "type": "assert_return",
72 "line": 542,
73 "action": {
74 "type": "invoke",
75 "field": "singular",
76 "args": [
77 {
78 "type": "i32",
79 "value": "0"
80 }
81 ]
82 },
83 "expected": [
84 {
85 "type": "i32",
86 "value": "8"
87 }
88 ]
89 },
90 {
91 "type": "assert_return",
92 "line": 543,
93 "action": {
94 "type": "invoke",
95 "field": "singular",
96 "args": [
97 {
98 "type": "i32",
99 "value": "1"
100 }
101 ]
102 },
103 "expected": [
104 {
105 "type": "i32",
106 "value": "7"
107 }
108 ]
109 },
110 {
111 "type": "assert_return",
112 "line": 544,
113 "action": {
114 "type": "invoke",
115 "field": "singular",
116 "args": [
117 {
118 "type": "i32",
119 "value": "10"
120 }
121 ]
122 },
123 "expected": [
124 {
125 "type": "i32",
126 "value": "7"
127 }
128 ]
129 },
130 {
131 "type": "assert_return",
132 "line": 545,
133 "action": {
134 "type": "invoke",
135 "field": "singular",
136 "args": [
137 {
138 "type": "i32",
139 "value": "-10"
140 }
141 ]
142 },
143 "expected": [
144 {
145 "type": "i32",
146 "value": "7"
147 }
148 ]
149 },
150 {
151 "type": "assert_return",
152 "line": 547,
153 "action": {
154 "type": "invoke",
155 "field": "multi",
156 "args": [
157 {
158 "type": "i32",
159 "value": "0"
160 }
161 ]
162 },
163 "expected": [
164 {
165 "type": "i32",
166 "value": "9"
167 },
168 {
169 "type": "i32",
170 "value": "-1"
171 }
172 ]
173 },
174 {
175 "type": "assert_return",
176 "line": 548,
177 "action": {
178 "type": "invoke",
179 "field": "multi",
180 "args": [
181 {
182 "type": "i32",
183 "value": "1"
184 }
185 ]
186 },
187 "expected": [
188 {
189 "type": "i32",
190 "value": "8"
191 },
192 {
193 "type": "i32",
194 "value": "1"
195 }
196 ]
197 },
198 {
199 "type": "assert_return",
200 "line": 549,
201 "action": {
202 "type": "invoke",
203 "field": "multi",
204 "args": [
205 {
206 "type": "i32",
207 "value": "13"
208 }
209 ]
210 },
211 "expected": [
212 {
213 "type": "i32",
214 "value": "8"
215 },
216 {
217 "type": "i32",
218 "value": "1"
219 }
220 ]
221 },
222 {
223 "type": "assert_return",
224 "line": 550,
225 "action": {
226 "type": "invoke",
227 "field": "multi",
228 "args": [
229 {
230 "type": "i32",
231 "value": "-5"
232 }
233 ]
234 },
235 "expected": [
236 {
237 "type": "i32",
238 "value": "8"
239 },
240 {
241 "type": "i32",
242 "value": "1"
243 }
244 ]
245 },
246 {
247 "type": "assert_return",
248 "line": 552,
249 "action": {
250 "type": "invoke",
251 "field": "nested",
252 "args": [
253 {
254 "type": "i32",
255 "value": "0"
256 },
257 {
258 "type": "i32",
259 "value": "0"
260 }
261 ]
262 },
263 "expected": [
264 {
265 "type": "i32",
266 "value": "11"
267 }
268 ]
269 },
270 {
271 "type": "assert_return",
272 "line": 553,
273 "action": {
274 "type": "invoke",
275 "field": "nested",
276 "args": [
277 {
278 "type": "i32",
279 "value": "1"
280 },
281 {
282 "type": "i32",
283 "value": "0"
284 }
285 ]
286 },
287 "expected": [
288 {
289 "type": "i32",
290 "value": "10"
291 }
292 ]
293 },
294 {
295 "type": "assert_return",
296 "line": 554,
297 "action": {
298 "type": "invoke",
299 "field": "nested",
300 "args": [
301 {
302 "type": "i32",
303 "value": "0"
304 },
305 {
306 "type": "i32",
307 "value": "1"
308 }
309 ]
310 },
311 "expected": [
312 {
313 "type": "i32",
314 "value": "10"
315 }
316 ]
317 },
318 {
319 "type": "assert_return",
320 "line": 555,
321 "action": {
322 "type": "invoke",
323 "field": "nested",
324 "args": [
325 {
326 "type": "i32",
327 "value": "3"
328 },
329 {
330 "type": "i32",
331 "value": "2"
332 }
333 ]
334 },
335 "expected": [
336 {
337 "type": "i32",
338 "value": "9"
339 }
340 ]
341 },
342 {
343 "type": "assert_return",
344 "line": 556,
345 "action": {
346 "type": "invoke",
347 "field": "nested",
348 "args": [
349 {
350 "type": "i32",
351 "value": "0"
352 },
353 {
354 "type": "i32",
355 "value": "-100"
356 }
357 ]
358 },
359 "expected": [
360 {
361 "type": "i32",
362 "value": "10"
363 }
364 ]
365 },
366 {
367 "type": "assert_return",
368 "line": 557,
369 "action": {
370 "type": "invoke",
371 "field": "nested",
372 "args": [
373 {
374 "type": "i32",
375 "value": "10"
376 },
377 {
378 "type": "i32",
379 "value": "10"
380 }
381 ]
382 },
383 "expected": [
384 {
385 "type": "i32",
386 "value": "9"
387 }
388 ]
389 },
390 {
391 "type": "assert_return",
392 "line": 558,
393 "action": {
394 "type": "invoke",
395 "field": "nested",
396 "args": [
397 {
398 "type": "i32",
399 "value": "0"
400 },
401 {
402 "type": "i32",
403 "value": "-1"
404 }
405 ]
406 },
407 "expected": [
408 {
409 "type": "i32",
410 "value": "10"
411 }
412 ]
413 },
414 {
415 "type": "assert_return",
416 "line": 559,
417 "action": {
418 "type": "invoke",
419 "field": "nested",
420 "args": [
421 {
422 "type": "i32",
423 "value": "-111"
424 },
425 {
426 "type": "i32",
427 "value": "-2"
428 }
429 ]
430 },
431 "expected": [
432 {
433 "type": "i32",
434 "value": "9"
435 }
436 ]
437 },
438 {
439 "type": "assert_return",
440 "line": 561,
441 "action": {
442 "type": "invoke",
443 "field": "as-select-first",
444 "args": [
445 {
446 "type": "i32",
447 "value": "0"
448 }
449 ]
450 },
451 "expected": [
452 {
453 "type": "i32",
454 "value": "0"
455 }
456 ]
457 },
458 {
459 "type": "assert_return",
460 "line": 562,
461 "action": {
462 "type": "invoke",
463 "field": "as-select-first",
464 "args": [
465 {
466 "type": "i32",
467 "value": "1"
468 }
469 ]
470 },
471 "expected": [
472 {
473 "type": "i32",
474 "value": "1"
475 }
476 ]
477 },
478 {
479 "type": "assert_return",
480 "line": 563,
481 "action": {
482 "type": "invoke",
483 "field": "as-select-mid",
484 "args": [
485 {
486 "type": "i32",
487 "value": "0"
488 }
489 ]
490 },
491 "expected": [
492 {
493 "type": "i32",
494 "value": "2"
495 }
496 ]
497 },
498 {
499 "type": "assert_return",
500 "line": 564,
501 "action": {
502 "type": "invoke",
503 "field": "as-select-mid",
504 "args": [
505 {
506 "type": "i32",
507 "value": "1"
508 }
509 ]
510 },
511 "expected": [
512 {
513 "type": "i32",
514 "value": "2"
515 }
516 ]
517 },
518 {
519 "type": "assert_return",
520 "line": 565,
521 "action": {
522 "type": "invoke",
523 "field": "as-select-last",
524 "args": [
525 {
526 "type": "i32",
527 "value": "0"
528 }
529 ]
530 },
531 "expected": [
532 {
533 "type": "i32",
534 "value": "3"
535 }
536 ]
537 },
538 {
539 "type": "assert_return",
540 "line": 566,
541 "action": {
542 "type": "invoke",
543 "field": "as-select-last",
544 "args": [
545 {
546 "type": "i32",
547 "value": "1"
548 }
549 ]
550 },
551 "expected": [
552 {
553 "type": "i32",
554 "value": "2"
555 }
556 ]
557 },
558 {
559 "type": "assert_return",
560 "line": 568,
561 "action": {
562 "type": "invoke",
563 "field": "as-loop-first",
564 "args": [
565 {
566 "type": "i32",
567 "value": "0"
568 }
569 ]
570 },
571 "expected": [
572 {
573 "type": "i32",
574 "value": "0"
575 }
576 ]
577 },
578 {
579 "type": "assert_return",
580 "line": 569,
581 "action": {
582 "type": "invoke",
583 "field": "as-loop-first",
584 "args": [
585 {
586 "type": "i32",
587 "value": "1"
588 }
589 ]
590 },
591 "expected": [
592 {
593 "type": "i32",
594 "value": "1"
595 }
596 ]
597 },
598 {
599 "type": "assert_return",
600 "line": 570,
601 "action": {
602 "type": "invoke",
603 "field": "as-loop-mid",
604 "args": [
605 {
606 "type": "i32",
607 "value": "0"
608 }
609 ]
610 },
611 "expected": [
612 {
613 "type": "i32",
614 "value": "0"
615 }
616 ]
617 },
618 {
619 "type": "assert_return",
620 "line": 571,
621 "action": {
622 "type": "invoke",
623 "field": "as-loop-mid",
624 "args": [
625 {
626 "type": "i32",
627 "value": "1"
628 }
629 ]
630 },
631 "expected": [
632 {
633 "type": "i32",
634 "value": "1"
635 }
636 ]
637 },
638 {
639 "type": "assert_return",
640 "line": 572,
641 "action": {
642 "type": "invoke",
643 "field": "as-loop-last",
644 "args": [
645 {
646 "type": "i32",
647 "value": "0"
648 }
649 ]
650 },
651 "expected": [
652 {
653 "type": "i32",
654 "value": "0"
655 }
656 ]
657 },
658 {
659 "type": "assert_return",
660 "line": 573,
661 "action": {
662 "type": "invoke",
663 "field": "as-loop-last",
664 "args": [
665 {
666 "type": "i32",
667 "value": "1"
668 }
669 ]
670 },
671 "expected": [
672 {
673 "type": "i32",
674 "value": "1"
675 }
676 ]
677 },
678 {
679 "type": "assert_return",
680 "line": 575,
681 "action": {
682 "type": "invoke",
683 "field": "as-if-condition",
684 "args": [
685 {
686 "type": "i32",
687 "value": "0"
688 }
689 ]
690 },
691 "expected": [
692 {
693 "type": "i32",
694 "value": "3"
695 }
696 ]
697 },
698 {
699 "type": "assert_return",
700 "line": 576,
701 "action": {
702 "type": "invoke",
703 "field": "as-if-condition",
704 "args": [
705 {
706 "type": "i32",
707 "value": "1"
708 }
709 ]
710 },
711 "expected": [
712 {
713 "type": "i32",
714 "value": "2"
715 }
716 ]
717 },
718 {
719 "type": "assert_return",
720 "line": 578,
721 "action": {
722 "type": "invoke",
723 "field": "as-br_if-first",
724 "args": [
725 {
726 "type": "i32",
727 "value": "0"
728 }
729 ]
730 },
731 "expected": [
732 {
733 "type": "i32",
734 "value": "0"
735 }
736 ]
737 },
738 {
739 "type": "assert_return",
740 "line": 579,
741 "action": {
742 "type": "invoke",
743 "field": "as-br_if-first",
744 "args": [
745 {
746 "type": "i32",
747 "value": "1"
748 }
749 ]
750 },
751 "expected": [
752 {
753 "type": "i32",
754 "value": "1"
755 }
756 ]
757 },
758 {
759 "type": "assert_return",
760 "line": 580,
761 "action": {
762 "type": "invoke",
763 "field": "as-br_if-last",
764 "args": [
765 {
766 "type": "i32",
767 "value": "0"
768 }
769 ]
770 },
771 "expected": [
772 {
773 "type": "i32",
774 "value": "3"
775 }
776 ]
777 },
778 {
779 "type": "assert_return",
780 "line": 581,
781 "action": {
782 "type": "invoke",
783 "field": "as-br_if-last",
784 "args": [
785 {
786 "type": "i32",
787 "value": "1"
788 }
789 ]
790 },
791 "expected": [
792 {
793 "type": "i32",
794 "value": "2"
795 }
796 ]
797 },
798 {
799 "type": "assert_return",
800 "line": 583,
801 "action": {
802 "type": "invoke",
803 "field": "as-br_table-first",
804 "args": [
805 {
806 "type": "i32",
807 "value": "0"
808 }
809 ]
810 },
811 "expected": [
812 {
813 "type": "i32",
814 "value": "0"
815 }
816 ]
817 },
818 {
819 "type": "assert_return",
820 "line": 584,
821 "action": {
822 "type": "invoke",
823 "field": "as-br_table-first",
824 "args": [
825 {
826 "type": "i32",
827 "value": "1"
828 }
829 ]
830 },
831 "expected": [
832 {
833 "type": "i32",
834 "value": "1"
835 }
836 ]
837 },
838 {
839 "type": "assert_return",
840 "line": 585,
841 "action": {
842 "type": "invoke",
843 "field": "as-br_table-last",
844 "args": [
845 {
846 "type": "i32",
847 "value": "0"
848 }
849 ]
850 },
851 "expected": [
852 {
853 "type": "i32",
854 "value": "2"
855 }
856 ]
857 },
858 {
859 "type": "assert_return",
860 "line": 586,
861 "action": {
862 "type": "invoke",
863 "field": "as-br_table-last",
864 "args": [
865 {
866 "type": "i32",
867 "value": "1"
868 }
869 ]
870 },
871 "expected": [
872 {
873 "type": "i32",
874 "value": "2"
875 }
876 ]
877 },
878 {
879 "type": "assert_return",
880 "line": 588,
881 "action": {
882 "type": "invoke",
883 "field": "as-call_indirect-first",
884 "args": [
885 {
886 "type": "i32",
887 "value": "0"
888 }
889 ]
890 },
891 "expected": [
892 {
893 "type": "i32",
894 "value": "0"
895 }
896 ]
897 },
898 {
899 "type": "assert_return",
900 "line": 589,
901 "action": {
902 "type": "invoke",
903 "field": "as-call_indirect-first",
904 "args": [
905 {
906 "type": "i32",
907 "value": "1"
908 }
909 ]
910 },
911 "expected": [
912 {
913 "type": "i32",
914 "value": "1"
915 }
916 ]
917 },
918 {
919 "type": "assert_return",
920 "line": 590,
921 "action": {
922 "type": "invoke",
923 "field": "as-call_indirect-mid",
924 "args": [
925 {
926 "type": "i32",
927 "value": "0"
928 }
929 ]
930 },
931 "expected": [
932 {
933 "type": "i32",
934 "value": "2"
935 }
936 ]
937 },
938 {
939 "type": "assert_return",
940 "line": 591,
941 "action": {
942 "type": "invoke",
943 "field": "as-call_indirect-mid",
944 "args": [
945 {
946 "type": "i32",
947 "value": "1"
948 }
949 ]
950 },
951 "expected": [
952 {
953 "type": "i32",
954 "value": "2"
955 }
956 ]
957 },
958 {
959 "type": "assert_return",
960 "line": 592,
961 "action": {
962 "type": "invoke",
963 "field": "as-call_indirect-last",
964 "args": [
965 {
966 "type": "i32",
967 "value": "0"
968 }
969 ]
970 },
971 "expected": [
972 {
973 "type": "i32",
974 "value": "2"
975 }
976 ]
977 },
978 {
979 "type": "assert_trap",
980 "line": 593,
981 "action": {
982 "type": "invoke",
983 "field": "as-call_indirect-last",
984 "args": [
985 {
986 "type": "i32",
987 "value": "1"
988 }
989 ]
990 },
991 "text": "undefined element"
992 },
993 {
994 "type": "assert_return",
995 "line": 595,
996 "action": {
997 "type": "invoke",
998 "field": "as-store-first",
999 "args": [
1000 {
1001 "type": "i32",
1002 "value": "0"
1003 }
1004 ]
1005 },
1006 "expected": []
1007 },
1008 {
1009 "type": "assert_return",
1010 "line": 596,
1011 "action": {
1012 "type": "invoke",
1013 "field": "as-store-first",
1014 "args": [
1015 {
1016 "type": "i32",
1017 "value": "1"
1018 }
1019 ]
1020 },
1021 "expected": []
1022 },
1023 {
1024 "type": "assert_return",
1025 "line": 597,
1026 "action": {
1027 "type": "invoke",
1028 "field": "as-store-last",
1029 "args": [
1030 {
1031 "type": "i32",
1032 "value": "0"
1033 }
1034 ]
1035 },
1036 "expected": []
1037 },
1038 {
1039 "type": "assert_return",
1040 "line": 598,
1041 "action": {
1042 "type": "invoke",
1043 "field": "as-store-last",
1044 "args": [
1045 {
1046 "type": "i32",
1047 "value": "1"
1048 }
1049 ]
1050 },
1051 "expected": []
1052 },
1053 {
1054 "type": "assert_return",
1055 "line": 600,
1056 "action": {
1057 "type": "invoke",
1058 "field": "as-memory.grow-value",
1059 "args": [
1060 {
1061 "type": "i32",
1062 "value": "0"
1063 }
1064 ]
1065 },
1066 "expected": [
1067 {
1068 "type": "i32",
1069 "value": "1"
1070 }
1071 ]
1072 },
1073 {
1074 "type": "assert_return",
1075 "line": 601,
1076 "action": {
1077 "type": "invoke",
1078 "field": "as-memory.grow-value",
1079 "args": [
1080 {
1081 "type": "i32",
1082 "value": "1"
1083 }
1084 ]
1085 },
1086 "expected": [
1087 {
1088 "type": "i32",
1089 "value": "1"
1090 }
1091 ]
1092 },
1093 {
1094 "type": "assert_return",
1095 "line": 603,
1096 "action": {
1097 "type": "invoke",
1098 "field": "as-call-value",
1099 "args": [
1100 {
1101 "type": "i32",
1102 "value": "0"
1103 }
1104 ]
1105 },
1106 "expected": [
1107 {
1108 "type": "i32",
1109 "value": "0"
1110 }
1111 ]
1112 },
1113 {
1114 "type": "assert_return",
1115 "line": 604,
1116 "action": {
1117 "type": "invoke",
1118 "field": "as-call-value",
1119 "args": [
1120 {
1121 "type": "i32",
1122 "value": "1"
1123 }
1124 ]
1125 },
1126 "expected": [
1127 {
1128 "type": "i32",
1129 "value": "1"
1130 }
1131 ]
1132 },
1133 {
1134 "type": "assert_return",
1135 "line": 606,
1136 "action": {
1137 "type": "invoke",
1138 "field": "as-return-value",
1139 "args": [
1140 {
1141 "type": "i32",
1142 "value": "0"
1143 }
1144 ]
1145 },
1146 "expected": [
1147 {
1148 "type": "i32",
1149 "value": "0"
1150 }
1151 ]
1152 },
1153 {
1154 "type": "assert_return",
1155 "line": 607,
1156 "action": {
1157 "type": "invoke",
1158 "field": "as-return-value",
1159 "args": [
1160 {
1161 "type": "i32",
1162 "value": "1"
1163 }
1164 ]
1165 },
1166 "expected": [
1167 {
1168 "type": "i32",
1169 "value": "1"
1170 }
1171 ]
1172 },
1173 {
1174 "type": "assert_return",
1175 "line": 609,
1176 "action": {
1177 "type": "invoke",
1178 "field": "as-drop-operand",
1179 "args": [
1180 {
1181 "type": "i32",
1182 "value": "0"
1183 }
1184 ]
1185 },
1186 "expected": []
1187 },
1188 {
1189 "type": "assert_return",
1190 "line": 610,
1191 "action": {
1192 "type": "invoke",
1193 "field": "as-drop-operand",
1194 "args": [
1195 {
1196 "type": "i32",
1197 "value": "1"
1198 }
1199 ]
1200 },
1201 "expected": []
1202 },
1203 {
1204 "type": "assert_return",
1205 "line": 612,
1206 "action": {
1207 "type": "invoke",
1208 "field": "as-br-value",
1209 "args": [
1210 {
1211 "type": "i32",
1212 "value": "0"
1213 }
1214 ]
1215 },
1216 "expected": [
1217 {
1218 "type": "i32",
1219 "value": "0"
1220 }
1221 ]
1222 },
1223 {
1224 "type": "assert_return",
1225 "line": 613,
1226 "action": {
1227 "type": "invoke",
1228 "field": "as-br-value",
1229 "args": [
1230 {
1231 "type": "i32",
1232 "value": "1"
1233 }
1234 ]
1235 },
1236 "expected": [
1237 {
1238 "type": "i32",
1239 "value": "1"
1240 }
1241 ]
1242 },
1243 {
1244 "type": "assert_return",
1245 "line": 615,
1246 "action": {
1247 "type": "invoke",
1248 "field": "as-local.set-value",
1249 "args": [
1250 {
1251 "type": "i32",
1252 "value": "0"
1253 }
1254 ]
1255 },
1256 "expected": [
1257 {
1258 "type": "i32",
1259 "value": "0"
1260 }
1261 ]
1262 },
1263 {
1264 "type": "assert_return",
1265 "line": 616,
1266 "action": {
1267 "type": "invoke",
1268 "field": "as-local.set-value",
1269 "args": [
1270 {
1271 "type": "i32",
1272 "value": "1"
1273 }
1274 ]
1275 },
1276 "expected": [
1277 {
1278 "type": "i32",
1279 "value": "1"
1280 }
1281 ]
1282 },
1283 {
1284 "type": "assert_return",
1285 "line": 618,
1286 "action": {
1287 "type": "invoke",
1288 "field": "as-local.tee-value",
1289 "args": [
1290 {
1291 "type": "i32",
1292 "value": "0"
1293 }
1294 ]
1295 },
1296 "expected": [
1297 {
1298 "type": "i32",
1299 "value": "0"
1300 }
1301 ]
1302 },
1303 {
1304 "type": "assert_return",
1305 "line": 619,
1306 "action": {
1307 "type": "invoke",
1308 "field": "as-local.tee-value",
1309 "args": [
1310 {
1311 "type": "i32",
1312 "value": "1"
1313 }
1314 ]
1315 },
1316 "expected": [
1317 {
1318 "type": "i32",
1319 "value": "1"
1320 }
1321 ]
1322 },
1323 {
1324 "type": "assert_return",
1325 "line": 621,
1326 "action": {
1327 "type": "invoke",
1328 "field": "as-global.set-value",
1329 "args": [
1330 {
1331 "type": "i32",
1332 "value": "0"
1333 }
1334 ]
1335 },
1336 "expected": [
1337 {
1338 "type": "i32",
1339 "value": "0"
1340 }
1341 ]
1342 },
1343 {
1344 "type": "assert_return",
1345 "line": 622,
1346 "action": {
1347 "type": "invoke",
1348 "field": "as-global.set-value",
1349 "args": [
1350 {
1351 "type": "i32",
1352 "value": "1"
1353 }
1354 ]
1355 },
1356 "expected": [
1357 {
1358 "type": "i32",
1359 "value": "1"
1360 }
1361 ]
1362 },
1363 {
1364 "type": "assert_return",
1365 "line": 624,
1366 "action": {
1367 "type": "invoke",
1368 "field": "as-load-operand",
1369 "args": [
1370 {
1371 "type": "i32",
1372 "value": "0"
1373 }
1374 ]
1375 },
1376 "expected": [
1377 {
1378 "type": "i32",
1379 "value": "0"
1380 }
1381 ]
1382 },
1383 {
1384 "type": "assert_return",
1385 "line": 625,
1386 "action": {
1387 "type": "invoke",
1388 "field": "as-load-operand",
1389 "args": [
1390 {
1391 "type": "i32",
1392 "value": "1"
1393 }
1394 ]
1395 },
1396 "expected": [
1397 {
1398 "type": "i32",
1399 "value": "0"
1400 }
1401 ]
1402 },
1403 {
1404 "type": "assert_return",
1405 "line": 627,
1406 "action": {
1407 "type": "invoke",
1408 "field": "as-unary-operand",
1409 "args": [
1410 {
1411 "type": "i32",
1412 "value": "0"
1413 }
1414 ]
1415 },
1416 "expected": [
1417 {
1418 "type": "i32",
1419 "value": "0"
1420 }
1421 ]
1422 },
1423 {
1424 "type": "assert_return",
1425 "line": 628,
1426 "action": {
1427 "type": "invoke",
1428 "field": "as-unary-operand",
1429 "args": [
1430 {
1431 "type": "i32",
1432 "value": "1"
1433 }
1434 ]
1435 },
1436 "expected": [
1437 {
1438 "type": "i32",
1439 "value": "0"
1440 }
1441 ]
1442 },
1443 {
1444 "type": "assert_return",
1445 "line": 629,
1446 "action": {
1447 "type": "invoke",
1448 "field": "as-unary-operand",
1449 "args": [
1450 {
1451 "type": "i32",
1452 "value": "-1"
1453 }
1454 ]
1455 },
1456 "expected": [
1457 {
1458 "type": "i32",
1459 "value": "0"
1460 }
1461 ]
1462 },
1463 {
1464 "type": "assert_return",
1465 "line": 631,
1466 "action": {
1467 "type": "invoke",
1468 "field": "as-binary-operand",
1469 "args": [
1470 {
1471 "type": "i32",
1472 "value": "0"
1473 },
1474 {
1475 "type": "i32",
1476 "value": "0"
1477 }
1478 ]
1479 },
1480 "expected": [
1481 {
1482 "type": "i32",
1483 "value": "15"
1484 }
1485 ]
1486 },
1487 {
1488 "type": "assert_return",
1489 "line": 632,
1490 "action": {
1491 "type": "invoke",
1492 "field": "as-binary-operand",
1493 "args": [
1494 {
1495 "type": "i32",
1496 "value": "0"
1497 },
1498 {
1499 "type": "i32",
1500 "value": "1"
1501 }
1502 ]
1503 },
1504 "expected": [
1505 {
1506 "type": "i32",
1507 "value": "-12"
1508 }
1509 ]
1510 },
1511 {
1512 "type": "assert_return",
1513 "line": 633,
1514 "action": {
1515 "type": "invoke",
1516 "field": "as-binary-operand",
1517 "args": [
1518 {
1519 "type": "i32",
1520 "value": "1"
1521 },
1522 {
1523 "type": "i32",
1524 "value": "0"
1525 }
1526 ]
1527 },
1528 "expected": [
1529 {
1530 "type": "i32",
1531 "value": "-15"
1532 }
1533 ]
1534 },
1535 {
1536 "type": "assert_return",
1537 "line": 634,
1538 "action": {
1539 "type": "invoke",
1540 "field": "as-binary-operand",
1541 "args": [
1542 {
1543 "type": "i32",
1544 "value": "1"
1545 },
1546 {
1547 "type": "i32",
1548 "value": "1"
1549 }
1550 ]
1551 },
1552 "expected": [
1553 {
1554 "type": "i32",
1555 "value": "12"
1556 }
1557 ]
1558 },
1559 {
1560 "type": "assert_return",
1561 "line": 636,
1562 "action": {
1563 "type": "invoke",
1564 "field": "as-test-operand",
1565 "args": [
1566 {
1567 "type": "i32",
1568 "value": "0"
1569 }
1570 ]
1571 },
1572 "expected": [
1573 {
1574 "type": "i32",
1575 "value": "1"
1576 }
1577 ]
1578 },
1579 {
1580 "type": "assert_return",
1581 "line": 637,
1582 "action": {
1583 "type": "invoke",
1584 "field": "as-test-operand",
1585 "args": [
1586 {
1587 "type": "i32",
1588 "value": "1"
1589 }
1590 ]
1591 },
1592 "expected": [
1593 {
1594 "type": "i32",
1595 "value": "0"
1596 }
1597 ]
1598 },
1599 {
1600 "type": "assert_return",
1601 "line": 639,
1602 "action": {
1603 "type": "invoke",
1604 "field": "as-compare-operand",
1605 "args": [
1606 {
1607 "type": "i32",
1608 "value": "0"
1609 },
1610 {
1611 "type": "i32",
1612 "value": "0"
1613 }
1614 ]
1615 },
1616 "expected": [
1617 {
1618 "type": "i32",
1619 "value": "1"
1620 }
1621 ]
1622 },
1623 {
1624 "type": "assert_return",
1625 "line": 640,
1626 "action": {
1627 "type": "invoke",
1628 "field": "as-compare-operand",
1629 "args": [
1630 {
1631 "type": "i32",
1632 "value": "0"
1633 },
1634 {
1635 "type": "i32",
1636 "value": "1"
1637 }
1638 ]
1639 },
1640 "expected": [
1641 {
1642 "type": "i32",
1643 "value": "0"
1644 }
1645 ]
1646 },
1647 {
1648 "type": "assert_return",
1649 "line": 641,
1650 "action": {
1651 "type": "invoke",
1652 "field": "as-compare-operand",
1653 "args": [
1654 {
1655 "type": "i32",
1656 "value": "1"
1657 },
1658 {
1659 "type": "i32",
1660 "value": "0"
1661 }
1662 ]
1663 },
1664 "expected": [
1665 {
1666 "type": "i32",
1667 "value": "1"
1668 }
1669 ]
1670 },
1671 {
1672 "type": "assert_return",
1673 "line": 642,
1674 "action": {
1675 "type": "invoke",
1676 "field": "as-compare-operand",
1677 "args": [
1678 {
1679 "type": "i32",
1680 "value": "1"
1681 },
1682 {
1683 "type": "i32",
1684 "value": "1"
1685 }
1686 ]
1687 },
1688 "expected": [
1689 {
1690 "type": "i32",
1691 "value": "0"
1692 }
1693 ]
1694 },
1695 {
1696 "type": "assert_return",
1697 "line": 644,
1698 "action": {
1699 "type": "invoke",
1700 "field": "as-binary-operands",
1701 "args": [
1702 {
1703 "type": "i32",
1704 "value": "0"
1705 }
1706 ]
1707 },
1708 "expected": [
1709 {
1710 "type": "i32",
1711 "value": "-12"
1712 }
1713 ]
1714 },
1715 {
1716 "type": "assert_return",
1717 "line": 645,
1718 "action": {
1719 "type": "invoke",
1720 "field": "as-binary-operands",
1721 "args": [
1722 {
1723 "type": "i32",
1724 "value": "1"
1725 }
1726 ]
1727 },
1728 "expected": [
1729 {
1730 "type": "i32",
1731 "value": "12"
1732 }
1733 ]
1734 },
1735 {
1736 "type": "assert_return",
1737 "line": 647,
1738 "action": {
1739 "type": "invoke",
1740 "field": "as-compare-operands",
1741 "args": [
1742 {
1743 "type": "i32",
1744 "value": "0"
1745 }
1746 ]
1747 },
1748 "expected": [
1749 {
1750 "type": "i32",
1751 "value": "1"
1752 }
1753 ]
1754 },
1755 {
1756 "type": "assert_return",
1757 "line": 648,
1758 "action": {
1759 "type": "invoke",
1760 "field": "as-compare-operands",
1761 "args": [
1762 {
1763 "type": "i32",
1764 "value": "1"
1765 }
1766 ]
1767 },
1768 "expected": [
1769 {
1770 "type": "i32",
1771 "value": "0"
1772 }
1773 ]
1774 },
1775 {
1776 "type": "assert_return",
1777 "line": 650,
1778 "action": {
1779 "type": "invoke",
1780 "field": "as-mixed-operands",
1781 "args": [
1782 {
1783 "type": "i32",
1784 "value": "0"
1785 }
1786 ]
1787 },
1788 "expected": [
1789 {
1790 "type": "i32",
1791 "value": "-3"
1792 }
1793 ]
1794 },
1795 {
1796 "type": "assert_return",
1797 "line": 651,
1798 "action": {
1799 "type": "invoke",
1800 "field": "as-mixed-operands",
1801 "args": [
1802 {
1803 "type": "i32",
1804 "value": "1"
1805 }
1806 ]
1807 },
1808 "expected": [
1809 {
1810 "type": "i32",
1811 "value": "27"
1812 }
1813 ]
1814 },
1815 {
1816 "type": "assert_return",
1817 "line": 653,
1818 "action": {
1819 "type": "invoke",
1820 "field": "break-bare",
1821 "args": []
1822 },
1823 "expected": [
1824 {
1825 "type": "i32",
1826 "value": "19"
1827 }
1828 ]
1829 },
1830 {
1831 "type": "assert_return",
1832 "line": 654,
1833 "action": {
1834 "type": "invoke",
1835 "field": "break-value",
1836 "args": [
1837 {
1838 "type": "i32",
1839 "value": "1"
1840 }
1841 ]
1842 },
1843 "expected": [
1844 {
1845 "type": "i32",
1846 "value": "18"
1847 }
1848 ]
1849 },
1850 {
1851 "type": "assert_return",
1852 "line": 655,
1853 "action": {
1854 "type": "invoke",
1855 "field": "break-value",
1856 "args": [
1857 {
1858 "type": "i32",
1859 "value": "0"
1860 }
1861 ]
1862 },
1863 "expected": [
1864 {
1865 "type": "i32",
1866 "value": "21"
1867 }
1868 ]
1869 },
1870 {
1871 "type": "assert_return",
1872 "line": 656,
1873 "action": {
1874 "type": "invoke",
1875 "field": "break-multi-value",
1876 "args": [
1877 {
1878 "type": "i32",
1879 "value": "0"
1880 }
1881 ]
1882 },
1883 "expected": [
1884 {
1885 "type": "i32",
1886 "value": "-18"
1887 },
1888 {
1889 "type": "i32",
1890 "value": "18"
1891 },
1892 {
1893 "type": "i64",
1894 "value": "-18"
1895 }
1896 ]
1897 },
1898 {
1899 "type": "assert_return",
1900 "line": 659,
1901 "action": {
1902 "type": "invoke",
1903 "field": "break-multi-value",
1904 "args": [
1905 {
1906 "type": "i32",
1907 "value": "1"
1908 }
1909 ]
1910 },
1911 "expected": [
1912 {
1913 "type": "i32",
1914 "value": "18"
1915 },
1916 {
1917 "type": "i32",
1918 "value": "-18"
1919 },
1920 {
1921 "type": "i64",
1922 "value": "18"
1923 }
1924 ]
1925 },
1926 {
1927 "type": "assert_return",
1928 "line": 663,
1929 "action": {
1930 "type": "invoke",
1931 "field": "param",
1932 "args": [
1933 {
1934 "type": "i32",
1935 "value": "0"
1936 }
1937 ]
1938 },
1939 "expected": [
1940 {
1941 "type": "i32",
1942 "value": "-1"
1943 }
1944 ]
1945 },
1946 {
1947 "type": "assert_return",
1948 "line": 664,
1949 "action": {
1950 "type": "invoke",
1951 "field": "param",
1952 "args": [
1953 {
1954 "type": "i32",
1955 "value": "1"
1956 }
1957 ]
1958 },
1959 "expected": [
1960 {
1961 "type": "i32",
1962 "value": "3"
1963 }
1964 ]
1965 },
1966 {
1967 "type": "assert_return",
1968 "line": 665,
1969 "action": {
1970 "type": "invoke",
1971 "field": "params",
1972 "args": [
1973 {
1974 "type": "i32",
1975 "value": "0"
1976 }
1977 ]
1978 },
1979 "expected": [
1980 {
1981 "type": "i32",
1982 "value": "-1"
1983 }
1984 ]
1985 },
1986 {
1987 "type": "assert_return",
1988 "line": 666,
1989 "action": {
1990 "type": "invoke",
1991 "field": "params",
1992 "args": [
1993 {
1994 "type": "i32",
1995 "value": "1"
1996 }
1997 ]
1998 },
1999 "expected": [
2000 {
2001 "type": "i32",
2002 "value": "3"
2003 }
2004 ]
2005 },
2006 {
2007 "type": "assert_return",
2008 "line": 667,
2009 "action": {
2010 "type": "invoke",
2011 "field": "params-id",
2012 "args": [
2013 {
2014 "type": "i32",
2015 "value": "0"
2016 }
2017 ]
2018 },
2019 "expected": [
2020 {
2021 "type": "i32",
2022 "value": "3"
2023 }
2024 ]
2025 },
2026 {
2027 "type": "assert_return",
2028 "line": 668,
2029 "action": {
2030 "type": "invoke",
2031 "field": "params-id",
2032 "args": [
2033 {
2034 "type": "i32",
2035 "value": "1"
2036 }
2037 ]
2038 },
2039 "expected": [
2040 {
2041 "type": "i32",
2042 "value": "3"
2043 }
2044 ]
2045 },
2046 {
2047 "type": "assert_return",
2048 "line": 669,
2049 "action": {
2050 "type": "invoke",
2051 "field": "param-break",
2052 "args": [
2053 {
2054 "type": "i32",
2055 "value": "0"
2056 }
2057 ]
2058 },
2059 "expected": [
2060 {
2061 "type": "i32",
2062 "value": "-1"
2063 }
2064 ]
2065 },
2066 {
2067 "type": "assert_return",
2068 "line": 670,
2069 "action": {
2070 "type": "invoke",
2071 "field": "param-break",
2072 "args": [
2073 {
2074 "type": "i32",
2075 "value": "1"
2076 }
2077 ]
2078 },
2079 "expected": [
2080 {
2081 "type": "i32",
2082 "value": "3"
2083 }
2084 ]
2085 },
2086 {
2087 "type": "assert_return",
2088 "line": 671,
2089 "action": {
2090 "type": "invoke",
2091 "field": "params-break",
2092 "args": [
2093 {
2094 "type": "i32",
2095 "value": "0"
2096 }
2097 ]
2098 },
2099 "expected": [
2100 {
2101 "type": "i32",
2102 "value": "-1"
2103 }
2104 ]
2105 },
2106 {
2107 "type": "assert_return",
2108 "line": 672,
2109 "action": {
2110 "type": "invoke",
2111 "field": "params-break",
2112 "args": [
2113 {
2114 "type": "i32",
2115 "value": "1"
2116 }
2117 ]
2118 },
2119 "expected": [
2120 {
2121 "type": "i32",
2122 "value": "3"
2123 }
2124 ]
2125 },
2126 {
2127 "type": "assert_return",
2128 "line": 673,
2129 "action": {
2130 "type": "invoke",
2131 "field": "params-id-break",
2132 "args": [
2133 {
2134 "type": "i32",
2135 "value": "0"
2136 }
2137 ]
2138 },
2139 "expected": [
2140 {
2141 "type": "i32",
2142 "value": "3"
2143 }
2144 ]
2145 },
2146 {
2147 "type": "assert_return",
2148 "line": 674,
2149 "action": {
2150 "type": "invoke",
2151 "field": "params-id-break",
2152 "args": [
2153 {
2154 "type": "i32",
2155 "value": "1"
2156 }
2157 ]
2158 },
2159 "expected": [
2160 {
2161 "type": "i32",
2162 "value": "3"
2163 }
2164 ]
2165 },
2166 {
2167 "type": "assert_return",
2168 "line": 676,
2169 "action": {
2170 "type": "invoke",
2171 "field": "effects",
2172 "args": [
2173 {
2174 "type": "i32",
2175 "value": "1"
2176 }
2177 ]
2178 },
2179 "expected": [
2180 {
2181 "type": "i32",
2182 "value": "-14"
2183 }
2184 ]
2185 },
2186 {
2187 "type": "assert_return",
2188 "line": 677,
2189 "action": {
2190 "type": "invoke",
2191 "field": "effects",
2192 "args": [
2193 {
2194 "type": "i32",
2195 "value": "0"
2196 }
2197 ]
2198 },
2199 "expected": [
2200 {
2201 "type": "i32",
2202 "value": "-6"
2203 }
2204 ]
2205 },
2206 {
2207 "type": "assert_return",
2208 "line": 680,
2209 "action": {
2210 "type": "invoke",
2211 "field": "add64_u_with_carry",
2212 "args": [
2213 {
2214 "type": "i64",
2215 "value": "0"
2216 },
2217 {
2218 "type": "i64",
2219 "value": "0"
2220 },
2221 {
2222 "type": "i32",
2223 "value": "0"
2224 }
2225 ]
2226 },
2227 "expected": [
2228 {
2229 "type": "i64",
2230 "value": "0"
2231 },
2232 {
2233 "type": "i32",
2234 "value": "0"
2235 }
2236 ]
2237 },
2238 {
2239 "type": "assert_return",
2240 "line": 684,
2241 "action": {
2242 "type": "invoke",
2243 "field": "add64_u_with_carry",
2244 "args": [
2245 {
2246 "type": "i64",
2247 "value": "100"
2248 },
2249 {
2250 "type": "i64",
2251 "value": "124"
2252 },
2253 {
2254 "type": "i32",
2255 "value": "0"
2256 }
2257 ]
2258 },
2259 "expected": [
2260 {
2261 "type": "i64",
2262 "value": "224"
2263 },
2264 {
2265 "type": "i32",
2266 "value": "0"
2267 }
2268 ]
2269 },
2270 {
2271 "type": "assert_return",
2272 "line": 688,
2273 "action": {
2274 "type": "invoke",
2275 "field": "add64_u_with_carry",
2276 "args": [
2277 {
2278 "type": "i64",
2279 "value": "-1"
2280 },
2281 {
2282 "type": "i64",
2283 "value": "0"
2284 },
2285 {
2286 "type": "i32",
2287 "value": "0"
2288 }
2289 ]
2290 },
2291 "expected": [
2292 {
2293 "type": "i64",
2294 "value": "-1"
2295 },
2296 {
2297 "type": "i32",
2298 "value": "0"
2299 }
2300 ]
2301 },
2302 {
2303 "type": "assert_return",
2304 "line": 692,
2305 "action": {
2306 "type": "invoke",
2307 "field": "add64_u_with_carry",
2308 "args": [
2309 {
2310 "type": "i64",
2311 "value": "-1"
2312 },
2313 {
2314 "type": "i64",
2315 "value": "1"
2316 },
2317 {
2318 "type": "i32",
2319 "value": "0"
2320 }
2321 ]
2322 },
2323 "expected": [
2324 {
2325 "type": "i64",
2326 "value": "0"
2327 },
2328 {
2329 "type": "i32",
2330 "value": "1"
2331 }
2332 ]
2333 },
2334 {
2335 "type": "assert_return",
2336 "line": 696,
2337 "action": {
2338 "type": "invoke",
2339 "field": "add64_u_with_carry",
2340 "args": [
2341 {
2342 "type": "i64",
2343 "value": "-1"
2344 },
2345 {
2346 "type": "i64",
2347 "value": "-1"
2348 },
2349 {
2350 "type": "i32",
2351 "value": "0"
2352 }
2353 ]
2354 },
2355 "expected": [
2356 {
2357 "type": "i64",
2358 "value": "-2"
2359 },
2360 {
2361 "type": "i32",
2362 "value": "1"
2363 }
2364 ]
2365 },
2366 {
2367 "type": "assert_return",
2368 "line": 700,
2369 "action": {
2370 "type": "invoke",
2371 "field": "add64_u_with_carry",
2372 "args": [
2373 {
2374 "type": "i64",
2375 "value": "-1"
2376 },
2377 {
2378 "type": "i64",
2379 "value": "0"
2380 },
2381 {
2382 "type": "i32",
2383 "value": "1"
2384 }
2385 ]
2386 },
2387 "expected": [
2388 {
2389 "type": "i64",
2390 "value": "0"
2391 },
2392 {
2393 "type": "i32",
2394 "value": "1"
2395 }
2396 ]
2397 },
2398 {
2399 "type": "assert_return",
2400 "line": 704,
2401 "action": {
2402 "type": "invoke",
2403 "field": "add64_u_with_carry",
2404 "args": [
2405 {
2406 "type": "i64",
2407 "value": "-1"
2408 },
2409 {
2410 "type": "i64",
2411 "value": "1"
2412 },
2413 {
2414 "type": "i32",
2415 "value": "1"
2416 }
2417 ]
2418 },
2419 "expected": [
2420 {
2421 "type": "i64",
2422 "value": "1"
2423 },
2424 {
2425 "type": "i32",
2426 "value": "1"
2427 }
2428 ]
2429 },
2430 {
2431 "type": "assert_return",
2432 "line": 708,
2433 "action": {
2434 "type": "invoke",
2435 "field": "add64_u_with_carry",
2436 "args": [
2437 {
2438 "type": "i64",
2439 "value": "-9223372036854775808"
2440 },
2441 {
2442 "type": "i64",
2443 "value": "-9223372036854775808"
2444 },
2445 {
2446 "type": "i32",
2447 "value": "0"
2448 }
2449 ]
2450 },
2451 "expected": [
2452 {
2453 "type": "i64",
2454 "value": "0"
2455 },
2456 {
2457 "type": "i32",
2458 "value": "1"
2459 }
2460 ]
2461 },
2462 {
2463 "type": "assert_return",
2464 "line": 713,
2465 "action": {
2466 "type": "invoke",
2467 "field": "add64_u_saturated",
2468 "args": [
2469 {
2470 "type": "i64",
2471 "value": "0"
2472 },
2473 {
2474 "type": "i64",
2475 "value": "0"
2476 }
2477 ]
2478 },
2479 "expected": [
2480 {
2481 "type": "i64",
2482 "value": "0"
2483 }
2484 ]
2485 },
2486 {
2487 "type": "assert_return",
2488 "line": 716,
2489 "action": {
2490 "type": "invoke",
2491 "field": "add64_u_saturated",
2492 "args": [
2493 {
2494 "type": "i64",
2495 "value": "1230"
2496 },
2497 {
2498 "type": "i64",
2499 "value": "23"
2500 }
2501 ]
2502 },
2503 "expected": [
2504 {
2505 "type": "i64",
2506 "value": "1253"
2507 }
2508 ]
2509 },
2510 {
2511 "type": "assert_return",
2512 "line": 719,
2513 "action": {
2514 "type": "invoke",
2515 "field": "add64_u_saturated",
2516 "args": [
2517 {
2518 "type": "i64",
2519 "value": "-1"
2520 },
2521 {
2522 "type": "i64",
2523 "value": "0"
2524 }
2525 ]
2526 },
2527 "expected": [
2528 {
2529 "type": "i64",
2530 "value": "-1"
2531 }
2532 ]
2533 },
2534 {
2535 "type": "assert_return",
2536 "line": 722,
2537 "action": {
2538 "type": "invoke",
2539 "field": "add64_u_saturated",
2540 "args": [
2541 {
2542 "type": "i64",
2543 "value": "-1"
2544 },
2545 {
2546 "type": "i64",
2547 "value": "1"
2548 }
2549 ]
2550 },
2551 "expected": [
2552 {
2553 "type": "i64",
2554 "value": "-1"
2555 }
2556 ]
2557 },
2558 {
2559 "type": "assert_return",
2560 "line": 725,
2561 "action": {
2562 "type": "invoke",
2563 "field": "add64_u_saturated",
2564 "args": [
2565 {
2566 "type": "i64",
2567 "value": "-1"
2568 },
2569 {
2570 "type": "i64",
2571 "value": "-1"
2572 }
2573 ]
2574 },
2575 "expected": [
2576 {
2577 "type": "i64",
2578 "value": "-1"
2579 }
2580 ]
2581 },
2582 {
2583 "type": "assert_return",
2584 "line": 728,
2585 "action": {
2586 "type": "invoke",
2587 "field": "add64_u_saturated",
2588 "args": [
2589 {
2590 "type": "i64",
2591 "value": "-9223372036854775808"
2592 },
2593 {
2594 "type": "i64",
2595 "value": "-9223372036854775808"
2596 }
2597 ]
2598 },
2599 "expected": [
2600 {
2601 "type": "i64",
2602 "value": "-1"
2603 }
2604 ]
2605 },
2606 {
2607 "type": "assert_return",
2608 "line": 731,
2609 "action": {
2610 "type": "invoke",
2611 "field": "type-use",
2612 "args": []
2613 },
2614 "expected": []
2615 },
2616 {
2617 "type": "assert_return",
2618 "line": 733,
2619 "action": {
2620 "type": "invoke",
2621 "field": "atypical-condition",
2622 "args": []
2623 },
2624 "expected": []
2625 },
2626 {
2627 "type": "assert_malformed",
2628 "line": 736,
2629 "filename": "if.1.wat",
2630 "module_type": "text",
2631 "text": "unexpected token"
2632 },
2633 {
2634 "type": "assert_malformed",
2635 "line": 745,
2636 "filename": "if.2.wat",
2637 "module_type": "text",
2638 "text": "unexpected token"
2639 },
2640 {
2641 "type": "assert_malformed",
2642 "line": 754,
2643 "filename": "if.3.wat",
2644 "module_type": "text",
2645 "text": "unexpected token"
2646 },
2647 {
2648 "type": "assert_malformed",
2649 "line": 763,
2650 "filename": "if.4.wat",
2651 "module_type": "text",
2652 "text": "unexpected token"
2653 },
2654 {
2655 "type": "assert_malformed",
2656 "line": 772,
2657 "filename": "if.5.wat",
2658 "module_type": "text",
2659 "text": "unexpected token"
2660 },
2661 {
2662 "type": "assert_malformed",
2663 "line": 781,
2664 "filename": "if.6.wat",
2665 "module_type": "text",
2666 "text": "unexpected token"
2667 },
2668 {
2669 "type": "assert_malformed",
2670 "line": 788,
2671 "filename": "if.7.wat",
2672 "module_type": "text",
2673 "text": "unexpected token"
2674 },
2675 {
2676 "type": "assert_malformed",
2677 "line": 796,
2678 "filename": "if.8.wat",
2679 "module_type": "text",
2680 "text": "inline function type"
2681 },
2682 {
2683 "type": "assert_malformed",
2684 "line": 806,
2685 "filename": "if.9.wat",
2686 "module_type": "text",
2687 "text": "inline function type"
2688 },
2689 {
2690 "type": "assert_malformed",
2691 "line": 816,
2692 "filename": "if.10.wat",
2693 "module_type": "text",
2694 "text": "inline function type"
2695 },
2696 {
2697 "type": "assert_malformed",
2698 "line": 826,
2699 "filename": "if.11.wat",
2700 "module_type": "text",
2701 "text": "inline function type"
2702 },
2703 {
2704 "type": "assert_invalid",
2705 "line": 836,
2706 "filename": "if.12.wasm",
2707 "module_type": "binary",
2708 "text": "type mismatch"
2709 },
2710 {
2711 "type": "assert_invalid",
2712 "line": 844,
2713 "filename": "if.13.wasm",
2714 "module_type": "binary",
2715 "text": "type mismatch"
2716 },
2717 {
2718 "type": "assert_invalid",
2719 "line": 848,
2720 "filename": "if.14.wasm",
2721 "module_type": "binary",
2722 "text": "type mismatch"
2723 },
2724 {
2725 "type": "assert_invalid",
2726 "line": 852,
2727 "filename": "if.15.wasm",
2728 "module_type": "binary",
2729 "text": "type mismatch"
2730 },
2731 {
2732 "type": "assert_invalid",
2733 "line": 856,
2734 "filename": "if.16.wasm",
2735 "module_type": "binary",
2736 "text": "type mismatch"
2737 },
2738 {
2739 "type": "assert_invalid",
2740 "line": 861,
2741 "filename": "if.17.wasm",
2742 "module_type": "binary",
2743 "text": "type mismatch"
2744 },
2745 {
2746 "type": "assert_invalid",
2747 "line": 865,
2748 "filename": "if.18.wasm",
2749 "module_type": "binary",
2750 "text": "type mismatch"
2751 },
2752 {
2753 "type": "assert_invalid",
2754 "line": 869,
2755 "filename": "if.19.wasm",
2756 "module_type": "binary",
2757 "text": "type mismatch"
2758 },
2759 {
2760 "type": "assert_invalid",
2761 "line": 873,
2762 "filename": "if.20.wasm",
2763 "module_type": "binary",
2764 "text": "type mismatch"
2765 },
2766 {
2767 "type": "assert_invalid",
2768 "line": 878,
2769 "filename": "if.21.wasm",
2770 "module_type": "binary",
2771 "text": "type mismatch"
2772 },
2773 {
2774 "type": "assert_invalid",
2775 "line": 884,
2776 "filename": "if.22.wasm",
2777 "module_type": "binary",
2778 "text": "type mismatch"
2779 },
2780 {
2781 "type": "assert_invalid",
2782 "line": 890,
2783 "filename": "if.23.wasm",
2784 "module_type": "binary",
2785 "text": "type mismatch"
2786 },
2787 {
2788 "type": "assert_invalid",
2789 "line": 896,
2790 "filename": "if.24.wasm",
2791 "module_type": "binary",
2792 "text": "type mismatch"
2793 },
2794 {
2795 "type": "assert_invalid",
2796 "line": 903,
2797 "filename": "if.25.wasm",
2798 "module_type": "binary",
2799 "text": "type mismatch"
2800 },
2801 {
2802 "type": "assert_invalid",
2803 "line": 909,
2804 "filename": "if.26.wasm",
2805 "module_type": "binary",
2806 "text": "type mismatch"
2807 },
2808 {
2809 "type": "assert_invalid",
2810 "line": 915,
2811 "filename": "if.27.wasm",
2812 "module_type": "binary",
2813 "text": "type mismatch"
2814 },
2815 {
2816 "type": "assert_invalid",
2817 "line": 921,
2818 "filename": "if.28.wasm",
2819 "module_type": "binary",
2820 "text": "type mismatch"
2821 },
2822 {
2823 "type": "assert_invalid",
2824 "line": 928,
2825 "filename": "if.29.wasm",
2826 "module_type": "binary",
2827 "text": "type mismatch"
2828 },
2829 {
2830 "type": "assert_invalid",
2831 "line": 934,
2832 "filename": "if.30.wasm",
2833 "module_type": "binary",
2834 "text": "type mismatch"
2835 },
2836 {
2837 "type": "assert_invalid",
2838 "line": 940,
2839 "filename": "if.31.wasm",
2840 "module_type": "binary",
2841 "text": "type mismatch"
2842 },
2843 {
2844 "type": "assert_invalid",
2845 "line": 947,
2846 "filename": "if.32.wasm",
2847 "module_type": "binary",
2848 "text": "type mismatch"
2849 },
2850 {
2851 "type": "assert_invalid",
2852 "line": 953,
2853 "filename": "if.33.wasm",
2854 "module_type": "binary",
2855 "text": "type mismatch"
2856 },
2857 {
2858 "type": "assert_invalid",
2859 "line": 959,
2860 "filename": "if.34.wasm",
2861 "module_type": "binary",
2862 "text": "type mismatch"
2863 },
2864 {
2865 "type": "assert_invalid",
2866 "line": 966,
2867 "filename": "if.35.wasm",
2868 "module_type": "binary",
2869 "text": "type mismatch"
2870 },
2871 {
2872 "type": "assert_invalid",
2873 "line": 972,
2874 "filename": "if.36.wasm",
2875 "module_type": "binary",
2876 "text": "type mismatch"
2877 },
2878 {
2879 "type": "assert_invalid",
2880 "line": 979,
2881 "filename": "if.37.wasm",
2882 "module_type": "binary",
2883 "text": "type mismatch"
2884 },
2885 {
2886 "type": "assert_invalid",
2887 "line": 985,
2888 "filename": "if.38.wasm",
2889 "module_type": "binary",
2890 "text": "type mismatch"
2891 },
2892 {
2893 "type": "assert_invalid",
2894 "line": 991,
2895 "filename": "if.39.wasm",
2896 "module_type": "binary",
2897 "text": "type mismatch"
2898 },
2899 {
2900 "type": "assert_invalid",
2901 "line": 998,
2902 "filename": "if.40.wasm",
2903 "module_type": "binary",
2904 "text": "type mismatch"
2905 },
2906 {
2907 "type": "assert_invalid",
2908 "line": 1004,
2909 "filename": "if.41.wasm",
2910 "module_type": "binary",
2911 "text": "type mismatch"
2912 },
2913 {
2914 "type": "assert_invalid",
2915 "line": 1010,
2916 "filename": "if.42.wasm",
2917 "module_type": "binary",
2918 "text": "type mismatch"
2919 },
2920 {
2921 "type": "assert_invalid",
2922 "line": 1017,
2923 "filename": "if.43.wasm",
2924 "module_type": "binary",
2925 "text": "type mismatch"
2926 },
2927 {
2928 "type": "assert_invalid",
2929 "line": 1023,
2930 "filename": "if.44.wasm",
2931 "module_type": "binary",
2932 "text": "type mismatch"
2933 },
2934 {
2935 "type": "assert_invalid",
2936 "line": 1029,
2937 "filename": "if.45.wasm",
2938 "module_type": "binary",
2939 "text": "type mismatch"
2940 },
2941 {
2942 "type": "assert_invalid",
2943 "line": 1036,
2944 "filename": "if.46.wasm",
2945 "module_type": "binary",
2946 "text": "type mismatch"
2947 },
2948 {
2949 "type": "assert_invalid",
2950 "line": 1042,
2951 "filename": "if.47.wasm",
2952 "module_type": "binary",
2953 "text": "type mismatch"
2954 },
2955 {
2956 "type": "assert_invalid",
2957 "line": 1048,
2958 "filename": "if.48.wasm",
2959 "module_type": "binary",
2960 "text": "type mismatch"
2961 },
2962 {
2963 "type": "assert_invalid",
2964 "line": 1055,
2965 "filename": "if.49.wasm",
2966 "module_type": "binary",
2967 "text": "type mismatch"
2968 },
2969 {
2970 "type": "assert_invalid",
2971 "line": 1062,
2972 "filename": "if.50.wasm",
2973 "module_type": "binary",
2974 "text": "type mismatch"
2975 },
2976 {
2977 "type": "assert_invalid",
2978 "line": 1069,
2979 "filename": "if.51.wasm",
2980 "module_type": "binary",
2981 "text": "type mismatch"
2982 },
2983 {
2984 "type": "assert_invalid",
2985 "line": 1077,
2986 "filename": "if.52.wasm",
2987 "module_type": "binary",
2988 "text": "type mismatch"
2989 },
2990 {
2991 "type": "assert_invalid",
2992 "line": 1083,
2993 "filename": "if.53.wasm",
2994 "module_type": "binary",
2995 "text": "type mismatch"
2996 },
2997 {
2998 "type": "assert_invalid",
2999 "line": 1089,
3000 "filename": "if.54.wasm",
3001 "module_type": "binary",
3002 "text": "type mismatch"
3003 },
3004 {
3005 "type": "assert_invalid",
3006 "line": 1096,
3007 "filename": "if.55.wasm",
3008 "module_type": "binary",
3009 "text": "type mismatch"
3010 },
3011 {
3012 "type": "assert_invalid",
3013 "line": 1102,
3014 "filename": "if.56.wasm",
3015 "module_type": "binary",
3016 "text": "type mismatch"
3017 },
3018 {
3019 "type": "assert_invalid",
3020 "line": 1109,
3021 "filename": "if.57.wasm",
3022 "module_type": "binary",
3023 "text": "type mismatch"
3024 },
3025 {
3026 "type": "assert_invalid",
3027 "line": 1119,
3028 "filename": "if.58.wasm",
3029 "module_type": "binary",
3030 "text": "type mismatch"
3031 },
3032 {
3033 "type": "assert_invalid",
3034 "line": 1129,
3035 "filename": "if.59.wasm",
3036 "module_type": "binary",
3037 "text": "type mismatch"
3038 },
3039 {
3040 "type": "assert_invalid",
3041 "line": 1140,
3042 "filename": "if.60.wasm",
3043 "module_type": "binary",
3044 "text": "type mismatch"
3045 },
3046 {
3047 "type": "assert_invalid",
3048 "line": 1146,
3049 "filename": "if.61.wasm",
3050 "module_type": "binary",
3051 "text": "type mismatch"
3052 },
3053 {
3054 "type": "assert_invalid",
3055 "line": 1152,
3056 "filename": "if.62.wasm",
3057 "module_type": "binary",
3058 "text": "type mismatch"
3059 },
3060 {
3061 "type": "assert_invalid",
3062 "line": 1158,
3063 "filename": "if.63.wasm",
3064 "module_type": "binary",
3065 "text": "type mismatch"
3066 },
3067 {
3068 "type": "assert_invalid",
3069 "line": 1165,
3070 "filename": "if.64.wasm",
3071 "module_type": "binary",
3072 "text": "type mismatch"
3073 },
3074 {
3075 "type": "assert_invalid",
3076 "line": 1174,
3077 "filename": "if.65.wasm",
3078 "module_type": "binary",
3079 "text": "type mismatch"
3080 },
3081 {
3082 "type": "assert_invalid",
3083 "line": 1183,
3084 "filename": "if.66.wasm",
3085 "module_type": "binary",
3086 "text": "type mismatch"
3087 },
3088 {
3089 "type": "assert_invalid",
3090 "line": 1192,
3091 "filename": "if.67.wasm",
3092 "module_type": "binary",
3093 "text": "type mismatch"
3094 },
3095 {
3096 "type": "assert_invalid",
3097 "line": 1202,
3098 "filename": "if.68.wasm",
3099 "module_type": "binary",
3100 "text": "type mismatch"
3101 },
3102 {
3103 "type": "assert_invalid",
3104 "line": 1211,
3105 "filename": "if.69.wasm",
3106 "module_type": "binary",
3107 "text": "type mismatch"
3108 },
3109 {
3110 "type": "assert_invalid",
3111 "line": 1220,
3112 "filename": "if.70.wasm",
3113 "module_type": "binary",
3114 "text": "type mismatch"
3115 },
3116 {
3117 "type": "assert_invalid",
3118 "line": 1229,
3119 "filename": "if.71.wasm",
3120 "module_type": "binary",
3121 "text": "type mismatch"
3122 },
3123 {
3124 "type": "assert_invalid",
3125 "line": 1239,
3126 "filename": "if.72.wasm",
3127 "module_type": "binary",
3128 "text": "type mismatch"
3129 },
3130 {
3131 "type": "assert_invalid",
3132 "line": 1248,
3133 "filename": "if.73.wasm",
3134 "module_type": "binary",
3135 "text": "type mismatch"
3136 },
3137 {
3138 "type": "assert_invalid",
3139 "line": 1257,
3140 "filename": "if.74.wasm",
3141 "module_type": "binary",
3142 "text": "type mismatch"
3143 },
3144 {
3145 "type": "assert_invalid",
3146 "line": 1266,
3147 "filename": "if.75.wasm",
3148 "module_type": "binary",
3149 "text": "type mismatch"
3150 },
3151 {
3152 "type": "assert_invalid",
3153 "line": 1275,
3154 "filename": "if.76.wasm",
3155 "module_type": "binary",
3156 "text": "type mismatch"
3157 },
3158 {
3159 "type": "assert_invalid",
3160 "line": 1285,
3161 "filename": "if.77.wasm",
3162 "module_type": "binary",
3163 "text": "type mismatch"
3164 },
3165 {
3166 "type": "assert_invalid",
3167 "line": 1296,
3168 "filename": "if.78.wasm",
3169 "module_type": "binary",
3170 "text": "type mismatch"
3171 },
3172 {
3173 "type": "assert_invalid",
3174 "line": 1304,
3175 "filename": "if.79.wasm",
3176 "module_type": "binary",
3177 "text": "type mismatch"
3178 },
3179 {
3180 "type": "assert_invalid",
3181 "line": 1313,
3182 "filename": "if.80.wasm",
3183 "module_type": "binary",
3184 "text": "type mismatch"
3185 },
3186 {
3187 "type": "assert_invalid",
3188 "line": 1322,
3189 "filename": "if.81.wasm",
3190 "module_type": "binary",
3191 "text": "type mismatch"
3192 },
3193 {
3194 "type": "assert_invalid",
3195 "line": 1331,
3196 "filename": "if.82.wasm",
3197 "module_type": "binary",
3198 "text": "type mismatch"
3199 },
3200 {
3201 "type": "assert_invalid",
3202 "line": 1341,
3203 "filename": "if.83.wasm",
3204 "module_type": "binary",
3205 "text": "type mismatch"
3206 },
3207 {
3208 "type": "assert_invalid",
3209 "line": 1350,
3210 "filename": "if.84.wasm",
3211 "module_type": "binary",
3212 "text": "type mismatch"
3213 },
3214 {
3215 "type": "assert_invalid",
3216 "line": 1359,
3217 "filename": "if.85.wasm",
3218 "module_type": "binary",
3219 "text": "type mismatch"
3220 },
3221 {
3222 "type": "assert_invalid",
3223 "line": 1368,
3224 "filename": "if.86.wasm",
3225 "module_type": "binary",
3226 "text": "type mismatch"
3227 },
3228 {
3229 "type": "assert_invalid",
3230 "line": 1376,
3231 "filename": "if.87.wasm",
3232 "module_type": "binary",
3233 "text": "type mismatch"
3234 },
3235 {
3236 "type": "assert_invalid",
3237 "line": 1384,
3238 "filename": "if.88.wasm",
3239 "module_type": "binary",
3240 "text": "type mismatch"
3241 },
3242 {
3243 "type": "assert_invalid",
3244 "line": 1393,
3245 "filename": "if.89.wasm",
3246 "module_type": "binary",
3247 "text": "type mismatch"
3248 },
3249 {
3250 "type": "assert_invalid",
3251 "line": 1409,
3252 "filename": "if.90.wasm",
3253 "module_type": "binary",
3254 "text": "type mismatch"
3255 },
3256 {
3257 "type": "assert_invalid",
3258 "line": 1418,
3259 "filename": "if.91.wasm",
3260 "module_type": "binary",
3261 "text": "type mismatch"
3262 },
3263 {
3264 "type": "assert_invalid",
3265 "line": 1427,
3266 "filename": "if.92.wasm",
3267 "module_type": "binary",
3268 "text": "type mismatch"
3269 },
3270 {
3271 "type": "assert_invalid",
3272 "line": 1436,
3273 "filename": "if.93.wasm",
3274 "module_type": "binary",
3275 "text": "type mismatch"
3276 },
3277 {
3278 "type": "assert_invalid",
3279 "line": 1445,
3280 "filename": "if.94.wasm",
3281 "module_type": "binary",
3282 "text": "type mismatch"
3283 },
3284 {
3285 "type": "assert_invalid",
3286 "line": 1454,
3287 "filename": "if.95.wasm",
3288 "module_type": "binary",
3289 "text": "type mismatch"
3290 },
3291 {
3292 "type": "assert_invalid",
3293 "line": 1464,
3294 "filename": "if.96.wasm",
3295 "module_type": "binary",
3296 "text": "type mismatch"
3297 },
3298 {
3299 "type": "assert_invalid",
3300 "line": 1470,
3301 "filename": "if.97.wasm",
3302 "module_type": "binary",
3303 "text": "type mismatch"
3304 },
3305 {
3306 "type": "assert_invalid",
3307 "line": 1476,
3308 "filename": "if.98.wasm",
3309 "module_type": "binary",
3310 "text": "type mismatch"
3311 },
3312 {
3313 "type": "assert_invalid",
3314 "line": 1482,
3315 "filename": "if.99.wasm",
3316 "module_type": "binary",
3317 "text": "type mismatch"
3318 },
3319 {
3320 "type": "assert_invalid",
3321 "line": 1488,
3322 "filename": "if.100.wasm",
3323 "module_type": "binary",
3324 "text": "type mismatch"
3325 },
3326 {
3327 "type": "assert_invalid",
3328 "line": 1494,
3329 "filename": "if.101.wasm",
3330 "module_type": "binary",
3331 "text": "type mismatch"
3332 },
3333 {
3334 "type": "assert_invalid",
3335 "line": 1500,
3336 "filename": "if.102.wasm",
3337 "module_type": "binary",
3338 "text": "type mismatch"
3339 },
3340 {
3341 "type": "assert_invalid",
3342 "line": 1506,
3343 "filename": "if.103.wasm",
3344 "module_type": "binary",
3345 "text": "type mismatch"
3346 },
3347 {
3348 "type": "assert_malformed",
3349 "line": 1513,
3350 "filename": "if.104.wat",
3351 "module_type": "text",
3352 "text": "unexpected token"
3353 },
3354 {
3355 "type": "assert_malformed",
3356 "line": 1517,
3357 "filename": "if.105.wat",
3358 "module_type": "text",
3359 "text": "unexpected token"
3360 },
3361 {
3362 "type": "assert_malformed",
3363 "line": 1522,
3364 "filename": "if.106.wat",
3365 "module_type": "text",
3366 "text": "mismatching label"
3367 },
3368 {
3369 "type": "assert_malformed",
3370 "line": 1526,
3371 "filename": "if.107.wat",
3372 "module_type": "text",
3373 "text": "mismatching label"
3374 },
3375 {
3376 "type": "assert_malformed",
3377 "line": 1530,
3378 "filename": "if.108.wat",
3379 "module_type": "text",
3380 "text": "mismatching label"
3381 },
3382 {
3383 "type": "assert_malformed",
3384 "line": 1534,
3385 "filename": "if.109.wat",
3386 "module_type": "text",
3387 "text": "mismatching label"
3388 },
3389 {
3390 "type": "assert_malformed",
3391 "line": 1538,
3392 "filename": "if.110.wat",
3393 "module_type": "text",
3394 "text": "mismatching label"
3395 },
3396 {
3397 "type": "assert_malformed",
3398 "line": 1542,
3399 "filename": "if.111.wat",
3400 "module_type": "text",
3401 "text": "mismatching label"
3402 },
3403 {
3404 "type": "assert_malformed",
3405 "line": 1546,
3406 "filename": "if.112.wat",
3407 "module_type": "text",
3408 "text": "mismatching label"
3409 },
3410 {
3411 "type": "assert_malformed",
3412 "line": 1550,
3413 "filename": "if.113.wat",
3414 "module_type": "text",
3415 "text": "mismatching label"
3416 },
3417 {
3418 "type": "assert_malformed",
3419 "line": 1554,
3420 "filename": "if.114.wat",
3421 "module_type": "text",
3422 "text": "mismatching label"
3423 },
3424 {
3425 "type": "assert_malformed",
3426 "line": 1558,
3427 "filename": "if.115.wat",
3428 "module_type": "text",
3429 "text": "mismatching label"
3430 },
3431 {
3432 "type": "assert_malformed",
3433 "line": 1562,
3434 "filename": "if.116.wat",
3435 "module_type": "text",
3436 "text": "unexpected token"
3437 }
3438 ]
3439 }