Debian Codegraph @

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

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