Browse Source

m68k: D2 is considered volatile on macosclassic

git-svn-id: trunk@49294 -
Károly Balogh 4 years ago
parent
commit
cdc7fec019
1 changed files with 1 additions and 1 deletions
  1. 1 1
      compiler/m68k/cpupara.pas

+ 1 - 1
compiler/m68k/cpupara.pas

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