Builtins rewrite with type parameter inference; Small integer math optimizations; Switchify

This commit is contained in:
dcodeIO
2018-01-10 13:09:05 +01:00
parent 0de05b543b
commit fc777b3a89
64 changed files with 4894 additions and 1620 deletions

View File

@ -4,6 +4,18 @@
(export "memory" (memory $0))
(start $start)
(func $start (; 0 ;) (type $v)
(nop)
(local $0 i32)
(if
(i32.eqz
(if (result i32)
(tee_local $0
(i32.const 1)
)
(get_local $0)
(unreachable)
)
)
(unreachable)
)
)
)