浏览代码

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 年之前
父节点
当前提交
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,