Browse Source

- rm bogus ifdef cpu16bitalu from tparamanager.allocparaloc and .freecgpara
(leftover from my initial hacky implementation of returning int64 function
results in ax:bx:cx:dx, that is no longer in use?)

git-svn-id: trunk@27662 -

nickysn 11 years ago
parent
commit
d8d35a32c9
1 changed files with 2 additions and 14 deletions
  1. 2 14
      compiler/paramgr.pas

+ 2 - 14
compiler/paramgr.pas

@@ -290,13 +290,7 @@ implementation
           LOC_CREGISTER:
             begin
               if getsupreg(paraloc^.register)<first_int_imreg then
-                begin
-                  cg.getcpuregister(list,paraloc^.register);
-{$ifdef cpu16bitalu}
-                  if paraloc^.Size in [OS_32, OS_S32] then
-                    cg.getcpuregister(list,GetNextReg(paraloc^.register));
-{$endif cpu16bitalu}
-                end;
+                cg.getcpuregister(list,paraloc^.register);
             end;
 {$ifndef x86}
 { don't allocate ST(x), they're not handled by the register allocator }
@@ -345,13 +339,7 @@ implementation
               LOC_CREGISTER:
                 begin
                   if getsupreg(paraloc^.register)<first_int_imreg then
-                    begin
-                      cg.ungetcpuregister(list,paraloc^.register);
-{$ifdef cpu16bitalu}
-                      if paraloc^.Size in [OS_32, OS_S32] then
-                        cg.ungetcpuregister(list,GetNextReg(paraloc^.register));
-{$endif cpu16bitalu}
-                    end;
+                    cg.ungetcpuregister(list,paraloc^.register);
                 end;
               LOC_FPUREGISTER,
               LOC_CFPUREGISTER: