Răsfoiți Sursa

fixed spilling operation type for A_LEA, fixes test tb0112 to compile, but still fails to run

git-svn-id: trunk@25745 -
Károly Balogh 11 ani în urmă
părinte
comite
aedf2dc20d
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  1. 1 1
      compiler/m68k/aasmcpu.pas

+ 1 - 1
compiler/m68k/aasmcpu.pas

@@ -464,7 +464,7 @@ type
         result:=operand_read;
 
         case opcode of
-          A_MOVE, A_MOVEQ, A_MOVEA:
+          A_MOVE, A_MOVEQ, A_MOVEA, A_LEA:
             if opnr=1 then
               result:=operand_write;
           A_ADD, A_ADDQ, A_ADDX, A_SUB, A_SUBQ, A_SUBX,