summaryrefslogtreecommitdiff
path: root/compiler/cgutils.pas
diff options
context:
space:
mode:
authornickysn <nickysn@3ad0048d-3df7-0310-abae-a5850022a9f2>2013-03-09 20:57:19 +0000
committernickysn <nickysn@3ad0048d-3df7-0310-abae-a5850022a9f2>2013-03-09 20:57:19 +0000
commitf976d0762886fbc56e84f5ea885701a34f0b2352 (patch)
tree75d3b9db391ca1cf59cea88a017278037876bc8e /compiler/cgutils.pas
parent30bb23505d29813eae0c04bbe737822c4202bfa8 (diff)
downloadfpc-f976d0762886fbc56e84f5ea885701a34f0b2352.tar.gz
tlocation.value (for LOC_CONSTANTs) changed to TCGInt to avoid trouble on < 32-bit cpus
git-svn-id: http://svn.freepascal.org/svn/fpc/branches/i8086@23758 3ad0048d-3df7-0310-abae-a5850022a9f2
Diffstat (limited to 'compiler/cgutils.pas')
-rw-r--r--compiler/cgutils.pas6
1 files changed, 1 insertions, 5 deletions
diff --git a/compiler/cgutils.pas b/compiler/cgutils.pas
index c4a458fde6..d15819fd66 100644
--- a/compiler/cgutils.pas
+++ b/compiler/cgutils.pas
@@ -105,11 +105,7 @@ unit cgutils;
{$endif cpuflags}
LOC_CONSTANT : (
case longint of
-{$ifdef FPC_BIG_ENDIAN}
- 1 : (_valuedummy,value : aint);
-{$else FPC_BIG_ENDIAN}
- 1 : (value : aint);
-{$endif FPC_BIG_ENDIAN}
+ 1 : (value : TCGInt);
2 : (value64 : Int64);
);
LOC_CREFERENCE,