浏览代码

* fixed writing of constant operands outside the longint range

git-svn-id: branches/hlcgllvm@27005 -
Jonas Maebe 11 年之前
父节点
当前提交
358b346bbc
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      compiler/llvm/agllvm.pas

+ 1 - 1
compiler/llvm/agllvm.pas

@@ -235,7 +235,7 @@ implementation
          top_reg:
            getopstr:=getregisterstring(o.reg);
          top_const:
-           getopstr:=tostr(longint(o.val));
+           getopstr:=tostr(int64(o.val));
          top_ref:
            if o.ref^.refaddr=addr_full then
              begin