瀏覽代碼

- 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 年之前
父節點
當前提交
d8d35a32c9
共有 1 個文件被更改,包括 2 次插入14 次删除
  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: