Debian Codegraph @

tests/snapshots/cli/component-model-async/abi.wast/2.print

raw
1 (component
2 (core module $m1 (;0;)
3 (type (;0;) (func))
4 (export "f" (func 0))
5 (func (;0;) (type 0)
6 unreachable
7 )
8 )
9 (core instance $m1 (;0;) (instantiate $m1))
10 (type (;0;) (func))
11 (alias core export $m1 "f" (core func (;0;)))
12 (func (;0;) (type 0) (canon lift (core func 0) async))
13 (core module $m2 (;1;)
14 (type (;0;) (func (param i32)))
15 (export "f" (func 0))
16 (func (;0;) (type 0) (param i32)
17 unreachable
18 )
19 )
20 (core instance $m2 (;1;) (instantiate $m2))
21 (type (;1;) (func (param "x" u32)))
22 (alias core export $m2 "f" (core func (;1;)))
23 (func (;1;) (type 1) (canon lift (core func 1) async))
24 (core module $m3 (;2;)
25 (type (;0;) (func))
26 (export "f" (func 0))
27 (func (;0;) (type 0)
28 unreachable
29 )
30 )
31 (core instance $m3 (;2;) (instantiate $m3))
32 (type (;2;) (func (result u32)))
33 (alias core export $m3 "f" (core func (;2;)))
34 (func (;2;) (type 2) (canon lift (core func 2) async))
35 (core module $m4 (;3;)
36 (type (;0;) (func (param f32)))
37 (export "f" (func 0))
38 (func (;0;) (type 0) (param f32)
39 unreachable
40 )
41 )
42 (core instance $m4 (;3;) (instantiate $m4))
43 (type (;3;) (func (param "x" f32)))
44 (alias core export $m4 "f" (core func (;3;)))
45 (func (;3;) (type 3) (canon lift (core func 3) async))
46 (core module $m5 (;4;)
47 (type (;0;) (func (param i32 i32 i32 i32) (result i32)))
48 (type (;1;) (func (param f32 i32 i32)))
49 (memory (;0;) 1)
50 (export "memory" (memory 0))
51 (export "realloc" (func 0))
52 (export "f" (func 1))
53 (func (;0;) (type 0) (param i32 i32 i32 i32) (result i32)
54 unreachable
55 )
56 (func (;1;) (type 1) (param f32 i32 i32)
57 unreachable
58 )
59 )
60 (core instance $m5 (;4;) (instantiate $m5))
61 (type (;4;) (func (param "x" f32) (param "y" string)))
62 (alias core export $m5 "f" (core func (;4;)))
63 (alias core export $m5 "memory" (core memory (;0;)))
64 (alias core export $m5 "realloc" (core func (;5;)))
65 (func (;4;) (type 4) (canon lift (core func 4) async (memory 0) (realloc 5)))
66 (core module $m6 (;5;)
67 (type (;0;) (func (param i32 i32 i32 i32) (result i32)))
68 (type (;1;) (func (param i32 i32 i32 i32 i32 i32 i32 i32)))
69 (memory (;0;) 1)
70 (export "memory" (memory 0))
71 (export "realloc" (func 0))
72 (export "f" (func 1))
73 (func (;0;) (type 0) (param i32 i32 i32 i32) (result i32)
74 unreachable
75 )
76 (func (;1;) (type 1) (param i32 i32 i32 i32 i32 i32 i32 i32)
77 unreachable
78 )
79 )
80 (core instance $m6 (;5;) (instantiate $m6))
81 (type (;5;) (list string 4))
82 (type (;6;) (func (param "x" 5)))
83 (alias core export $m6 "f" (core func (;6;)))
84 (alias core export $m6 "memory" (core memory (;1;)))
85 (alias core export $m6 "realloc" (core func (;7;)))
86 (func (;5;) (type 6) (canon lift (core func 6) async (memory 1) (realloc 7)))
87 (core module $m7 (;6;)
88 (type (;0;) (func (param i32 i32 i32 i32) (result i32)))
89 (type (;1;) (func (param i32)))
90 (memory (;0;) 1)
91 (export "memory" (memory 0))
92 (export "realloc" (func 0))
93 (export "f" (func 1))
94 (func (;0;) (type 0) (param i32 i32 i32 i32) (result i32)
95 unreachable
96 )
97 (func (;1;) (type 1) (param i32)
98 unreachable
99 )
100 )
101 (core instance $m7 (;6;) (instantiate $m7))
102 (type (;7;) (list string 10))
103 (type (;8;) (func (param "x" 7)))
104 (alias core export $m7 "f" (core func (;8;)))
105 (alias core export $m7 "memory" (core memory (;2;)))
106 (alias core export $m7 "realloc" (core func (;9;)))
107 (func (;6;) (type 8) (canon lift (core func 8) async (memory 2) (realloc 9)))
108 )