blob: 6343689629e2a90dba9a9496194e2dd97f347b85 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
(module
(type $0 (func (param i32) (result i32)))
(type $1 (func (result i32)))
(memory $0 1)
(export "memory" (memory $0))
(export "grow" (func $0))
(export "current" (func $1))
(func $0 (; 0 ;) (type $0) (param $var$0 i32) (result i32)
(grow_memory
(local.get $var$0)
)
)
(func $1 (; 1 ;) (type $1) (result i32)
(current_memory)
)
)
|