@@ -578,9 +578,6 @@ implementation
end;
OS_64,OS_S64:
begin
- { unsigned 64 bit division must be done via a helper }
- if op=OP_DIV then
- internalerror(2010120530);
{ boolean not: =0? for boolean }
if (op=OP_NOT) and is_pasbool(size) then
@@ -69,6 +69,7 @@ implementation
function twasmmoddivnode.use_moddiv64bitint_helper: boolean;
result:=
+ (nodetype=modn) and
(left.resultdef.typ=orddef) and
(right.resultdef.typ=orddef) and
((torddef(left.resultdef).ordtype=u64bit) or