mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-22 11:49:23 +02:00
* fix arraydef copybyvalue check
git-svn-id: trunk@5088 -
This commit is contained in:
parent
293638230a
commit
23596358a7
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user