mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-11-02 06:29:25 +01:00
* determine size of aword/aint/asizeint based on type size instead of based
on defines git-svn-id: branches/jvmbackend@18602 -
This commit is contained in:
parent
c943d703fd
commit
6bc68a11d9
@ -789,11 +789,10 @@ begin
|
||||
result:=0;
|
||||
end;
|
||||
{$else not generic_cpu}
|
||||
{$ifdef cpu64bitalu}
|
||||
result:=getint64;
|
||||
{$else cpu64bitalu}
|
||||
result:=getlongint;
|
||||
{$endif cpu64bitalu}
|
||||
if sizeof(aint)=8 then
|
||||
result:=getint64
|
||||
else
|
||||
result:=getlongint;
|
||||
{$endif not generic_cpu}
|
||||
end;
|
||||
|
||||
@ -813,11 +812,10 @@ begin
|
||||
result:=0;
|
||||
end;
|
||||
{$else not generic_cpu}
|
||||
{$ifdef cpu64bitaddr}
|
||||
result:=getint64;
|
||||
{$else cpu64bitaddr}
|
||||
result:=getlongint;
|
||||
{$endif cpu32bitaddr}
|
||||
if sizeof(asizeint)=8 then
|
||||
result:=getint64
|
||||
else
|
||||
result:=getlongint;
|
||||
{$endif not generic_cpu}
|
||||
end;
|
||||
|
||||
@ -839,11 +837,10 @@ begin
|
||||
result:=0;
|
||||
end;
|
||||
{$else not generic_cpu}
|
||||
{$ifdef cpu64bitalu}
|
||||
result:=getqword;
|
||||
{$else cpu64bitalu}
|
||||
result:=getdword;
|
||||
{$endif cpu64bitalu}
|
||||
if sizeof(aword)=8 then
|
||||
result:=getqword
|
||||
else
|
||||
result:=getdword;
|
||||
{$endif not generic_cpu}
|
||||
end;
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user