- rm the special case handling of unsigned 32-bit ordinals in taddnode.pass_1,

since it performs exactly the same thing as the generic signed 32-bit handling
  in the else clause (regardless of whether cpuneedsmulhelper is defined or not)

git-svn-id: trunk@26340 -
This commit is contained in:
nickysn 2013-12-31 15:44:29 +00:00
parent f393c3ff37
commit 4917d8da39

View File

@ -2882,21 +2882,7 @@ implementation
expectloc:=LOC_JUMP;
end
{$endif cpu64bitalu}
{$ifndef cpuneedsmulhelper}
{ is there a cardinal? }
else if (torddef(ld).ordtype=u32bit) then
begin
if nodetype in [addn,subn,muln,andn,orn,xorn] then
expectloc:=LOC_REGISTER
else
{$ifdef cpu16bitalu}
expectloc:=LOC_JUMP;
{$else cpu16bitalu}
expectloc:=LOC_FLAGS;
{$endif cpu16bitalu}
end
{$endif cpuneedsmulhelper}
{ generic s32bit conversion }
{ generic 32bit conversion }
else
begin
{$ifdef cpuneedsmulhelper}