mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-14 10:20:21 +02:00
- 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:
parent
d37b1b631e
commit
55ecc7feff
@ -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;
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user