blob: d7c85091e1d69763f3c3a861aa0a6d1a005c3666 (
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 (param $0 i32) (param $1 i32) (result i32)
(local $scratch i32)
(i32.add
(block (result i32)
(local.set $scratch
(local.get $0)
)
(local.set $0
(i32.const 100)
)
(local.get $scratch)
)
(local.get $1)
)
)
)
|