mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-20 19:09:23 +02:00
* fixed 'not(boolean64)' for WebAssembly
This commit is contained in:
parent
c6a549eb48
commit
188a21bbfd
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user