浏览代码

* typo fixed

git-svn-id: trunk@20511 -
florian 13 年之前
父节点
当前提交
e84a43768e
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      compiler/arm/aoptcpub.pas

+ 1 - 1
compiler/arm/aoptcpub.pas

@@ -124,7 +124,7 @@ Implementation
     begin
       result:=false;
       for i:=0 to taicpu(p1).ops-1 do
-        if (taicpu(p1).oper[i]^.typ=top_reg) and (taicpu(p1).oper[i]^.reg=REg) and (taicpu(p1).spilling_get_operation_type(i) in [operand_write,operand_readwrite]) then
+        if (taicpu(p1).oper[i]^.typ=top_reg) and (taicpu(p1).oper[i]^.reg=Reg) and (taicpu(p1).spilling_get_operation_type(i) in [operand_write,operand_readwrite]) then
           begin
             result:=true;
             exit;