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

@ -64,18 +64,10 @@
)
)
)
(drop
(block (result i32)
(set_local $7
(get_local $2)
)
(set_local $2
(i32.sub
(get_local $7)
(i32.const 1)
)
)
(get_local $7)
(set_local $2
(i32.sub
(get_local $2)
(i32.const 1)
)
)
)
@ -2079,8 +2071,6 @@
FUNCTION_PROTOTYPE: unreachable
FUNCTION_PROTOTYPE: current_memory
FUNCTION_PROTOTYPE: grow_memory
FUNCTION_PROTOTYPE: parseInt
FUNCTION_PROTOTYPE: parseFloat
FUNCTION_PROTOTYPE: changetype
FUNCTION_PROTOTYPE: assert
FUNCTION_PROTOTYPE: i8