mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-11-02 08:29:32 +01:00
* fix releasing of shortstring temps. in arrayconstructor nodes
git-svn-id: trunk@21753 -
This commit is contained in:
parent
c62a2c8bb5
commit
7df1403849
@ -529,7 +529,9 @@ implementation
|
||||
passing a shortstring }
|
||||
if (hp2.nodetype=typeconvn) and
|
||||
(tunarynode(hp2).left.nodetype=addrn) then
|
||||
hp2:=tunarynode(tunarynode(hp2).left).left;
|
||||
hp2:=tunarynode(tunarynode(hp2).left).left
|
||||
else if tunarynode(hp2).nodetype=addrn then
|
||||
hp2:=tunarynode(hp2).left;
|
||||
location_freetemp(current_asmdata.CurrAsmList,hp2.location);
|
||||
hp:=tarrayconstructornode(hp).right;
|
||||
end;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user