* fix arraydef copybyvalue check

git-svn-id: trunk@5088 -
This commit is contained in:
peter 2006-10-30 10:27:49 +00:00
parent 293638230a
commit 23596358a7

View File

@ -122,10 +122,12 @@ unit cpupara;
arraydef:
begin
if not(is_special_array(p)) and
{ win64 abi }
((target_info.system=system_x86_64_win64) and (p.size<=8)) or
{ linux abi }
((target_info.system<>system_x86_64_win64) and (p.size<=16)) then
(
{ win64 abi }
((target_info.system=system_x86_64_win64) and (p.size<=8)) or
{ linux abi }
((target_info.system<>system_x86_64_win64) and (p.size<=16))
) then
loc1:=LOC_REGISTER
else
loc1:=LOC_REFERENCE;