mirror of
https://github.com/fluencelabs/assemblyscript
synced 2025-07-31 22:22:13 +00:00
Cast to bool by comparing to zero (#343)
This commit is contained in:
@@ -441,8 +441,8 @@
|
||||
call $~lib/internal/arraybuffer/allocateUnsafe
|
||||
set_local $3
|
||||
get_local $2
|
||||
i32.const 1
|
||||
i32.and
|
||||
i32.const 0
|
||||
i32.ne
|
||||
i32.eqz
|
||||
if
|
||||
get_local $3
|
||||
|
Reference in New Issue
Block a user