- 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 -
This commit is contained in:
nickysn 2018-05-06 12:41:40 +00:00
parent d37b1b631e
commit 55ecc7feff

View File

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