Debian Codegraph @

tests/snapshots/cli/component-model/instantiate.wast/37.print

raw
1 (component
2 (component $m (;0;)
3 (core module $sub (;0;)
4 (type (;0;) (func (result i32)))
5 (export "" (func $f))
6 (func $f (;0;) (type 0) (result i32)
7 i32.const 5
8 )
9 )
10 (export (;1;) "module" (core module $sub))
11 )
12 (instance $a (;0;) (instantiate $m))
13 (alias export $a "module" (core module $sub (;0;)))
14 (core instance $b (;0;) (instantiate $sub))
15 (core module $final (;1;)
16 (type (;0;) (func (result i32)))
17 (import "" "" (func $b (;0;) (type 0)))
18 (export "get" (func 1))
19 (func (;1;) (type 0) (result i32)
20 call $b
21 )
22 )
23 (core instance (;1;) (instantiate $final
24 (with "" (instance $b))
25 )
26 )
27 )