blob: 82b5b18afe650c2a6f3e98c19a8799c0f692d13c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
(module
(type $none_=>_i32 (func (result i32)))
(type $i32_=>_i32 (func (param i32) (result i32)))
(memory $0 1)
(export "memory" (memory $0))
(export "grow" (func $0))
(export "current" (func $1))
(func $0 (param $var$0 i32) (result i32)
(memory.grow
(local.get $var$0)
)
)
(func $1 (result i32)
(memory.size)
)
)
|