Browse Source

- 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 -

nickysn 11 years ago
parent
commit
4917d8da39
1 changed files with 1 additions and 15 deletions
  1. 1 15
      compiler/nadd.pas

+ 1 - 15
compiler/nadd.pas

@@ -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}