Преглед на файлове

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 преди 12 години
родител
ревизия
aedf2dc20d
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  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,