* 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:
Jonas Maebe 2013-11-13 20:52:38 +00:00
parent 92508a9801
commit 9b1a36fcdb

View File

@ -4926,6 +4926,9 @@ implementation
begin begin
inherited buildderefimpl; inherited buildderefimpl;
{ inline tree }
if (po_has_inlininginfo in procoptions) then
begin
{ Localst is not available for main/unit init } { Localst is not available for main/unit init }
if assigned(localst) then if assigned(localst) then
begin begin
@ -4933,9 +4936,6 @@ implementation
tlocalsymtable(localst).buildderefimpl; tlocalsymtable(localst).buildderefimpl;
end; end;
{ inline tree }
if (po_has_inlininginfo in procoptions) then
begin
funcretsymderef.build(funcretsym); funcretsymderef.build(funcretsym);
inlininginfo^.code.buildderefimpl; inlininginfo^.code.buildderefimpl;
end; end;