| 1 |
(module |
| 2 |
(type (;0;) (func)) |
| 3 |
(type (;1;) (func (param (ref null (shared i31))))) |
| 4 |
(type (;2;) (func (param (ref null (shared array))))) |
| 5 |
(type (;3;) (func (param (ref null (shared extern))) (result (ref null (shared any))))) |
| 6 |
(type (;4;) (func (param (ref (shared extern))) (result (ref (shared any))))) |
| 7 |
(type (;5;) (func (param (ref null (shared any))) (result (ref null (shared extern))))) |
| 8 |
(type (;6;) (func (param (ref (shared any))) (result (ref (shared extern))))) |
| 9 |
(func (;0;) (type 0) |
| 10 |
ref.null (shared none) |
| 11 |
ref.null (shared none) |
| 12 |
ref.eq |
| 13 |
drop |
| 14 |
) |
| 15 |
(func (;1;) (type 1) (param (ref null (shared i31))) |
| 16 |
local.get 0 |
| 17 |
i31.get_s |
| 18 |
drop |
| 19 |
) |
| 20 |
(func (;2;) (type 1) (param (ref null (shared i31))) |
| 21 |
local.get 0 |
| 22 |
i31.get_u |
| 23 |
drop |
| 24 |
) |
| 25 |
(func (;3;) (type 2) (param (ref null (shared array))) |
| 26 |
local.get 0 |
| 27 |
array.len |
| 28 |
drop |
| 29 |
) |
| 30 |
(func (;4;) (type 3) (param (ref null (shared extern))) (result (ref null (shared any))) |
| 31 |
local.get 0 |
| 32 |
any.convert_extern |
| 33 |
) |
| 34 |
(func (;5;) (type 4) (param (ref (shared extern))) (result (ref (shared any))) |
| 35 |
local.get 0 |
| 36 |
any.convert_extern |
| 37 |
) |
| 38 |
(func (;6;) (type 5) (param (ref null (shared any))) (result (ref null (shared extern))) |
| 39 |
local.get 0 |
| 40 |
extern.convert_any |
| 41 |
) |
| 42 |
(func (;7;) (type 6) (param (ref (shared any))) (result (ref (shared extern))) |
| 43 |
local.get 0 |
| 44 |
extern.convert_any |
| 45 |
) |
| 46 |
) |