tshort / WebAssemblyCompiler.jl

Create WebAssembly with Julia
https://tshort.github.io/WebAssemblyCompiler.jl/
MIT License
67 stars 4 forks source link

use i32/i64.eqz for not_int(::Bool) #14

Closed Pangoraw closed 5 months ago

Pangoraw commented 5 months ago

i32.eqz return 1 if operand is 0, and 0 otherwise which has the same values as not_int(::Bool).