Debian Codegraph @

tests/snapshots/testsuite/call_indirect.wast.json

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