Explorar o código

m68k: plain 68000 also needs extra handling for large offsets

git-svn-id: trunk@28423 -
Károly Balogh %!s(int64=11) %!d(string=hai) anos
pai
achega
ccc9bc0941
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      compiler/m68k/rgcpu.pas

+ 2 - 2
compiler/m68k/rgcpu.pas

@@ -60,7 +60,7 @@ unit rgcpu;
         helplist : tasmlist;
         hreg     : tregister;
       begin
-        if (abs(spilltemp.offset)>32767) and (current_settings.cputype in cpu_coldfire) then
+        if (abs(spilltemp.offset)>32767) and (current_settings.cputype in (cpu_coldfire + [cpu_mc68000])) then
           begin
             helplist:=tasmlist.create;
 
@@ -92,7 +92,7 @@ unit rgcpu;
         helplist : tasmlist;
         hreg     : tregister;
       begin
-        if (abs(spilltemp.offset)>32767) and (current_settings.cputype in cpu_coldfire) then
+        if (abs(spilltemp.offset)>32767) and (current_settings.cputype in (cpu_coldfire + [cpu_mc68000])) then
           begin
             helplist:=tasmlist.create;