mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2026-01-21 17:11:30 +01:00
* Fixed passing variant parameters by value for ARM. It fixes tw7806.pp.
git-svn-id: trunk@7758 -
This commit is contained in:
parent
5b5050a09c
commit
d1c2f41c66
@ -161,10 +161,11 @@ unit cpupara;
|
||||
end;
|
||||
case def.typ of
|
||||
objectdef,
|
||||
variantdef,
|
||||
formaldef,
|
||||
recorddef:
|
||||
result:=(varspez=vs_const) or (def.size=0);
|
||||
variantdef,
|
||||
formaldef:
|
||||
result:=true;
|
||||
arraydef:
|
||||
result:=(tarraydef(def).highrange>=tarraydef(def).lowrange) or
|
||||
is_open_array(def) or
|
||||
|
||||
Loading…
Reference in New Issue
Block a user