mirror of
https://github.com/fluencelabs/assemblyscript
synced 2025-06-12 22:41:27 +00:00
Cast to bool by comparing to zero (#343)
This commit is contained in:
@ -1250,8 +1250,8 @@
|
||||
get_local $1
|
||||
f32.ne
|
||||
end
|
||||
i32.const 1
|
||||
i32.and
|
||||
i32.const 0
|
||||
i32.ne
|
||||
if
|
||||
get_local $0
|
||||
get_local $1
|
||||
@ -2531,8 +2531,8 @@
|
||||
get_local $1
|
||||
f64.ne
|
||||
end
|
||||
i32.const 1
|
||||
i32.and
|
||||
i32.const 0
|
||||
i32.ne
|
||||
if
|
||||
get_local $0
|
||||
get_local $1
|
||||
|
Reference in New Issue
Block a user