Debian Codegraph @

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

raw
1 {
2 "source_filename": "tests/testsuite/proposals/wasm-3.0/table_fill.wast",
3 "commands": [
4 {
5 "type": "module",
6 "line": 1,
7 "filename": "table_fill.0.wasm",
8 "module_type": "binary"
9 },
10 {
11 "type": "assert_return",
12 "line": 27,
13 "action": {
14 "type": "invoke",
15 "field": "get",
16 "args": [
17 {
18 "type": "i32",
19 "value": "1"
20 }
21 ]
22 },
23 "expected": [
24 {
25 "type": "externref",
26 "value": "null"
27 }
28 ]
29 },
30 {
31 "type": "assert_return",
32 "line": 28,
33 "action": {
34 "type": "invoke",
35 "field": "get",
36 "args": [
37 {
38 "type": "i32",
39 "value": "2"
40 }
41 ]
42 },
43 "expected": [
44 {
45 "type": "externref",
46 "value": "null"
47 }
48 ]
49 },
50 {
51 "type": "assert_return",
52 "line": 29,
53 "action": {
54 "type": "invoke",
55 "field": "get",
56 "args": [
57 {
58 "type": "i32",
59 "value": "3"
60 }
61 ]
62 },
63 "expected": [
64 {
65 "type": "externref",
66 "value": "null"
67 }
68 ]
69 },
70 {
71 "type": "assert_return",
72 "line": 30,
73 "action": {
74 "type": "invoke",
75 "field": "get",
76 "args": [
77 {
78 "type": "i32",
79 "value": "4"
80 }
81 ]
82 },
83 "expected": [
84 {
85 "type": "externref",
86 "value": "null"
87 }
88 ]
89 },
90 {
91 "type": "assert_return",
92 "line": 31,
93 "action": {
94 "type": "invoke",
95 "field": "get",
96 "args": [
97 {
98 "type": "i32",
99 "value": "5"
100 }
101 ]
102 },
103 "expected": [
104 {
105 "type": "externref",
106 "value": "null"
107 }
108 ]
109 },
110 {
111 "type": "assert_return",
112 "line": 33,
113 "action": {
114 "type": "invoke",
115 "field": "fill",
116 "args": [
117 {
118 "type": "i32",
119 "value": "2"
120 },
121 {
122 "type": "externref",
123 "value": "1"
124 },
125 {
126 "type": "i32",
127 "value": "3"
128 }
129 ]
130 },
131 "expected": []
132 },
133 {
134 "type": "assert_return",
135 "line": 34,
136 "action": {
137 "type": "invoke",
138 "field": "get",
139 "args": [
140 {
141 "type": "i32",
142 "value": "1"
143 }
144 ]
145 },
146 "expected": [
147 {
148 "type": "externref",
149 "value": "null"
150 }
151 ]
152 },
153 {
154 "type": "assert_return",
155 "line": 35,
156 "action": {
157 "type": "invoke",
158 "field": "get",
159 "args": [
160 {
161 "type": "i32",
162 "value": "2"
163 }
164 ]
165 },
166 "expected": [
167 {
168 "type": "externref",
169 "value": "1"
170 }
171 ]
172 },
173 {
174 "type": "assert_return",
175 "line": 36,
176 "action": {
177 "type": "invoke",
178 "field": "get",
179 "args": [
180 {
181 "type": "i32",
182 "value": "3"
183 }
184 ]
185 },
186 "expected": [
187 {
188 "type": "externref",
189 "value": "1"
190 }
191 ]
192 },
193 {
194 "type": "assert_return",
195 "line": 37,
196 "action": {
197 "type": "invoke",
198 "field": "get",
199 "args": [
200 {
201 "type": "i32",
202 "value": "4"
203 }
204 ]
205 },
206 "expected": [
207 {
208 "type": "externref",
209 "value": "1"
210 }
211 ]
212 },
213 {
214 "type": "assert_return",
215 "line": 38,
216 "action": {
217 "type": "invoke",
218 "field": "get",
219 "args": [
220 {
221 "type": "i32",
222 "value": "5"
223 }
224 ]
225 },
226 "expected": [
227 {
228 "type": "externref",
229 "value": "null"
230 }
231 ]
232 },
233 {
234 "type": "assert_return",
235 "line": 40,
236 "action": {
237 "type": "invoke",
238 "field": "fill",
239 "args": [
240 {
241 "type": "i32",
242 "value": "4"
243 },
244 {
245 "type": "externref",
246 "value": "2"
247 },
248 {
249 "type": "i32",
250 "value": "2"
251 }
252 ]
253 },
254 "expected": []
255 },
256 {
257 "type": "assert_return",
258 "line": 41,
259 "action": {
260 "type": "invoke",
261 "field": "get",
262 "args": [
263 {
264 "type": "i32",
265 "value": "3"
266 }
267 ]
268 },
269 "expected": [
270 {
271 "type": "externref",
272 "value": "1"
273 }
274 ]
275 },
276 {
277 "type": "assert_return",
278 "line": 42,
279 "action": {
280 "type": "invoke",
281 "field": "get",
282 "args": [
283 {
284 "type": "i32",
285 "value": "4"
286 }
287 ]
288 },
289 "expected": [
290 {
291 "type": "externref",
292 "value": "2"
293 }
294 ]
295 },
296 {
297 "type": "assert_return",
298 "line": 43,
299 "action": {
300 "type": "invoke",
301 "field": "get",
302 "args": [
303 {
304 "type": "i32",
305 "value": "5"
306 }
307 ]
308 },
309 "expected": [
310 {
311 "type": "externref",
312 "value": "2"
313 }
314 ]
315 },
316 {
317 "type": "assert_return",
318 "line": 44,
319 "action": {
320 "type": "invoke",
321 "field": "get",
322 "args": [
323 {
324 "type": "i32",
325 "value": "6"
326 }
327 ]
328 },
329 "expected": [
330 {
331 "type": "externref",
332 "value": "null"
333 }
334 ]
335 },
336 {
337 "type": "assert_return",
338 "line": 46,
339 "action": {
340 "type": "invoke",
341 "field": "fill",
342 "args": [
343 {
344 "type": "i32",
345 "value": "4"
346 },
347 {
348 "type": "externref",
349 "value": "3"
350 },
351 {
352 "type": "i32",
353 "value": "0"
354 }
355 ]
356 },
357 "expected": []
358 },
359 {
360 "type": "assert_return",
361 "line": 47,
362 "action": {
363 "type": "invoke",
364 "field": "get",
365 "args": [
366 {
367 "type": "i32",
368 "value": "3"
369 }
370 ]
371 },
372 "expected": [
373 {
374 "type": "externref",
375 "value": "1"
376 }
377 ]
378 },
379 {
380 "type": "assert_return",
381 "line": 48,
382 "action": {
383 "type": "invoke",
384 "field": "get",
385 "args": [
386 {
387 "type": "i32",
388 "value": "4"
389 }
390 ]
391 },
392 "expected": [
393 {
394 "type": "externref",
395 "value": "2"
396 }
397 ]
398 },
399 {
400 "type": "assert_return",
401 "line": 49,
402 "action": {
403 "type": "invoke",
404 "field": "get",
405 "args": [
406 {
407 "type": "i32",
408 "value": "5"
409 }
410 ]
411 },
412 "expected": [
413 {
414 "type": "externref",
415 "value": "2"
416 }
417 ]
418 },
419 {
420 "type": "assert_return",
421 "line": 51,
422 "action": {
423 "type": "invoke",
424 "field": "fill",
425 "args": [
426 {
427 "type": "i32",
428 "value": "8"
429 },
430 {
431 "type": "externref",
432 "value": "4"
433 },
434 {
435 "type": "i32",
436 "value": "2"
437 }
438 ]
439 },
440 "expected": []
441 },
442 {
443 "type": "assert_return",
444 "line": 52,
445 "action": {
446 "type": "invoke",
447 "field": "get",
448 "args": [
449 {
450 "type": "i32",
451 "value": "7"
452 }
453 ]
454 },
455 "expected": [
456 {
457 "type": "externref",
458 "value": "null"
459 }
460 ]
461 },
462 {
463 "type": "assert_return",
464 "line": 53,
465 "action": {
466 "type": "invoke",
467 "field": "get",
468 "args": [
469 {
470 "type": "i32",
471 "value": "8"
472 }
473 ]
474 },
475 "expected": [
476 {
477 "type": "externref",
478 "value": "4"
479 }
480 ]
481 },
482 {
483 "type": "assert_return",
484 "line": 54,
485 "action": {
486 "type": "invoke",
487 "field": "get",
488 "args": [
489 {
490 "type": "i32",
491 "value": "9"
492 }
493 ]
494 },
495 "expected": [
496 {
497 "type": "externref",
498 "value": "4"
499 }
500 ]
501 },
502 {
503 "type": "assert_return",
504 "line": 56,
505 "action": {
506 "type": "invoke",
507 "field": "fill-abbrev",
508 "args": [
509 {
510 "type": "i32",
511 "value": "9"
512 },
513 {
514 "type": "externref",
515 "value": "null"
516 },
517 {
518 "type": "i32",
519 "value": "1"
520 }
521 ]
522 },
523 "expected": []
524 },
525 {
526 "type": "assert_return",
527 "line": 57,
528 "action": {
529 "type": "invoke",
530 "field": "get",
531 "args": [
532 {
533 "type": "i32",
534 "value": "8"
535 }
536 ]
537 },
538 "expected": [
539 {
540 "type": "externref",
541 "value": "4"
542 }
543 ]
544 },
545 {
546 "type": "assert_return",
547 "line": 58,
548 "action": {
549 "type": "invoke",
550 "field": "get",
551 "args": [
552 {
553 "type": "i32",
554 "value": "9"
555 }
556 ]
557 },
558 "expected": [
559 {
560 "type": "externref",
561 "value": "null"
562 }
563 ]
564 },
565 {
566 "type": "assert_return",
567 "line": 60,
568 "action": {
569 "type": "invoke",
570 "field": "fill",
571 "args": [
572 {
573 "type": "i32",
574 "value": "10"
575 },
576 {
577 "type": "externref",
578 "value": "5"
579 },
580 {
581 "type": "i32",
582 "value": "0"
583 }
584 ]
585 },
586 "expected": []
587 },
588 {
589 "type": "assert_return",
590 "line": 61,
591 "action": {
592 "type": "invoke",
593 "field": "get",
594 "args": [
595 {
596 "type": "i32",
597 "value": "9"
598 }
599 ]
600 },
601 "expected": [
602 {
603 "type": "externref",
604 "value": "null"
605 }
606 ]
607 },
608 {
609 "type": "assert_trap",
610 "line": 64,
611 "action": {
612 "type": "invoke",
613 "field": "fill",
614 "args": [
615 {
616 "type": "i32",
617 "value": "8"
618 },
619 {
620 "type": "externref",
621 "value": "6"
622 },
623 {
624 "type": "i32",
625 "value": "3"
626 }
627 ]
628 },
629 "text": "out of bounds table access"
630 },
631 {
632 "type": "assert_return",
633 "line": 67,
634 "action": {
635 "type": "invoke",
636 "field": "get",
637 "args": [
638 {
639 "type": "i32",
640 "value": "7"
641 }
642 ]
643 },
644 "expected": [
645 {
646 "type": "externref",
647 "value": "null"
648 }
649 ]
650 },
651 {
652 "type": "assert_return",
653 "line": 68,
654 "action": {
655 "type": "invoke",
656 "field": "get",
657 "args": [
658 {
659 "type": "i32",
660 "value": "8"
661 }
662 ]
663 },
664 "expected": [
665 {
666 "type": "externref",
667 "value": "4"
668 }
669 ]
670 },
671 {
672 "type": "assert_return",
673 "line": 69,
674 "action": {
675 "type": "invoke",
676 "field": "get",
677 "args": [
678 {
679 "type": "i32",
680 "value": "9"
681 }
682 ]
683 },
684 "expected": [
685 {
686 "type": "externref",
687 "value": "null"
688 }
689 ]
690 },
691 {
692 "type": "assert_trap",
693 "line": 72,
694 "action": {
695 "type": "invoke",
696 "field": "fill",
697 "args": [
698 {
699 "type": "i32",
700 "value": "11"
701 },
702 {
703 "type": "externref",
704 "value": "null"
705 },
706 {
707 "type": "i32",
708 "value": "0"
709 }
710 ]
711 },
712 "text": "out of bounds table access"
713 },
714 {
715 "type": "assert_trap",
716 "line": 77,
717 "action": {
718 "type": "invoke",
719 "field": "fill",
720 "args": [
721 {
722 "type": "i32",
723 "value": "11"
724 },
725 {
726 "type": "externref",
727 "value": "null"
728 },
729 {
730 "type": "i32",
731 "value": "10"
732 }
733 ]
734 },
735 "text": "out of bounds table access"
736 },
737 {
738 "type": "assert_return",
739 "line": 83,
740 "action": {
741 "type": "invoke",
742 "field": "get-t64",
743 "args": [
744 {
745 "type": "i64",
746 "value": "1"
747 }
748 ]
749 },
750 "expected": [
751 {
752 "type": "externref",
753 "value": "null"
754 }
755 ]
756 },
757 {
758 "type": "assert_return",
759 "line": 84,
760 "action": {
761 "type": "invoke",
762 "field": "get-t64",
763 "args": [
764 {
765 "type": "i64",
766 "value": "2"
767 }
768 ]
769 },
770 "expected": [
771 {
772 "type": "externref",
773 "value": "null"
774 }
775 ]
776 },
777 {
778 "type": "assert_return",
779 "line": 85,
780 "action": {
781 "type": "invoke",
782 "field": "get-t64",
783 "args": [
784 {
785 "type": "i64",
786 "value": "3"
787 }
788 ]
789 },
790 "expected": [
791 {
792 "type": "externref",
793 "value": "null"
794 }
795 ]
796 },
797 {
798 "type": "assert_return",
799 "line": 86,
800 "action": {
801 "type": "invoke",
802 "field": "get-t64",
803 "args": [
804 {
805 "type": "i64",
806 "value": "4"
807 }
808 ]
809 },
810 "expected": [
811 {
812 "type": "externref",
813 "value": "null"
814 }
815 ]
816 },
817 {
818 "type": "assert_return",
819 "line": 87,
820 "action": {
821 "type": "invoke",
822 "field": "get-t64",
823 "args": [
824 {
825 "type": "i64",
826 "value": "5"
827 }
828 ]
829 },
830 "expected": [
831 {
832 "type": "externref",
833 "value": "null"
834 }
835 ]
836 },
837 {
838 "type": "assert_return",
839 "line": 89,
840 "action": {
841 "type": "invoke",
842 "field": "fill-t64",
843 "args": [
844 {
845 "type": "i64",
846 "value": "2"
847 },
848 {
849 "type": "externref",
850 "value": "1"
851 },
852 {
853 "type": "i64",
854 "value": "3"
855 }
856 ]
857 },
858 "expected": []
859 },
860 {
861 "type": "assert_return",
862 "line": 90,
863 "action": {
864 "type": "invoke",
865 "field": "get-t64",
866 "args": [
867 {
868 "type": "i64",
869 "value": "1"
870 }
871 ]
872 },
873 "expected": [
874 {
875 "type": "externref",
876 "value": "null"
877 }
878 ]
879 },
880 {
881 "type": "assert_return",
882 "line": 91,
883 "action": {
884 "type": "invoke",
885 "field": "get-t64",
886 "args": [
887 {
888 "type": "i64",
889 "value": "2"
890 }
891 ]
892 },
893 "expected": [
894 {
895 "type": "externref",
896 "value": "1"
897 }
898 ]
899 },
900 {
901 "type": "assert_return",
902 "line": 92,
903 "action": {
904 "type": "invoke",
905 "field": "get-t64",
906 "args": [
907 {
908 "type": "i64",
909 "value": "3"
910 }
911 ]
912 },
913 "expected": [
914 {
915 "type": "externref",
916 "value": "1"
917 }
918 ]
919 },
920 {
921 "type": "assert_return",
922 "line": 93,
923 "action": {
924 "type": "invoke",
925 "field": "get-t64",
926 "args": [
927 {
928 "type": "i64",
929 "value": "4"
930 }
931 ]
932 },
933 "expected": [
934 {
935 "type": "externref",
936 "value": "1"
937 }
938 ]
939 },
940 {
941 "type": "assert_return",
942 "line": 94,
943 "action": {
944 "type": "invoke",
945 "field": "get-t64",
946 "args": [
947 {
948 "type": "i64",
949 "value": "5"
950 }
951 ]
952 },
953 "expected": [
954 {
955 "type": "externref",
956 "value": "null"
957 }
958 ]
959 },
960 {
961 "type": "assert_return",
962 "line": 96,
963 "action": {
964 "type": "invoke",
965 "field": "fill-t64",
966 "args": [
967 {
968 "type": "i64",
969 "value": "4"
970 },
971 {
972 "type": "externref",
973 "value": "2"
974 },
975 {
976 "type": "i64",
977 "value": "2"
978 }
979 ]
980 },
981 "expected": []
982 },
983 {
984 "type": "assert_return",
985 "line": 97,
986 "action": {
987 "type": "invoke",
988 "field": "get-t64",
989 "args": [
990 {
991 "type": "i64",
992 "value": "3"
993 }
994 ]
995 },
996 "expected": [
997 {
998 "type": "externref",
999 "value": "1"
1000 }
1001 ]
1002 },
1003 {
1004 "type": "assert_return",
1005 "line": 98,
1006 "action": {
1007 "type": "invoke",
1008 "field": "get-t64",
1009 "args": [
1010 {
1011 "type": "i64",
1012 "value": "4"
1013 }
1014 ]
1015 },
1016 "expected": [
1017 {
1018 "type": "externref",
1019 "value": "2"
1020 }
1021 ]
1022 },
1023 {
1024 "type": "assert_return",
1025 "line": 99,
1026 "action": {
1027 "type": "invoke",
1028 "field": "get-t64",
1029 "args": [
1030 {
1031 "type": "i64",
1032 "value": "5"
1033 }
1034 ]
1035 },
1036 "expected": [
1037 {
1038 "type": "externref",
1039 "value": "2"
1040 }
1041 ]
1042 },
1043 {
1044 "type": "assert_return",
1045 "line": 100,
1046 "action": {
1047 "type": "invoke",
1048 "field": "get-t64",
1049 "args": [
1050 {
1051 "type": "i64",
1052 "value": "6"
1053 }
1054 ]
1055 },
1056 "expected": [
1057 {
1058 "type": "externref",
1059 "value": "null"
1060 }
1061 ]
1062 },
1063 {
1064 "type": "assert_return",
1065 "line": 102,
1066 "action": {
1067 "type": "invoke",
1068 "field": "fill-t64",
1069 "args": [
1070 {
1071 "type": "i64",
1072 "value": "4"
1073 },
1074 {
1075 "type": "externref",
1076 "value": "3"
1077 },
1078 {
1079 "type": "i64",
1080 "value": "0"
1081 }
1082 ]
1083 },
1084 "expected": []
1085 },
1086 {
1087 "type": "assert_return",
1088 "line": 103,
1089 "action": {
1090 "type": "invoke",
1091 "field": "get-t64",
1092 "args": [
1093 {
1094 "type": "i64",
1095 "value": "3"
1096 }
1097 ]
1098 },
1099 "expected": [
1100 {
1101 "type": "externref",
1102 "value": "1"
1103 }
1104 ]
1105 },
1106 {
1107 "type": "assert_return",
1108 "line": 104,
1109 "action": {
1110 "type": "invoke",
1111 "field": "get-t64",
1112 "args": [
1113 {
1114 "type": "i64",
1115 "value": "4"
1116 }
1117 ]
1118 },
1119 "expected": [
1120 {
1121 "type": "externref",
1122 "value": "2"
1123 }
1124 ]
1125 },
1126 {
1127 "type": "assert_return",
1128 "line": 105,
1129 "action": {
1130 "type": "invoke",
1131 "field": "get-t64",
1132 "args": [
1133 {
1134 "type": "i64",
1135 "value": "5"
1136 }
1137 ]
1138 },
1139 "expected": [
1140 {
1141 "type": "externref",
1142 "value": "2"
1143 }
1144 ]
1145 },
1146 {
1147 "type": "assert_return",
1148 "line": 107,
1149 "action": {
1150 "type": "invoke",
1151 "field": "fill-t64",
1152 "args": [
1153 {
1154 "type": "i64",
1155 "value": "8"
1156 },
1157 {
1158 "type": "externref",
1159 "value": "4"
1160 },
1161 {
1162 "type": "i64",
1163 "value": "2"
1164 }
1165 ]
1166 },
1167 "expected": []
1168 },
1169 {
1170 "type": "assert_return",
1171 "line": 108,
1172 "action": {
1173 "type": "invoke",
1174 "field": "get-t64",
1175 "args": [
1176 {
1177 "type": "i64",
1178 "value": "7"
1179 }
1180 ]
1181 },
1182 "expected": [
1183 {
1184 "type": "externref",
1185 "value": "null"
1186 }
1187 ]
1188 },
1189 {
1190 "type": "assert_return",
1191 "line": 109,
1192 "action": {
1193 "type": "invoke",
1194 "field": "get-t64",
1195 "args": [
1196 {
1197 "type": "i64",
1198 "value": "8"
1199 }
1200 ]
1201 },
1202 "expected": [
1203 {
1204 "type": "externref",
1205 "value": "4"
1206 }
1207 ]
1208 },
1209 {
1210 "type": "assert_return",
1211 "line": 110,
1212 "action": {
1213 "type": "invoke",
1214 "field": "get-t64",
1215 "args": [
1216 {
1217 "type": "i64",
1218 "value": "9"
1219 }
1220 ]
1221 },
1222 "expected": [
1223 {
1224 "type": "externref",
1225 "value": "4"
1226 }
1227 ]
1228 },
1229 {
1230 "type": "assert_return",
1231 "line": 112,
1232 "action": {
1233 "type": "invoke",
1234 "field": "fill-t64",
1235 "args": [
1236 {
1237 "type": "i64",
1238 "value": "9"
1239 },
1240 {
1241 "type": "externref",
1242 "value": "null"
1243 },
1244 {
1245 "type": "i64",
1246 "value": "1"
1247 }
1248 ]
1249 },
1250 "expected": []
1251 },
1252 {
1253 "type": "assert_return",
1254 "line": 113,
1255 "action": {
1256 "type": "invoke",
1257 "field": "get-t64",
1258 "args": [
1259 {
1260 "type": "i64",
1261 "value": "8"
1262 }
1263 ]
1264 },
1265 "expected": [
1266 {
1267 "type": "externref",
1268 "value": "4"
1269 }
1270 ]
1271 },
1272 {
1273 "type": "assert_return",
1274 "line": 114,
1275 "action": {
1276 "type": "invoke",
1277 "field": "get-t64",
1278 "args": [
1279 {
1280 "type": "i64",
1281 "value": "9"
1282 }
1283 ]
1284 },
1285 "expected": [
1286 {
1287 "type": "externref",
1288 "value": "null"
1289 }
1290 ]
1291 },
1292 {
1293 "type": "assert_return",
1294 "line": 116,
1295 "action": {
1296 "type": "invoke",
1297 "field": "fill-t64",
1298 "args": [
1299 {
1300 "type": "i64",
1301 "value": "10"
1302 },
1303 {
1304 "type": "externref",
1305 "value": "5"
1306 },
1307 {
1308 "type": "i64",
1309 "value": "0"
1310 }
1311 ]
1312 },
1313 "expected": []
1314 },
1315 {
1316 "type": "assert_return",
1317 "line": 117,
1318 "action": {
1319 "type": "invoke",
1320 "field": "get-t64",
1321 "args": [
1322 {
1323 "type": "i64",
1324 "value": "9"
1325 }
1326 ]
1327 },
1328 "expected": [
1329 {
1330 "type": "externref",
1331 "value": "null"
1332 }
1333 ]
1334 },
1335 {
1336 "type": "assert_trap",
1337 "line": 120,
1338 "action": {
1339 "type": "invoke",
1340 "field": "fill-t64",
1341 "args": [
1342 {
1343 "type": "i64",
1344 "value": "8"
1345 },
1346 {
1347 "type": "externref",
1348 "value": "6"
1349 },
1350 {
1351 "type": "i64",
1352 "value": "3"
1353 }
1354 ]
1355 },
1356 "text": "out of bounds table access"
1357 },
1358 {
1359 "type": "assert_return",
1360 "line": 123,
1361 "action": {
1362 "type": "invoke",
1363 "field": "get-t64",
1364 "args": [
1365 {
1366 "type": "i64",
1367 "value": "7"
1368 }
1369 ]
1370 },
1371 "expected": [
1372 {
1373 "type": "externref",
1374 "value": "null"
1375 }
1376 ]
1377 },
1378 {
1379 "type": "assert_return",
1380 "line": 124,
1381 "action": {
1382 "type": "invoke",
1383 "field": "get-t64",
1384 "args": [
1385 {
1386 "type": "i64",
1387 "value": "8"
1388 }
1389 ]
1390 },
1391 "expected": [
1392 {
1393 "type": "externref",
1394 "value": "4"
1395 }
1396 ]
1397 },
1398 {
1399 "type": "assert_return",
1400 "line": 125,
1401 "action": {
1402 "type": "invoke",
1403 "field": "get-t64",
1404 "args": [
1405 {
1406 "type": "i64",
1407 "value": "9"
1408 }
1409 ]
1410 },
1411 "expected": [
1412 {
1413 "type": "externref",
1414 "value": "null"
1415 }
1416 ]
1417 },
1418 {
1419 "type": "assert_trap",
1420 "line": 128,
1421 "action": {
1422 "type": "invoke",
1423 "field": "fill-t64",
1424 "args": [
1425 {
1426 "type": "i64",
1427 "value": "11"
1428 },
1429 {
1430 "type": "externref",
1431 "value": "null"
1432 },
1433 {
1434 "type": "i64",
1435 "value": "0"
1436 }
1437 ]
1438 },
1439 "text": "out of bounds table access"
1440 },
1441 {
1442 "type": "assert_trap",
1443 "line": 133,
1444 "action": {
1445 "type": "invoke",
1446 "field": "fill-t64",
1447 "args": [
1448 {
1449 "type": "i64",
1450 "value": "11"
1451 },
1452 {
1453 "type": "externref",
1454 "value": "null"
1455 },
1456 {
1457 "type": "i64",
1458 "value": "10"
1459 }
1460 ]
1461 },
1462 "text": "out of bounds table access"
1463 },
1464 {
1465 "type": "assert_invalid",
1466 "line": 140,
1467 "filename": "table_fill.1.wasm",
1468 "module_type": "binary",
1469 "text": "type mismatch"
1470 },
1471 {
1472 "type": "assert_invalid",
1473 "line": 149,
1474 "filename": "table_fill.2.wasm",
1475 "module_type": "binary",
1476 "text": "type mismatch"
1477 },
1478 {
1479 "type": "assert_invalid",
1480 "line": 158,
1481 "filename": "table_fill.3.wasm",
1482 "module_type": "binary",
1483 "text": "type mismatch"
1484 },
1485 {
1486 "type": "assert_invalid",
1487 "line": 167,
1488 "filename": "table_fill.4.wasm",
1489 "module_type": "binary",
1490 "text": "type mismatch"
1491 },
1492 {
1493 "type": "assert_invalid",
1494 "line": 176,
1495 "filename": "table_fill.5.wasm",
1496 "module_type": "binary",
1497 "text": "type mismatch"
1498 },
1499 {
1500 "type": "assert_invalid",
1501 "line": 185,
1502 "filename": "table_fill.6.wasm",
1503 "module_type": "binary",
1504 "text": "type mismatch"
1505 },
1506 {
1507 "type": "assert_invalid",
1508 "line": 194,
1509 "filename": "table_fill.7.wasm",
1510 "module_type": "binary",
1511 "text": "type mismatch"
1512 },
1513 {
1514 "type": "assert_invalid",
1515 "line": 204,
1516 "filename": "table_fill.8.wasm",
1517 "module_type": "binary",
1518 "text": "type mismatch"
1519 },
1520 {
1521 "type": "assert_invalid",
1522 "line": 215,
1523 "filename": "table_fill.9.wasm",
1524 "module_type": "binary",
1525 "text": "type mismatch"
1526 }
1527 ]
1528 }