87 lines
1.2 KiB
Plaintext
Raw Normal View History

(module
(type $iv (func (param i32)))
(memory $0 1)
(data (i32.const 4) "\08\00\00\00")
2017-12-02 23:33:01 +01:00
(export "loopDo" (func $do/loopDo))
(export "loopDoInDo" (func $do/loopDoInDo))
(export "memory" (memory $0))
(func $do/loopDo (; 0 ;) (type $iv) (param $0 i32)
(block $break$1.1
(loop $continue$1.1
2017-12-05 15:06:44 +01:00
(set_local $0
(i32.sub
(get_local $0)
(i32.const 1)
)
)
(br_if $continue$1.1
(get_local $0)
)
)
)
)
(func $do/loopDoInDo (; 1 ;) (type $iv) (param $0 i32)
(block $break$1.1
(loop $continue$1.1
(block
(set_local $0
(i32.sub
(get_local $0)
(i32.const 1)
)
)
(block $break$1.2
(loop $continue$1.2
2017-12-05 15:06:44 +01:00
(set_local $0
(i32.sub
(get_local $0)
(i32.const 1)
)
)
(br_if $continue$1.2
(get_local $0)
)
)
)
)
(br_if $continue$1.1
(get_local $0)
)
)
)
)
)
(;
[program.elements]
clz
ctz
popcnt
rotl
rotr
abs
ceil
copysign
floor
max
min
nearest
sqrt
trunc
current_memory
grow_memory
unreachable
2017-12-04 22:47:08 +01:00
load
store
reinterpret
select
sizeof
isNaN
isFinite
assert
do/loopDo
do/loopDoInDo
[program.exports]
do/loopDo
do/loopDoInDo
;)