| 1 |
(module |
| 2 |
(type $sig (;0;) (func)) |
| 3 |
(type $empty-sig-duplicate (;1;) (func)) |
| 4 |
(type $complex-sig-duplicate (;2;) (func (param i64 i64 f64 i64 f64 i64 f32 i32))) |
| 5 |
(type (;3;) (func (param f64 i64 f64 i64 f64 i64 f32 i32))) |
| 6 |
(table (;0;) 7 7 funcref) |
| 7 |
(export "signature-explicit-reused" (func 7)) |
| 8 |
(export "signature-implicit-reused" (func 8)) |
| 9 |
(export "signature-explicit-duplicate" (func 9)) |
| 10 |
(export "signature-implicit-duplicate" (func 10)) |
| 11 |
(elem (;0;) (table 0) (i32.const 0) func $complex-sig-3 $empty-sig-2 $complex-sig-1 $complex-sig-3 $empty-sig-1 $complex-sig-4 $complex-sig-5) |
| 12 |
(func $empty-sig-1 (;0;) (type $sig)) |
| 13 |
(func $complex-sig-1 (;1;) (type 3) (param f64 i64 f64 i64 f64 i64 f32 i32)) |
| 14 |
(func $empty-sig-2 (;2;) (type $sig)) |
| 15 |
(func $complex-sig-2 (;3;) (type 3) (param f64 i64 f64 i64 f64 i64 f32 i32)) |
| 16 |
(func $complex-sig-3 (;4;) (type 3) (param f64 i64 f64 i64 f64 i64 f32 i32)) |
| 17 |
(func $complex-sig-4 (;5;) (type $complex-sig-duplicate) (param i64 i64 f64 i64 f64 i64 f32 i32)) |
| 18 |
(func $complex-sig-5 (;6;) (type $complex-sig-duplicate) (param i64 i64 f64 i64 f64 i64 f32 i32)) |
| 19 |
(func (;7;) (type $sig) |
| 20 |
i32.const 1 |
| 21 |
call_indirect (type $sig) |
| 22 |
i32.const 4 |
| 23 |
call_indirect (type $sig) |
| 24 |
) |
| 25 |
(func (;8;) (type $sig) |
| 26 |
f64.const 0x0p+0 (;=0;) |
| 27 |
i64.const 0 |
| 28 |
f64.const 0x0p+0 (;=0;) |
| 29 |
i64.const 0 |
| 30 |
f64.const 0x0p+0 (;=0;) |
| 31 |
i64.const 0 |
| 32 |
f32.const 0x0p+0 (;=0;) |
| 33 |
i32.const 0 |
| 34 |
i32.const 0 |
| 35 |
call_indirect (type 3) |
| 36 |
f64.const 0x0p+0 (;=0;) |
| 37 |
i64.const 0 |
| 38 |
f64.const 0x0p+0 (;=0;) |
| 39 |
i64.const 0 |
| 40 |
f64.const 0x0p+0 (;=0;) |
| 41 |
i64.const 0 |
| 42 |
f32.const 0x0p+0 (;=0;) |
| 43 |
i32.const 0 |
| 44 |
i32.const 2 |
| 45 |
call_indirect (type 3) |
| 46 |
f64.const 0x0p+0 (;=0;) |
| 47 |
i64.const 0 |
| 48 |
f64.const 0x0p+0 (;=0;) |
| 49 |
i64.const 0 |
| 50 |
f64.const 0x0p+0 (;=0;) |
| 51 |
i64.const 0 |
| 52 |
f32.const 0x0p+0 (;=0;) |
| 53 |
i32.const 0 |
| 54 |
i32.const 3 |
| 55 |
call_indirect (type 3) |
| 56 |
) |
| 57 |
(func (;9;) (type $sig) |
| 58 |
i32.const 1 |
| 59 |
call_indirect (type $empty-sig-duplicate) |
| 60 |
) |
| 61 |
(func (;10;) (type $sig) |
| 62 |
i64.const 0 |
| 63 |
i64.const 0 |
| 64 |
f64.const 0x0p+0 (;=0;) |
| 65 |
i64.const 0 |
| 66 |
f64.const 0x0p+0 (;=0;) |
| 67 |
i64.const 0 |
| 68 |
f32.const 0x0p+0 (;=0;) |
| 69 |
i32.const 0 |
| 70 |
i32.const 5 |
| 71 |
call_indirect (type $complex-sig-duplicate) |
| 72 |
i64.const 0 |
| 73 |
i64.const 0 |
| 74 |
f64.const 0x0p+0 (;=0;) |
| 75 |
i64.const 0 |
| 76 |
f64.const 0x0p+0 (;=0;) |
| 77 |
i64.const 0 |
| 78 |
f32.const 0x0p+0 (;=0;) |
| 79 |
i32.const 0 |
| 80 |
i32.const 6 |
| 81 |
call_indirect (type $complex-sig-duplicate) |
| 82 |
) |
| 83 |
) |