@grain/libbinaryen
Version:
Libbinaryen packaged for OCaml.
129 lines (128 loc) • 1.63 kB
Plain Text
(module
(type $2 (func (result i32)))
(type $1 (func))
(memory $0 256 256)
(func $b14 (result i32)
(drop
(select
(block $block1 (result i32)
(i32.const 12)
)
(block $block3 (result i32)
(i32.const 27)
)
(i32.const 1)
)
)
(drop
(select
(i32.load
(i32.const 10)
)
(i32.const 27)
(i32.const 1)
)
)
(drop
(select
(i32.rem_s
(i32.const 11)
(i32.const 12)
)
(i32.const 27)
(i32.const 1)
)
)
(drop
(select
(i32.trunc_f64_u
(f64.const 12.34)
)
(i32.const 27)
(i32.const 1)
)
)
(i32.const 0)
)
(func $join-br_ifs
(local $x i32)
(block $out
(br_if $out
(i32.or
(local.get $x)
(local.get $x)
)
)
(nop)
(br_if $out
(local.get $x)
)
)
(block $out2
(block $out3
(br_if $out2
(local.get $x)
)
(br_if $out3
(local.get $x)
)
(br_if $out2
(local.get $x)
)
)
(unreachable)
)
(block $out4
(block $out5
(br_if $out4
(local.get $x)
)
(br_if $out5
(i32.or
(local.get $x)
(local.get $x)
)
)
(nop)
)
(unreachable)
)
(block $out6
(block $out7
(br_if $out6
(i32.or
(local.get $x)
(local.get $x)
)
)
(nop)
(br_if $out7
(local.get $x)
)
)
(unreachable)
)
(if
(i32.eqz
(i32.or
(call $b14)
(local.get $x)
)
)
(then
(block $out8
(nop)
(nop)
)
)
)
(block $out80
(br_if $out80
(local.get $x)
)
(br_if $out80
(call $b14)
)
)
)
)