mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-22 08:09:29 +02:00
* gen_load_cgpara_loc() should only honour reusepara if it's a memory
parameter git-svn-id: trunk@30721 -
This commit is contained in:
parent
03a3136525
commit
78e68b89df
@ -1325,7 +1325,8 @@ implementation
|
||||
exit;
|
||||
{ If the parameter location is reused we don't need to copy
|
||||
anything }
|
||||
if reusepara then
|
||||
if (destloc.loc=LOC_REFERENCE) and
|
||||
reusepara then
|
||||
exit;
|
||||
{ get the equivalent llvm def used to pass the parameter (e.g. a record
|
||||
with two int64 fields for passing a record consisiting of 8 bytes on
|
||||
|
Loading…
Reference in New Issue
Block a user