mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-21 15:49:26 +02:00
* support multiple paralocs in a_load_reg_cgpara() by taking a round trip
via a_load_ref_cgpara() git-svn-id: trunk@29814 -
This commit is contained in:
parent
9be4e6a0de
commit
e6511bcb33
@ -865,7 +865,14 @@ implementation
|
||||
ref : treference;
|
||||
tmpreg : tregister;
|
||||
begin
|
||||
cgpara.check_simple_location;
|
||||
if assigned(cgpara.location^.next) then
|
||||
begin
|
||||
tg.gethltemp(list,cgpara.def,cgpara.def.size,tt_persistent,ref);
|
||||
a_load_reg_ref(list,size,size,r,ref);
|
||||
a_load_ref_cgpara(list,size,ref,cgpara);
|
||||
tg.ungettemp(list,ref);
|
||||
exit;
|
||||
end;
|
||||
paramanager.alloccgpara(list,cgpara);
|
||||
if cgpara.location^.shiftval<0 then
|
||||
begin
|
||||
|
Loading…
Reference in New Issue
Block a user