mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-05-29 22:42:31 +02:00
* after making a copy of a vo_has_local_copy parameter, only release
the old location as a temp in case it was a reference git-svn-id: trunk@38813 -
This commit is contained in:
parent
ad73453e64
commit
3e8cd7d4c9
@ -4994,7 +4994,8 @@ implementation
|
||||
g_concatcopy(list,tparavarsym(p).vardef,href,localcopyloc.reference);
|
||||
end;
|
||||
{ update localloc of varsym }
|
||||
tg.Ungetlocal(list,tparavarsym(p).localloc.reference);
|
||||
if tparavarsym(p).localloc.loc in [LOC_REFERENCE,LOC_CREFERENCE] then
|
||||
tg.Ungetlocal(list,tparavarsym(p).localloc.reference);
|
||||
tparavarsym(p).localloc:=localcopyloc;
|
||||
tparavarsym(p).initialloc:=localcopyloc;
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user