Debian Codegraph @

tests/snapshots/testsuite/unwind.wast/0.print

raw
1 (module
2 (type (;0;) (func))
3 (type (;1;) (func (result i32)))
4 (export "func-unwind-by-unreachable" (func 0))
5 (export "func-unwind-by-br" (func 1))
6 (export "func-unwind-by-br-value" (func 2))
7 (export "func-unwind-by-br_if" (func 3))
8 (export "func-unwind-by-br_if-value" (func 4))
9 (export "func-unwind-by-br_table" (func 5))
10 (export "func-unwind-by-br_table-value" (func 6))
11 (export "func-unwind-by-return" (func 7))
12 (export "block-unwind-by-unreachable" (func 8))
13 (export "block-unwind-by-br" (func 9))
14 (export "block-unwind-by-br-value" (func 10))
15 (export "block-unwind-by-br_if" (func 11))
16 (export "block-unwind-by-br_if-value" (func 12))
17 (export "block-unwind-by-br_table" (func 13))
18 (export "block-unwind-by-br_table-value" (func 14))
19 (export "block-unwind-by-return" (func 15))
20 (export "block-nested-unwind-by-unreachable" (func 16))
21 (export "block-nested-unwind-by-br" (func 17))
22 (export "block-nested-unwind-by-br-value" (func 18))
23 (export "block-nested-unwind-by-br_if" (func 19))
24 (export "block-nested-unwind-by-br_if-value" (func 20))
25 (export "block-nested-unwind-by-br_table" (func 21))
26 (export "block-nested-unwind-by-br_table-value" (func 22))
27 (export "block-nested-unwind-by-return" (func 23))
28 (export "unary-after-unreachable" (func 24))
29 (export "unary-after-br" (func 25))
30 (export "unary-after-br_if" (func 26))
31 (export "unary-after-br_table" (func 27))
32 (export "unary-after-return" (func 28))
33 (export "binary-after-unreachable" (func 29))
34 (export "binary-after-br" (func 30))
35 (export "binary-after-br_if" (func 31))
36 (export "binary-after-br_table" (func 32))
37 (export "binary-after-return" (func 33))
38 (export "select-after-unreachable" (func 34))
39 (export "select-after-br" (func 35))
40 (export "select-after-br_if" (func 36))
41 (export "select-after-br_table" (func 37))
42 (export "select-after-return" (func 38))
43 (export "block-value-after-unreachable" (func 39))
44 (export "block-value-after-br" (func 40))
45 (export "block-value-after-br_if" (func 41))
46 (export "block-value-after-br_table" (func 42))
47 (export "block-value-after-return" (func 43))
48 (export "loop-value-after-unreachable" (func 44))
49 (export "loop-value-after-br" (func 45))
50 (export "loop-value-after-br_if" (func 46))
51 (export "loop-value-after-br_table" (func 47))
52 (export "loop-value-after-return" (func 48))
53 (func (;0;) (type 0)
54 i32.const 3
55 i64.const 1
56 unreachable
57 )
58 (func (;1;) (type 0)
59 i32.const 3
60 i64.const 1
61 br 0
62 )
63 (func (;2;) (type 1) (result i32)
64 i32.const 3
65 i64.const 1
66 i32.const 9
67 br 0
68 )
69 (func (;3;) (type 0)
70 i32.const 3
71 i64.const 1
72 i32.const 1
73 br_if 0
74 drop
75 drop
76 )
77 (func (;4;) (type 1) (result i32)
78 i32.const 3
79 i64.const 1
80 i32.const 9
81 i32.const 1
82 br_if 0
83 drop
84 drop
85 )
86 (func (;5;) (type 0)
87 i32.const 3
88 i64.const 1
89 i32.const 0
90 br_table 0
91 )
92 (func (;6;) (type 1) (result i32)
93 i32.const 3
94 i64.const 1
95 i32.const 9
96 i32.const 0
97 br_table 0
98 )
99 (func (;7;) (type 1) (result i32)
100 i32.const 3
101 i64.const 1
102 i32.const 9
103 return
104 )
105 (func (;8;) (type 0)
106 block ;; label = @1
107 i32.const 3
108 i64.const 1
109 unreachable
110 end
111 )
112 (func (;9;) (type 1) (result i32)
113 block ;; label = @1
114 i32.const 3
115 i64.const 1
116 br 0 (;@1;)
117 end
118 i32.const 9
119 )
120 (func (;10;) (type 1) (result i32)
121 block (result i32) ;; label = @1
122 i32.const 3
123 i64.const 1
124 i32.const 9
125 br 0 (;@1;)
126 end
127 )
128 (func (;11;) (type 1) (result i32)
129 block ;; label = @1
130 i32.const 3
131 i64.const 1
132 i32.const 1
133 br_if 0 (;@1;)
134 drop
135 drop
136 end
137 i32.const 9
138 )
139 (func (;12;) (type 1) (result i32)
140 block (result i32) ;; label = @1
141 i32.const 3
142 i64.const 1
143 i32.const 9
144 i32.const 1
145 br_if 0 (;@1;)
146 drop
147 drop
148 end
149 )
150 (func (;13;) (type 1) (result i32)
151 block ;; label = @1
152 i32.const 3
153 i64.const 1
154 i32.const 0
155 br_table 0 (;@1;)
156 end
157 i32.const 9
158 )
159 (func (;14;) (type 1) (result i32)
160 block (result i32) ;; label = @1
161 i32.const 3
162 i64.const 1
163 i32.const 9
164 i32.const 0
165 br_table 0 (;@1;)
166 end
167 )
168 (func (;15;) (type 1) (result i32)
169 block (result i32) ;; label = @1
170 i32.const 3
171 i64.const 1
172 i32.const 9
173 return
174 end
175 )
176 (func (;16;) (type 1) (result i32)
177 block (result i32) ;; label = @1
178 i32.const 3
179 block ;; label = @2
180 i64.const 1
181 unreachable
182 end
183 end
184 )
185 (func (;17;) (type 1) (result i32)
186 block ;; label = @1
187 i32.const 3
188 block ;; label = @2
189 i64.const 1
190 br 1 (;@1;)
191 end
192 drop
193 end
194 i32.const 9
195 )
196 (func (;18;) (type 1) (result i32)
197 block (result i32) ;; label = @1
198 i32.const 3
199 block ;; label = @2
200 i64.const 1
201 i32.const 9
202 br 1 (;@1;)
203 end
204 end
205 )
206 (func (;19;) (type 1) (result i32)
207 block ;; label = @1
208 i32.const 3
209 block ;; label = @2
210 i64.const 1
211 i32.const 1
212 br_if 1 (;@1;)
213 drop
214 end
215 drop
216 end
217 i32.const 9
218 )
219 (func (;20;) (type 1) (result i32)
220 block (result i32) ;; label = @1
221 i32.const 3
222 block ;; label = @2
223 i64.const 1
224 i32.const 9
225 i32.const 1
226 br_if 1 (;@1;)
227 drop
228 drop
229 end
230 end
231 )
232 (func (;21;) (type 1) (result i32)
233 block ;; label = @1
234 i32.const 3
235 block ;; label = @2
236 i64.const 1
237 i32.const 1
238 br_table 1 (;@1;)
239 end
240 drop
241 end
242 i32.const 9
243 )
244 (func (;22;) (type 1) (result i32)
245 block (result i32) ;; label = @1
246 i32.const 3
247 block ;; label = @2
248 i64.const 1
249 i32.const 9
250 i32.const 1
251 br_table 1 (;@1;)
252 end
253 end
254 )
255 (func (;23;) (type 1) (result i32)
256 block (result i32) ;; label = @1
257 i32.const 3
258 block ;; label = @2
259 i64.const 1
260 i32.const 9
261 return
262 end
263 end
264 )
265 (func (;24;) (type 1) (result i32)
266 f32.const 0x0p+0 (;=0;)
267 unreachable
268 i64.eqz
269 )
270 (func (;25;) (type 1) (result i32)
271 block (result i32) ;; label = @1
272 f32.const 0x0p+0 (;=0;)
273 i32.const 9
274 br 0 (;@1;)
275 i64.eqz
276 end
277 )
278 (func (;26;) (type 1) (result i32)
279 block (result i32) ;; label = @1
280 i64.const 0
281 i32.const 9
282 i32.const 1
283 br_if 0 (;@1;)
284 drop
285 i64.eqz
286 end
287 )
288 (func (;27;) (type 1) (result i32)
289 block (result i32) ;; label = @1
290 f32.const 0x0p+0 (;=0;)
291 i32.const 9
292 i32.const 0
293 br_table 0 (;@1;) 0 (;@1;)
294 i64.eqz
295 end
296 )
297 (func (;28;) (type 1) (result i32)
298 f32.const 0x0p+0 (;=0;)
299 i32.const 9
300 return
301 i64.eqz
302 )
303 (func (;29;) (type 1) (result i32)
304 f32.const 0x0p+0 (;=0;)
305 f64.const 0x1p+0 (;=1;)
306 unreachable
307 i64.eq
308 )
309 (func (;30;) (type 1) (result i32)
310 block (result i32) ;; label = @1
311 f32.const 0x0p+0 (;=0;)
312 f64.const 0x1p+0 (;=1;)
313 i32.const 9
314 br 0 (;@1;)
315 i64.eq
316 end
317 )
318 (func (;31;) (type 1) (result i32)
319 block (result i32) ;; label = @1
320 i64.const 0
321 i64.const 1
322 i32.const 9
323 i32.const 1
324 br_if 0 (;@1;)
325 drop
326 i64.eq
327 end
328 )
329 (func (;32;) (type 1) (result i32)
330 block (result i32) ;; label = @1
331 f32.const 0x0p+0 (;=0;)
332 f64.const 0x1p+0 (;=1;)
333 i32.const 9
334 i32.const 0
335 br_table 0 (;@1;)
336 i64.eq
337 end
338 )
339 (func (;33;) (type 1) (result i32)
340 f32.const 0x0p+0 (;=0;)
341 f64.const 0x1p+0 (;=1;)
342 i32.const 9
343 return
344 i64.eq
345 )
346 (func (;34;) (type 1) (result i32)
347 f32.const 0x0p+0 (;=0;)
348 f64.const 0x1p+0 (;=1;)
349 i64.const 0
350 unreachable
351 select
352 )
353 (func (;35;) (type 1) (result i32)
354 block (result i32) ;; label = @1
355 f32.const 0x0p+0 (;=0;)
356 f64.const 0x1p+0 (;=1;)
357 i64.const 0
358 i32.const 9
359 br 0 (;@1;)
360 select
361 end
362 )
363 (func (;36;) (type 1) (result i32)
364 block (result i32) ;; label = @1
365 i32.const 0
366 i32.const 1
367 i32.const 0
368 i32.const 9
369 i32.const 1
370 br_if 0 (;@1;)
371 drop
372 select
373 end
374 )
375 (func (;37;) (type 1) (result i32)
376 block (result i32) ;; label = @1
377 f32.const 0x0p+0 (;=0;)
378 f64.const 0x1p+0 (;=1;)
379 i64.const 0
380 i32.const 9
381 i32.const 0
382 br_table 0 (;@1;)
383 select
384 end
385 )
386 (func (;38;) (type 1) (result i32)
387 f32.const 0x0p+0 (;=0;)
388 f64.const 0x1p+0 (;=1;)
389 i64.const 1
390 i32.const 9
391 return
392 select
393 )
394 (func (;39;) (type 1) (result i32)
395 block (result i32) ;; label = @1
396 f32.const 0x0p+0 (;=0;)
397 unreachable
398 end
399 )
400 (func (;40;) (type 1) (result i32)
401 block (result i32) ;; label = @1
402 f32.const 0x0p+0 (;=0;)
403 i32.const 9
404 br 0 (;@1;)
405 end
406 )
407 (func (;41;) (type 1) (result i32)
408 block (result i32) ;; label = @1
409 i32.const 0
410 i32.const 9
411 i32.const 1
412 br_if 0 (;@1;)
413 drop
414 end
415 )
416 (func (;42;) (type 1) (result i32)
417 block (result i32) ;; label = @1
418 f32.const 0x0p+0 (;=0;)
419 i32.const 9
420 i32.const 0
421 br_table 0 (;@1;) 0 (;@1;)
422 end
423 )
424 (func (;43;) (type 1) (result i32)
425 block (result i32) ;; label = @1
426 f32.const 0x0p+0 (;=0;)
427 i32.const 9
428 return
429 end
430 )
431 (func (;44;) (type 1) (result i32)
432 loop (result i32) ;; label = @1
433 f32.const 0x0p+0 (;=0;)
434 unreachable
435 end
436 )
437 (func (;45;) (type 1) (result i32)
438 block (result i32) ;; label = @1
439 loop (result i32) ;; label = @2
440 f32.const 0x0p+0 (;=0;)
441 i32.const 9
442 br 1 (;@1;)
443 end
444 end
445 )
446 (func (;46;) (type 1) (result i32)
447 block (result i32) ;; label = @1
448 loop (result i32) ;; label = @2
449 i32.const 0
450 i32.const 9
451 i32.const 1
452 br_if 1 (;@1;)
453 drop
454 end
455 end
456 )
457 (func (;47;) (type 1) (result i32)
458 block (result i32) ;; label = @1
459 loop (result i32) ;; label = @2
460 f32.const 0x0p+0 (;=0;)
461 i32.const 9
462 i32.const 0
463 br_table 1 (;@1;) 1 (;@1;)
464 end
465 end
466 )
467 (func (;48;) (type 1) (result i32)
468 loop (result i32) ;; label = @1
469 f32.const 0x0p+0 (;=0;)
470 i32.const 9
471 return
472 end
473 )
474 )