Переглянути джерело

* m68k: don't do replace spilling if spilltemp.offset exceeds 16 bits on Coldfire targets.

git-svn-id: trunk@28296 -
sergei 11 роки тому
батько
коміт
b4d9d97a03
1 змінених файлів з 2 додано та 0 видалено
  1. 2 0
      compiler/m68k/rgcpu.pas

+ 2 - 0
compiler/m68k/rgcpu.pas

@@ -126,6 +126,8 @@ unit rgcpu;
       begin
       begin
         result:=false;
         result:=false;
         opidx:=-1;
         opidx:=-1;
+        if (abs(spilltemp.offset)>32767) and (current_settings.cputype in cpu_coldfire) then
+          exit;
         case instr.ops of
         case instr.ops of
           1:
           1:
             begin
             begin