mirror of
https://github.com/fluencelabs/assemblyscript
synced 2025-06-26 05:01:52 +00:00
Fix unsigned ops; Fix parenthesized conversion; Minor restructure
This commit is contained in:
@ -19,7 +19,7 @@
|
||||
(tee_local $3
|
||||
(get_local $2)
|
||||
)
|
||||
(i32.rem_s
|
||||
(i32.rem_u
|
||||
(get_local $1)
|
||||
(i32.const 4)
|
||||
)
|
||||
@ -62,7 +62,7 @@
|
||||
)
|
||||
(if
|
||||
(i32.eqz
|
||||
(i32.rem_s
|
||||
(i32.rem_u
|
||||
(get_local $4)
|
||||
(i32.const 4)
|
||||
)
|
||||
@ -70,7 +70,7 @@
|
||||
(block
|
||||
(loop $continue|1
|
||||
(if
|
||||
(i32.ge_s
|
||||
(i32.ge_u
|
||||
(get_local $2)
|
||||
(i32.const 16)
|
||||
)
|
||||
@ -247,7 +247,7 @@
|
||||
)
|
||||
)
|
||||
(if
|
||||
(i32.ge_s
|
||||
(i32.ge_u
|
||||
(get_local $2)
|
||||
(i32.const 32)
|
||||
)
|
||||
@ -258,7 +258,7 @@
|
||||
(block $tablify|0
|
||||
(br_table $case0|2 $case1|2 $case2|2 $tablify|0
|
||||
(i32.sub
|
||||
(i32.rem_s
|
||||
(i32.rem_u
|
||||
(get_local $4)
|
||||
(i32.const 4)
|
||||
)
|
||||
@ -353,7 +353,7 @@
|
||||
)
|
||||
(loop $continue|3
|
||||
(if
|
||||
(i32.ge_s
|
||||
(i32.ge_u
|
||||
(get_local $2)
|
||||
(i32.const 17)
|
||||
)
|
||||
@ -532,7 +532,7 @@
|
||||
)
|
||||
(loop $continue|4
|
||||
(if
|
||||
(i32.ge_s
|
||||
(i32.ge_u
|
||||
(get_local $2)
|
||||
(i32.const 18)
|
||||
)
|
||||
@ -687,7 +687,7 @@
|
||||
)
|
||||
(loop $continue|5
|
||||
(if
|
||||
(i32.ge_s
|
||||
(i32.ge_u
|
||||
(get_local $2)
|
||||
(i32.const 19)
|
||||
)
|
||||
|
Reference in New Issue
Block a user