From 358b346bbc6c2e700c44ae962fa2aa80858e00fe Mon Sep 17 00:00:00 2001 From: Jonas Maebe Date: Thu, 6 Mar 2014 21:41:46 +0000 Subject: [PATCH] * fixed writing of constant operands outside the longint range git-svn-id: branches/hlcgllvm@27005 - --- compiler/llvm/agllvm.pas | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/llvm/agllvm.pas b/compiler/llvm/agllvm.pas index fe1144dde5..2beee5df26 100644 --- a/compiler/llvm/agllvm.pas +++ b/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