Debian Codegraph @

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

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