Minor string comparision optimizations (#77)

This commit is contained in:
Max Graey
2018-04-17 00:02:55 +03:00
committed by Daniel Wirtz
parent 1013c21359
commit 6d0b5d92c2
7 changed files with 172 additions and 169 deletions

View File

@ -5320,18 +5320,19 @@
)
)
(if
(i32.eqz
(get_local $0)
)
(return
(i32.eqz
(get_local $1)
(i32.and
(if (result i32)
(tee_local $2
(i32.eqz
(get_local $0)
)
)
(get_local $2)
(i32.eqz
(get_local $1)
)
)
)
)
(if
(i32.eqz
(get_local $1)
(i32.const 1)
)
(return
(i32.const 0)