2017-12-05 22:47:20 +01:00
|
|
|
(module
|
|
|
|
(type $v (func))
|
2017-12-08 04:03:44 +01:00
|
|
|
(global $HEAP_START i32 (i32.const 4))
|
2017-12-05 22:47:20 +01:00
|
|
|
(memory $0 1)
|
|
|
|
(export "memory" (memory $0))
|
|
|
|
(start $start)
|
|
|
|
(func $start (; 0 ;) (type $v)
|
|
|
|
(if
|
|
|
|
(i32.eqz
|
|
|
|
(i32.const 1)
|
|
|
|
)
|
|
|
|
(unreachable)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(;
|
|
|
|
[program.elements]
|
|
|
|
clz
|
|
|
|
ctz
|
|
|
|
popcnt
|
|
|
|
rotl
|
|
|
|
rotr
|
|
|
|
abs
|
|
|
|
ceil
|
|
|
|
copysign
|
|
|
|
floor
|
|
|
|
max
|
|
|
|
min
|
|
|
|
nearest
|
|
|
|
sqrt
|
|
|
|
trunc
|
|
|
|
current_memory
|
|
|
|
grow_memory
|
|
|
|
unreachable
|
|
|
|
load
|
|
|
|
store
|
|
|
|
reinterpret
|
|
|
|
select
|
|
|
|
sizeof
|
2017-12-08 04:03:44 +01:00
|
|
|
changetype
|
2017-12-05 22:47:20 +01:00
|
|
|
isNaN
|
|
|
|
isFinite
|
|
|
|
assert
|
2017-12-12 01:35:48 +01:00
|
|
|
parseInt
|
|
|
|
parseFloat
|
2017-12-05 22:47:20 +01:00
|
|
|
[program.exports]
|
|
|
|
|
|
|
|
;)
|