Sfoglia il codice sorgente

* fixed writing of constant operands outside the longint range

git-svn-id: branches/hlcgllvm@27005 -
Jonas Maebe 11 anni fa
parent
commit
358b346bbc
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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