Debian Codegraph @

tests/snapshots/testsuite/proposals/wasm-3.0/array_new_elem.wast/9.print

raw
1 (module
2 (type $arr (;0;) (array i31ref))
3 (type (;1;) (func (result i32 i32)))
4 (export "array-new-elem-contents" (func 0))
5 (elem $e (;0;) i31ref (item i32.const 170 ref.i31) (item i32.const 187 ref.i31) (item i32.const 204 ref.i31) (item i32.const 221 ref.i31))
6 (func (;0;) (type 1) (result i32 i32)
7 (local (ref $arr))
8 i32.const 1
9 i32.const 2
10 array.new_elem $arr $e
11 local.set 0
12 local.get 0
13 i32.const 0
14 array.get $arr
15 i31.get_u
16 local.get 0
17 i32.const 1
18 array.get $arr
19 i31.get_u
20 )
21 )