Debian Codegraph @

tests/snapshots/cli/folding/fold-call.wast/0.print

raw
1 (module
2 (type $i_i (;0;) (func (param i32) (result i32)))
3 (type (;1;) (func (param i32 f32) (result f32)))
4 (type (;2;) (func (param f32 f32 f32 f32)))
5 (type (;3;) (func (result i32)))
6 (type (;4;) (func))
7 (table (;0;) 2 2 funcref)
8 (elem (;0;) (table 0) (i32.const 0) func $i_i $if_f)
9 (func $i_i (;0;) (type $i_i) (param i32) (result i32)
10 i32.const 1
11 )
12 (func $if_f (;1;) (type 1) (param i32 f32) (result f32)
13 f32.const 0x0p+0 (;=0;)
14 )
15 (func $ffff_v (;2;) (type 2) (param f32 f32 f32 f32))
16 (func $fold-call (;3;) (type 3) (result i32)
17 i32.const 1
18 call $i_i
19 drop
20 i32.const 2
21 call $i_i
22 )
23 (func $fold-call-2 (;4;) (type 4)
24 f32.const 0x0p+0 (;=0;)
25 f32.const 0x1p+0 (;=1;)
26 f32.const 0x1p+1 (;=2;)
27 i32.const 3
28 f32.const 0x1p+2 (;=4;)
29 call $if_f
30 call $ffff_v
31 )
32 (func $fold-call-indirect (;5;) (type 3) (result i32)
33 i32.const 1
34 i32.const 2
35 call_indirect (type $i_i)
36 )
37 )