m68k: D2 is considered volatile on macosclassic

git-svn-id: trunk@49294 -
This commit is contained in:
Károly Balogh 2021-04-29 22:06:26 +00:00
parent f0b322f4ed
commit cdc7fec019

View File

@ -83,7 +83,7 @@ unit cpupara;
begin
{ d0 and d1 are considered volatile }
Result:=VOLATILE_INTREGISTERS;
if (target_info.system in [system_m68k_palmos]) or
if (target_info.system in [system_m68k_palmos,system_m68k_macosclassic]) or
((target_info.system in [system_m68k_atari]) and (calloption in [pocall_syscall])) then
include(result,RS_D2);
end;