Bläddra i källkod

m68k: plain 68000 also needs extra handling for large offsets

git-svn-id: trunk@28423 -
Károly Balogh 11 år sedan
förälder
incheckning
ccc9bc0941
1 ändrade filer med 2 tillägg och 2 borttagningar
  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;