Browse Source

Remove unneeded typecasts in TryTOptimizeMove

git-svn-id: trunk@40123 -
pierre 6 năm trước cách đây
mục cha
commit
a015c779ff
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      compiler/m68k/aoptcpu.pas

+ 2 - 2
compiler/m68k/aoptcpu.pas

@@ -199,9 +199,9 @@ unit aoptcpu;
         end;
 
       if GetNextInstruction(p,next) and
-         (taicpu(next).typ = ait_instruction) and
+         (next.typ = ait_instruction) and
          GetNextInstruction(next,next2) and
-         (taicpu(next2).typ = ait_instruction) and
+         (next2.typ = ait_instruction) and
          (taicpu(next).opcode <> taicpu(p).opcode) and
          (taicpu(next2).opcode = taicpu(p).opcode) and
          (taicpu(p).oper[0]^.typ = top_reg) and