blob: 375e216a2a6e35bd646129c3249dcc37a8bdeb77 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
(module
(type $0 (func (param i32 i32) (result i32)))
(memory $0 256 256)
(export "add" (func $0))
(func $0 (type $0) (param $var$0 i32) (param $var$1 i32) (result i32)
(local $2 i32)
(i32.add
(block (result i32)
(set_local $2
(get_local $var$0)
)
(set_local $var$0
(i32.const 100)
)
(get_local $2)
)
(get_local $var$1)
)
)
)
|