* More efficient if-statement construction in tmoddivnode.simplify

This commit is contained in:
J. Gareth "Curious Kit" Moreton 2023-05-11 19:13:11 +01:00 committed by FPK
parent 40072fb762
commit 0943458713

View File

@ -178,8 +178,8 @@ implementation
Result:=ctypeconvnode.create_internal(Result,resultdef);
exit;
end;
end;
if is_constintnode(right) and is_constintnode(left) then
if is_constintnode(left) then
begin
rv:=tordconstnode(right).value;
lv:=tordconstnode(left).value;
@ -205,6 +205,7 @@ implementation
end;
end;
end;
end;
function tmoddivnode.use_moddiv64bitint_helper: boolean;