1{"source_filename": "./align.wast",
2 "commands": [
3 {"type": "module", "line": 3, "filename": "align.0.wasm"},
4 {"type": "module", "line": 4, "filename": "align.1.wasm"},
5 {"type": "module", "line": 5, "filename": "align.2.wasm"},
6 {"type": "module", "line": 6, "filename": "align.3.wasm"},
7 {"type": "module", "line": 7, "filename": "align.4.wasm"},
8 {"type": "module", "line": 8, "filename": "align.5.wasm"},
9 {"type": "module", "line": 9, "filename": "align.6.wasm"},
10 {"type": "module", "line": 10, "filename": "align.7.wasm"},
11 {"type": "module", "line": 11, "filename": "align.8.wasm"},
12 {"type": "module", "line": 12, "filename": "align.9.wasm"},
13 {"type": "module", "line": 13, "filename": "align.10.wasm"},
14 {"type": "module", "line": 14, "filename": "align.11.wasm"},
15 {"type": "module", "line": 15, "filename": "align.12.wasm"},
16 {"type": "module", "line": 16, "filename": "align.13.wasm"},
17 {"type": "module", "line": 17, "filename": "align.14.wasm"},
18 {"type": "module", "line": 18, "filename": "align.15.wasm"},
19 {"type": "module", "line": 19, "filename": "align.16.wasm"},
20 {"type": "module", "line": 20, "filename": "align.17.wasm"},
21 {"type": "module", "line": 21, "filename": "align.18.wasm"},
22 {"type": "module", "line": 22, "filename": "align.19.wasm"},
23 {"type": "module", "line": 23, "filename": "align.20.wasm"},
24 {"type": "module", "line": 24, "filename": "align.21.wasm"},
25 {"type": "module", "line": 25, "filename": "align.22.wasm"},
26 {"type": "assert_malformed", "line": 28, "filename": "align.23.wat", "text": "alignment", "module_type": "text"},
27 {"type": "assert_malformed", "line": 34, "filename": "align.24.wat", "text": "alignment", "module_type": "text"},
28 {"type": "assert_malformed", "line": 40, "filename": "align.25.wat", "text": "alignment", "module_type": "text"},
29 {"type": "assert_malformed", "line": 46, "filename": "align.26.wat", "text": "alignment", "module_type": "text"},
30 {"type": "assert_malformed", "line": 52, "filename": "align.27.wat", "text": "alignment", "module_type": "text"},
31 {"type": "assert_malformed", "line": 58, "filename": "align.28.wat", "text": "alignment", "module_type": "text"},
32 {"type": "assert_malformed", "line": 64, "filename": "align.29.wat", "text": "alignment", "module_type": "text"},
33 {"type": "assert_malformed", "line": 70, "filename": "align.30.wat", "text": "alignment", "module_type": "text"},
34 {"type": "assert_malformed", "line": 76, "filename": "align.31.wat", "text": "alignment", "module_type": "text"},
35 {"type": "assert_malformed", "line": 82, "filename": "align.32.wat", "text": "alignment", "module_type": "text"},
36 {"type": "assert_malformed", "line": 88, "filename": "align.33.wat", "text": "alignment", "module_type": "text"},
37 {"type": "assert_malformed", "line": 94, "filename": "align.34.wat", "text": "alignment", "module_type": "text"},
38 {"type": "assert_malformed", "line": 100, "filename": "align.35.wat", "text": "alignment", "module_type": "text"},
39 {"type": "assert_malformed", "line": 106, "filename": "align.36.wat", "text": "alignment", "module_type": "text"},
40 {"type": "assert_malformed", "line": 112, "filename": "align.37.wat", "text": "alignment", "module_type": "text"},
41 {"type": "assert_malformed", "line": 118, "filename": "align.38.wat", "text": "alignment", "module_type": "text"},
42 {"type": "assert_malformed", "line": 124, "filename": "align.39.wat", "text": "alignment", "module_type": "text"},
43 {"type": "assert_malformed", "line": 130, "filename": "align.40.wat", "text": "alignment", "module_type": "text"},
44 {"type": "assert_malformed", "line": 136, "filename": "align.41.wat", "text": "alignment", "module_type": "text"},
45 {"type": "assert_malformed", "line": 142, "filename": "align.42.wat", "text": "alignment", "module_type": "text"},
46 {"type": "assert_malformed", "line": 148, "filename": "align.43.wat", "text": "alignment", "module_type": "text"},
47 {"type": "assert_malformed", "line": 154, "filename": "align.44.wat", "text": "alignment", "module_type": "text"},
48 {"type": "assert_malformed", "line": 160, "filename": "align.45.wat", "text": "alignment", "module_type": "text"},
49 {"type": "assert_malformed", "line": 166, "filename": "align.46.wat", "text": "alignment", "module_type": "text"},
50 {"type": "assert_malformed", "line": 172, "filename": "align.47.wat", "text": "alignment", "module_type": "text"},
51 {"type": "assert_malformed", "line": 178, "filename": "align.48.wat", "text": "alignment", "module_type": "text"},
52 {"type": "assert_malformed", "line": 184, "filename": "align.49.wat", "text": "alignment", "module_type": "text"},
53 {"type": "assert_malformed", "line": 190, "filename": "align.50.wat", "text": "alignment", "module_type": "text"},
54 {"type": "assert_malformed", "line": 197, "filename": "align.51.wat", "text": "alignment", "module_type": "text"},
55 {"type": "assert_malformed", "line": 203, "filename": "align.52.wat", "text": "alignment", "module_type": "text"},
56 {"type": "assert_malformed", "line": 209, "filename": "align.53.wat", "text": "alignment", "module_type": "text"},
57 {"type": "assert_malformed", "line": 215, "filename": "align.54.wat", "text": "alignment", "module_type": "text"},
58 {"type": "assert_malformed", "line": 221, "filename": "align.55.wat", "text": "alignment", "module_type": "text"},
59 {"type": "assert_malformed", "line": 227, "filename": "align.56.wat", "text": "alignment", "module_type": "text"},
60 {"type": "assert_malformed", "line": 233, "filename": "align.57.wat", "text": "alignment", "module_type": "text"},
61 {"type": "assert_malformed", "line": 239, "filename": "align.58.wat", "text": "alignment", "module_type": "text"},
62 {"type": "assert_malformed", "line": 245, "filename": "align.59.wat", "text": "alignment", "module_type": "text"},
63 {"type": "assert_malformed", "line": 251, "filename": "align.60.wat", "text": "alignment", "module_type": "text"},
64 {"type": "assert_malformed", "line": 257, "filename": "align.61.wat", "text": "alignment", "module_type": "text"},
65 {"type": "assert_malformed", "line": 263, "filename": "align.62.wat", "text": "alignment", "module_type": "text"},
66 {"type": "assert_malformed", "line": 269, "filename": "align.63.wat", "text": "alignment", "module_type": "text"},
67 {"type": "assert_malformed", "line": 275, "filename": "align.64.wat", "text": "alignment", "module_type": "text"},
68 {"type": "assert_malformed", "line": 281, "filename": "align.65.wat", "text": "alignment", "module_type": "text"},
69 {"type": "assert_malformed", "line": 287, "filename": "align.66.wat", "text": "alignment", "module_type": "text"},
70 {"type": "assert_malformed", "line": 293, "filename": "align.67.wat", "text": "alignment", "module_type": "text"},
71 {"type": "assert_malformed", "line": 299, "filename": "align.68.wat", "text": "alignment", "module_type": "text"},
72 {"type": "assert_invalid", "line": 306, "filename": "align.69.wasm", "text": "alignment must not be larger than natural", "module_type": "binary"},
73 {"type": "assert_invalid", "line": 310, "filename": "align.70.wasm", "text": "alignment must not be larger than natural", "module_type": "binary"},
74 {"type": "assert_invalid", "line": 314, "filename": "align.71.wasm", "text": "alignment must not be larger than natural", "module_type": "binary"},
75 {"type": "assert_invalid", "line": 318, "filename": "align.72.wasm", "text": "alignment must not be larger than natural", "module_type": "binary"},
76 {"type": "assert_invalid", "line": 322, "filename": "align.73.wasm", "text": "alignment must not be larger than natural", "module_type": "binary"},
77 {"type": "assert_invalid", "line": 326, "filename": "align.74.wasm", "text": "alignment must not be larger than natural", "module_type": "binary"},
78 {"type": "assert_invalid", "line": 330, "filename": "align.75.wasm", "text": "alignment must not be larger than natural", "module_type": "binary"},
79 {"type": "assert_invalid", "line": 334, "filename": "align.76.wasm", "text": "alignment must not be larger than natural", "module_type": "binary"},
80 {"type": "assert_invalid", "line": 338, "filename": "align.77.wasm", "text": "alignment must not be larger than natural", "module_type": "binary"},
81 {"type": "assert_invalid", "line": 342, "filename": "align.78.wasm", "text": "alignment must not be larger than natural", "module_type": "binary"},
82 {"type": "assert_invalid", "line": 346, "filename": "align.79.wasm", "text": "alignment must not be larger than natural", "module_type": "binary"},
83 {"type": "assert_invalid", "line": 350, "filename": "align.80.wasm", "text": "alignment must not be larger than natural", "module_type": "binary"},
84 {"type": "assert_invalid", "line": 354, "filename": "align.81.wasm", "text": "alignment must not be larger than natural", "module_type": "binary"},
85 {"type": "assert_invalid", "line": 358, "filename": "align.82.wasm", "text": "alignment must not be larger than natural", "module_type": "binary"},
86 {"type": "assert_invalid", "line": 363, "filename": "align.83.wasm", "text": "alignment must not be larger than natural", "module_type": "binary"},
87 {"type": "assert_invalid", "line": 367, "filename": "align.84.wasm", "text": "alignment must not be larger than natural", "module_type": "binary"},
88 {"type": "assert_invalid", "line": 371, "filename": "align.85.wasm", "text": "alignment must not be larger than natural", "module_type": "binary"},
89 {"type": "assert_invalid", "line": 375, "filename": "align.86.wasm", "text": "alignment must not be larger than natural", "module_type": "binary"},
90 {"type": "assert_invalid", "line": 379, "filename": "align.87.wasm", "text": "alignment must not be larger than natural", "module_type": "binary"},
91 {"type": "assert_invalid", "line": 383, "filename": "align.88.wasm", "text": "alignment must not be larger than natural", "module_type": "binary"},
92 {"type": "assert_invalid", "line": 387, "filename": "align.89.wasm", "text": "alignment must not be larger than natural", "module_type": "binary"},
93 {"type": "assert_invalid", "line": 391, "filename": "align.90.wasm", "text": "alignment must not be larger than natural", "module_type": "binary"},
94 {"type": "assert_invalid", "line": 395, "filename": "align.91.wasm", "text": "alignment must not be larger than natural", "module_type": "binary"},
95 {"type": "assert_invalid", "line": 399, "filename": "align.92.wasm", "text": "alignment must not be larger than natural", "module_type": "binary"},
96 {"type": "assert_invalid", "line": 403, "filename": "align.93.wasm", "text": "alignment must not be larger than natural", "module_type": "binary"},
97 {"type": "assert_invalid", "line": 407, "filename": "align.94.wasm", "text": "alignment must not be larger than natural", "module_type": "binary"},
98 {"type": "assert_invalid", "line": 411, "filename": "align.95.wasm", "text": "alignment must not be larger than natural", "module_type": "binary"},
99 {"type": "assert_invalid", "line": 415, "filename": "align.96.wasm", "text": "alignment must not be larger than natural", "module_type": "binary"},
100 {"type": "assert_invalid", "line": 420, "filename": "align.97.wasm", "text": "alignment must not be larger than natural", "module_type": "binary"},
101 {"type": "assert_invalid", "line": 424, "filename": "align.98.wasm", "text": "alignment must not be larger than natural", "module_type": "binary"},
102 {"type": "assert_invalid", "line": 428, "filename": "align.99.wasm", "text": "alignment must not be larger than natural", "module_type": "binary"},
103 {"type": "assert_invalid", "line": 432, "filename": "align.100.wasm", "text": "alignment must not be larger than natural", "module_type": "binary"},
104 {"type": "assert_invalid", "line": 436, "filename": "align.101.wasm", "text": "alignment must not be larger than natural", "module_type": "binary"},
105 {"type": "assert_invalid", "line": 440, "filename": "align.102.wasm", "text": "alignment must not be larger than natural", "module_type": "binary"},
106 {"type": "assert_invalid", "line": 444, "filename": "align.103.wasm", "text": "alignment must not be larger than natural", "module_type": "binary"},
107 {"type": "assert_invalid", "line": 448, "filename": "align.104.wasm", "text": "alignment must not be larger than natural", "module_type": "binary"},
108 {"type": "assert_invalid", "line": 452, "filename": "align.105.wasm", "text": "alignment must not be larger than natural", "module_type": "binary"},
109 {"type": "module", "line": 458, "filename": "align.106.wasm"},
110 {"type": "assert_return", "line": 802, "action": {"type": "invoke", "field": "f32_align_switch", "args": [{"type": "i32", "value": "0"}]}, "expected": [{"type": "f32", "value": "1092616192"}]},
111 {"type": "assert_return", "line": 803, "action": {"type": "invoke", "field": "f32_align_switch", "args": [{"type": "i32", "value": "1"}]}, "expected": [{"type": "f32", "value": "1092616192"}]},
112 {"type": "assert_return", "line": 804, "action": {"type": "invoke", "field": "f32_align_switch", "args": [{"type": "i32", "value": "2"}]}, "expected": [{"type": "f32", "value": "1092616192"}]},
113 {"type": "assert_return", "line": 805, "action": {"type": "invoke", "field": "f32_align_switch", "args": [{"type": "i32", "value": "3"}]}, "expected": [{"type": "f32", "value": "1092616192"}]},
114 {"type": "assert_return", "line": 807, "action": {"type": "invoke", "field": "f64_align_switch", "args": [{"type": "i32", "value": "0"}]}, "expected": [{"type": "f64", "value": "4621819117588971520"}]},
115 {"type": "assert_return", "line": 808, "action": {"type": "invoke", "field": "f64_align_switch", "args": [{"type": "i32", "value": "1"}]}, "expected": [{"type": "f64", "value": "4621819117588971520"}]},
116 {"type": "assert_return", "line": 809, "action": {"type": "invoke", "field": "f64_align_switch", "args": [{"type": "i32", "value": "2"}]}, "expected": [{"type": "f64", "value": "4621819117588971520"}]},
117 {"type": "assert_return", "line": 810, "action": {"type": "invoke", "field": "f64_align_switch", "args": [{"type": "i32", "value": "3"}]}, "expected": [{"type": "f64", "value": "4621819117588971520"}]},
118 {"type": "assert_return", "line": 811, "action": {"type": "invoke", "field": "f64_align_switch", "args": [{"type": "i32", "value": "4"}]}, "expected": [{"type": "f64", "value": "4621819117588971520"}]},
119 {"type": "assert_return", "line": 813, "action": {"type": "invoke", "field": "i32_align_switch", "args": [{"type": "i32", "value": "0"}, {"type": "i32", "value": "0"}]}, "expected": [{"type": "i32", "value": "10"}]},
120 {"type": "assert_return", "line": 814, "action": {"type": "invoke", "field": "i32_align_switch", "args": [{"type": "i32", "value": "0"}, {"type": "i32", "value": "1"}]}, "expected": [{"type": "i32", "value": "10"}]},
121 {"type": "assert_return", "line": 815, "action": {"type": "invoke", "field": "i32_align_switch", "args": [{"type": "i32", "value": "1"}, {"type": "i32", "value": "0"}]}, "expected": [{"type": "i32", "value": "10"}]},
122 {"type": "assert_return", "line": 816, "action": {"type": "invoke", "field": "i32_align_switch", "args": [{"type": "i32", "value": "1"}, {"type": "i32", "value": "1"}]}, "expected": [{"type": "i32", "value": "10"}]},
123 {"type": "assert_return", "line": 817, "action": {"type": "invoke", "field": "i32_align_switch", "args": [{"type": "i32", "value": "2"}, {"type": "i32", "value": "0"}]}, "expected": [{"type": "i32", "value": "10"}]},
124 {"type": "assert_return", "line": 818, "action": {"type": "invoke", "field": "i32_align_switch", "args": [{"type": "i32", "value": "2"}, {"type": "i32", "value": "1"}]}, "expected": [{"type": "i32", "value": "10"}]},
125 {"type": "assert_return", "line": 819, "action": {"type": "invoke", "field": "i32_align_switch", "args": [{"type": "i32", "value": "2"}, {"type": "i32", "value": "2"}]}, "expected": [{"type": "i32", "value": "10"}]},
126 {"type": "assert_return", "line": 820, "action": {"type": "invoke", "field": "i32_align_switch", "args": [{"type": "i32", "value": "3"}, {"type": "i32", "value": "0"}]}, "expected": [{"type": "i32", "value": "10"}]},
127 {"type": "assert_return", "line": 821, "action": {"type": "invoke", "field": "i32_align_switch", "args": [{"type": "i32", "value": "3"}, {"type": "i32", "value": "1"}]}, "expected": [{"type": "i32", "value": "10"}]},
128 {"type": "assert_return", "line": 822, "action": {"type": "invoke", "field": "i32_align_switch", "args": [{"type": "i32", "value": "3"}, {"type": "i32", "value": "2"}]}, "expected": [{"type": "i32", "value": "10"}]},
129 {"type": "assert_return", "line": 823, "action": {"type": "invoke", "field": "i32_align_switch", "args": [{"type": "i32", "value": "4"}, {"type": "i32", "value": "0"}]}, "expected": [{"type": "i32", "value": "10"}]},
130 {"type": "assert_return", "line": 824, "action": {"type": "invoke", "field": "i32_align_switch", "args": [{"type": "i32", "value": "4"}, {"type": "i32", "value": "1"}]}, "expected": [{"type": "i32", "value": "10"}]},
131 {"type": "assert_return", "line": 825, "action": {"type": "invoke", "field": "i32_align_switch", "args": [{"type": "i32", "value": "4"}, {"type": "i32", "value": "2"}]}, "expected": [{"type": "i32", "value": "10"}]},
132 {"type": "assert_return", "line": 826, "action": {"type": "invoke", "field": "i32_align_switch", "args": [{"type": "i32", "value": "4"}, {"type": "i32", "value": "4"}]}, "expected": [{"type": "i32", "value": "10"}]},
133 {"type": "assert_return", "line": 828, "action": {"type": "invoke", "field": "i64_align_switch", "args": [{"type": "i32", "value": "0"}, {"type": "i32", "value": "0"}]}, "expected": [{"type": "i64", "value": "10"}]},
134 {"type": "assert_return", "line": 829, "action": {"type": "invoke", "field": "i64_align_switch", "args": [{"type": "i32", "value": "0"}, {"type": "i32", "value": "1"}]}, "expected": [{"type": "i64", "value": "10"}]},
135 {"type": "assert_return", "line": 830, "action": {"type": "invoke", "field": "i64_align_switch", "args": [{"type": "i32", "value": "1"}, {"type": "i32", "value": "0"}]}, "expected": [{"type": "i64", "value": "10"}]},
136 {"type": "assert_return", "line": 831, "action": {"type": "invoke", "field": "i64_align_switch", "args": [{"type": "i32", "value": "1"}, {"type": "i32", "value": "1"}]}, "expected": [{"type": "i64", "value": "10"}]},
137 {"type": "assert_return", "line": 832, "action": {"type": "invoke", "field": "i64_align_switch", "args": [{"type": "i32", "value": "2"}, {"type": "i32", "value": "0"}]}, "expected": [{"type": "i64", "value": "10"}]},
138 {"type": "assert_return", "line": 833, "action": {"type": "invoke", "field": "i64_align_switch", "args": [{"type": "i32", "value": "2"}, {"type": "i32", "value": "1"}]}, "expected": [{"type": "i64", "value": "10"}]},
139 {"type": "assert_return", "line": 834, "action": {"type": "invoke", "field": "i64_align_switch", "args": [{"type": "i32", "value": "2"}, {"type": "i32", "value": "2"}]}, "expected": [{"type": "i64", "value": "10"}]},
140 {"type": "assert_return", "line": 835, "action": {"type": "invoke", "field": "i64_align_switch", "args": [{"type": "i32", "value": "3"}, {"type": "i32", "value": "0"}]}, "expected": [{"type": "i64", "value": "10"}]},
141 {"type": "assert_return", "line": 836, "action": {"type": "invoke", "field": "i64_align_switch", "args": [{"type": "i32", "value": "3"}, {"type": "i32", "value": "1"}]}, "expected": [{"type": "i64", "value": "10"}]},
142 {"type": "assert_return", "line": 837, "action": {"type": "invoke", "field": "i64_align_switch", "args": [{"type": "i32", "value": "3"}, {"type": "i32", "value": "2"}]}, "expected": [{"type": "i64", "value": "10"}]},
143 {"type": "assert_return", "line": 838, "action": {"type": "invoke", "field": "i64_align_switch", "args": [{"type": "i32", "value": "4"}, {"type": "i32", "value": "0"}]}, "expected": [{"type": "i64", "value": "10"}]},
144 {"type": "assert_return", "line": 839, "action": {"type": "invoke", "field": "i64_align_switch", "args": [{"type": "i32", "value": "4"}, {"type": "i32", "value": "1"}]}, "expected": [{"type": "i64", "value": "10"}]},
145 {"type": "assert_return", "line": 840, "action": {"type": "invoke", "field": "i64_align_switch", "args": [{"type": "i32", "value": "4"}, {"type": "i32", "value": "2"}]}, "expected": [{"type": "i64", "value": "10"}]},
146 {"type": "assert_return", "line": 841, "action": {"type": "invoke", "field": "i64_align_switch", "args": [{"type": "i32", "value": "4"}, {"type": "i32", "value": "4"}]}, "expected": [{"type": "i64", "value": "10"}]},
147 {"type": "assert_return", "line": 842, "action": {"type": "invoke", "field": "i64_align_switch", "args": [{"type": "i32", "value": "5"}, {"type": "i32", "value": "0"}]}, "expected": [{"type": "i64", "value": "10"}]},
148 {"type": "assert_return", "line": 843, "action": {"type": "invoke", "field": "i64_align_switch", "args": [{"type": "i32", "value": "5"}, {"type": "i32", "value": "1"}]}, "expected": [{"type": "i64", "value": "10"}]},
149 {"type": "assert_return", "line": 844, "action": {"type": "invoke", "field": "i64_align_switch", "args": [{"type": "i32", "value": "5"}, {"type": "i32", "value": "2"}]}, "expected": [{"type": "i64", "value": "10"}]},
150 {"type": "assert_return", "line": 845, "action": {"type": "invoke", "field": "i64_align_switch", "args": [{"type": "i32", "value": "5"}, {"type": "i32", "value": "4"}]}, "expected": [{"type": "i64", "value": "10"}]},
151 {"type": "assert_return", "line": 846, "action": {"type": "invoke", "field": "i64_align_switch", "args": [{"type": "i32", "value": "6"}, {"type": "i32", "value": "0"}]}, "expected": [{"type": "i64", "value": "10"}]},
152 {"type": "assert_return", "line": 847, "action": {"type": "invoke", "field": "i64_align_switch", "args": [{"type": "i32", "value": "6"}, {"type": "i32", "value": "1"}]}, "expected": [{"type": "i64", "value": "10"}]},
153 {"type": "assert_return", "line": 848, "action": {"type": "invoke", "field": "i64_align_switch", "args": [{"type": "i32", "value": "6"}, {"type": "i32", "value": "2"}]}, "expected": [{"type": "i64", "value": "10"}]},
154 {"type": "assert_return", "line": 849, "action": {"type": "invoke", "field": "i64_align_switch", "args": [{"type": "i32", "value": "6"}, {"type": "i32", "value": "4"}]}, "expected": [{"type": "i64", "value": "10"}]},
155 {"type": "assert_return", "line": 850, "action": {"type": "invoke", "field": "i64_align_switch", "args": [{"type": "i32", "value": "6"}, {"type": "i32", "value": "8"}]}, "expected": [{"type": "i64", "value": "10"}]},
156 {"type": "module", "line": 854, "filename": "align.107.wasm"},
157 {"type": "assert_trap", "line": 864, "action": {"type": "invoke", "field": "store", "args": [{"type": "i32", "value": "65532"}, {"type": "i64", "value": "18446744073709551615"}]}, "text": "out of bounds memory access", "expected": []},
158 {"type": "assert_return", "line": 866, "action": {"type": "invoke", "field": "load", "args": [{"type": "i32", "value": "65532"}]}, "expected": [{"type": "i32", "value": "0"}]}]}
View as plain text