Browse Source

* fixed writing of constant operands outside the longint range

git-svn-id: branches/hlcgllvm@27005 -
Jonas Maebe 11 years ago
parent
commit
358b346bbc
1 changed files with 1 additions and 1 deletions
  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