Fix unsigned ops; Fix parenthesized conversion; Minor restructure

This commit is contained in:
dcodeIO
2017-12-11 18:46:11 +01:00
parent b5ffaf36cd
commit b5cc2f9924
24 changed files with 1062 additions and 79 deletions

View File

@@ -59,7 +59,7 @@
)
(func $tlsf/control$set_sl_bitmap (; 5 ;) (type $iiiv) (param $0 i32) (param $1 i32) (param $2 i32)
(if
(i32.ge_s
(i32.ge_u
(get_local $1)
(i32.const 23)
)
@@ -81,14 +81,14 @@
)
(func $tlsf/control$set_block (; 6 ;) (type $iiiiv) (param $0 i32) (param $1 i32) (param $2 i32) (param $3 i32)
(if
(i32.ge_s
(i32.ge_u
(get_local $1)
(i32.const 23)
)
(unreachable)
)
(if
(i32.ge_s
(i32.ge_u
(get_local $2)
(i32.const 32)
)
@@ -134,7 +134,7 @@
)
(loop $continue|0
(if
(i32.lt_s
(i32.lt_u
(get_local $1)
(i32.const 23)
)
@@ -149,7 +149,7 @@
)
(loop $continue|1
(if
(i32.lt_s
(i32.lt_u
(get_local $2)
(i32.const 32)
)