Debian Codegraph @

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

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