blob: f7d01b451317383a7e9110afa8184d780a0ce9a5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
(module
(type $i32_i32_=>_i32 (func (param i32 i32) (result i32)))
(memory $0 256 256)
(export "add" (func $0))
(func $0 (; 0 ;) (param $0 i32) (param $1 i32) (result i32)
(local $2 i32)
(i32.add
(block (result i32)
(local.set $2
(local.get $0)
)
(local.set $0
(i32.const 100)
)
(local.get $2)
)
(local.get $1)
)
)
)
|