浏览代码

* fixed address calculation when generating pic

git-svn-id: trunk@1759 -
florian 20 年之前
父节点
当前提交
99be25604b
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      compiler/x86/cgx86.pas

+ 1 - 1
compiler/x86/cgx86.pas

@@ -413,7 +413,7 @@ unit cgx86;
               end
             else
               begin
-                list.concat(taicpu.op_reg_reg(A_ADD,S_Q,ref.base,hreg));
+                list.concat(taicpu.op_reg_reg(A_ADD,S_L,ref.base,hreg));
                 ref.base:=hreg;
               end;
           end;