Debian Codegraph @

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

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