소스 검색

- removed the check for pocall_oldfpccall from ncgutil.gen_save_used_regs and
gen_restore_used_regs. This is now handled by get_saved_registers_int in
cpupara.

git-svn-id: trunk@38934 -

nickysn 7 년 전
부모
커밋
55ecc7feff
1개의 변경된 파일2개의 추가작업 그리고 6개의 파일을 삭제
  1. 2 6
      compiler/ncgutil.pas

+ 2 - 6
compiler/ncgutil.pas

@@ -1376,9 +1376,7 @@ implementation
         if (po_assembler in current_procinfo.procdef.procoptions) then
           exit;
 
-        { oldfpccall expects all registers to be destroyed }
-        if current_procinfo.procdef.proccalloption<>pocall_oldfpccall then
-            cg.g_save_registers(list);
+        cg.g_save_registers(list);
       end;
 
 
@@ -1388,9 +1386,7 @@ implementation
         if (po_assembler in current_procinfo.procdef.procoptions) then
           exit;
 
-        { oldfpccall expects all registers to be destroyed }
-        if current_procinfo.procdef.proccalloption<>pocall_oldfpccall then
-          cg.g_restore_registers(list);
+        cg.g_restore_registers(list);
       end;