Debian Codegraph @

tests/snapshots/testsuite/proposals/wasm-3.0/memory_grow64.wast/0.print

raw
1 (module
2 (type (;0;) (func (result i32)))
3 (type (;1;) (func))
4 (type (;2;) (func (param i64) (result i64)))
5 (type (;3;) (func (result i64)))
6 (memory (;0;) i64 0)
7 (export "load_at_zero" (func 0))
8 (export "store_at_zero" (func 1))
9 (export "load_at_page_size" (func 2))
10 (export "store_at_page_size" (func 3))
11 (export "grow" (func 4))
12 (export "size" (func 5))
13 (func (;0;) (type 0) (result i32)
14 i64.const 0
15 i32.load
16 )
17 (func (;1;) (type 1)
18 i64.const 0
19 i32.const 2
20 i32.store
21 )
22 (func (;2;) (type 0) (result i32)
23 i64.const 65536
24 i32.load
25 )
26 (func (;3;) (type 1)
27 i64.const 65536
28 i32.const 3
29 i32.store
30 )
31 (func (;4;) (type 2) (param $sz i64) (result i64)
32 local.get $sz
33 memory.grow
34 )
35 (func (;5;) (type 3) (result i64)
36 memory.size
37 )
38 )