| 1 |
(module |
| 2 |
(type $a (;0;) (array i32)) |
| 3 |
(type $b (;1;) (array (mut i32))) |
| 4 |
(type $c (;2;) (array (mut funcref))) |
| 5 |
(type (;3;) (func)) |
| 6 |
(type (;4;) (func (param (ref $a) (ref $b)))) |
| 7 |
(elem $elem (;0;) func $func) |
| 8 |
(func $func (;0;) (type 3)) |
| 9 |
(func (;1;) (type 4) (param (ref $a) (ref $b)) |
| 10 |
i32.const 1 |
| 11 |
i32.const 1 |
| 12 |
array.new $a |
| 13 |
drop |
| 14 |
i32.const 1 |
| 15 |
array.new_default $a |
| 16 |
drop |
| 17 |
local.get 0 |
| 18 |
i32.const 1 |
| 19 |
array.get $a |
| 20 |
drop |
| 21 |
local.get 1 |
| 22 |
i32.const 2 |
| 23 |
i32.const 3 |
| 24 |
array.set $b |
| 25 |
i32.const 1 |
| 26 |
i32.const 1 |
| 27 |
array.new_fixed $a 2 |
| 28 |
drop |
| 29 |
i32.const 0 |
| 30 |
i32.const 4 |
| 31 |
array.new_data $a $data |
| 32 |
drop |
| 33 |
i32.const 0 |
| 34 |
i32.const 1 |
| 35 |
array.new_elem $c $elem |
| 36 |
drop |
| 37 |
local.get 1 |
| 38 |
i32.const 0 |
| 39 |
local.get 1 |
| 40 |
i32.const 0 |
| 41 |
i32.const 1 |
| 42 |
array.copy $b $b |
| 43 |
) |
| 44 |
(data $data (;0;) "\5c0\5c1\5c2\5c3") |
| 45 |
) |