* fixed 'not(boolean64)' for WebAssembly

This commit is contained in:
Nikolay Nikolov 2021-10-01 03:01:55 +03:00
parent c6a549eb48
commit 188a21bbfd

View File

@ -544,7 +544,10 @@ implementation
{ boolean not: =0? for boolean }
{ todo: should we also do this for cbool? }
if (op=OP_NOT) and is_pasbool(size) then
list.concat(taicpu.op_none(a_i64_eqz))
begin
list.concat(taicpu.op_none(a_i64_eqz));
list.concat(taicpu.op_none(a_i64_extend_i32_u));
end
else
begin
if op=OP_NOT then