瀏覽代碼

* fixed potentially wrong operation size in tgppccasenode.genlinearlist()
(was in practice currently probably always correct though)

git-svn-id: trunk@16737 -

Jonas Maebe 14 年之前
父節點
當前提交
a40fe9c078
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      compiler/ppcgen/ngppcset.pas

+ 1 - 1
compiler/ppcgen/ngppcset.pas

@@ -184,7 +184,7 @@ implementation
            if t^._low=t^._high then
              begin
                 if t^._low-last=0 then
-                  cg.a_cmp_const_reg_label(current_asmdata.CurrAsmList, opsize, OC_EQ,0,hregister,blocklabel(t^.blockid))
+                  cg.a_cmp_const_reg_label(current_asmdata.CurrAsmList,OS_INT,OC_EQ,0,hregister,blocklabel(t^.blockid))
                 else
                   gensub(longint(int64(t^._low-last)));
                 tcgppc(cg).a_jmp_cond(current_asmdata.CurrAsmList,OC_EQ,blocklabel(t^.blockid));