* allow recursive inlines, meanwhile, there are other means to avoid too deep recursion of inlining

git-svn-id: trunk@45214 -
This commit is contained in:
florian 2020-05-01 20:50:19 +00:00
parent 43e6d84f33
commit 0794878b41

View File

@ -5143,13 +5143,10 @@ implementation
end;
end;
{ consider it must not be inlined if called
again inside the args or itself }
exclude(procdefinition.procoptions,po_inline);
typecheckpass(tnode(inlineblock));
doinlinesimplify(tnode(inlineblock));
node_reset_flags(tnode(inlineblock),[nf_pass1_done]);
firstpass(tnode(inlineblock));
include(procdefinition.procoptions,po_inline);
result:=inlineblock;
{ if the function result is used then verify that the blocknode