mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-06-03 11:38:38 +02:00
* don't call buildderef for the local symtable of procdefs unless we will
write it to the ppu git-svn-id: trunk@26083 -
This commit is contained in:
parent
92508a9801
commit
9b1a36fcdb
@ -4926,16 +4926,16 @@ implementation
|
||||
begin
|
||||
inherited buildderefimpl;
|
||||
|
||||
{ Localst is not available for main/unit init }
|
||||
if assigned(localst) then
|
||||
begin
|
||||
tlocalsymtable(localst).buildderef;
|
||||
tlocalsymtable(localst).buildderefimpl;
|
||||
end;
|
||||
|
||||
{ inline tree }
|
||||
if (po_has_inlininginfo in procoptions) then
|
||||
begin
|
||||
{ Localst is not available for main/unit init }
|
||||
if assigned(localst) then
|
||||
begin
|
||||
tlocalsymtable(localst).buildderef;
|
||||
tlocalsymtable(localst).buildderefimpl;
|
||||
end;
|
||||
|
||||
funcretsymderef.build(funcretsym);
|
||||
inlininginfo^.code.buildderefimpl;
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user