blob: 6015fc83328f12efbd356071ce2f140e5b645bdc [file] [log] [blame] [edit]
(module
(type $0 (func))
(func $contrast
(local $x i32)
(local $y i32)
(local $z i32)
(local $a i32)
(local $b i32)
(local.set $x
(i32.const 1)
)
(if
(local.get $x)
(then
(nop)
)
)
(if
(local.get $x)
(then
(nop)
)
)
(nop)
(drop
(if (result i32)
(i32.const 2)
(then
(i32.const 3)
)
(else
(i32.const 4)
)
)
)
(nop)
(drop
(block (result i32)
(i32.const 5)
)
)
(if
(i32.const 6)
(then
(local.set $a
(i32.const 7)
)
)
(else
(local.set $a
(i32.const 8)
)
)
)
(drop
(local.get $a)
)
(block $val
(if
(i32.const 10)
(then
(local.set $b
(i32.const 11)
)
(br $val)
)
)
(local.set $b
(i32.const 12)
)
)
(drop
(local.get $b)
)
)
)