[fpc-pascal] nested inline

Xiangrong Fang xrfang at gmail.com
Sat Mar 15 10:56:47 CET 2014


Hi All,

Is nested inline allowed? i.e. will the compiler generate inlined code for
the following source:

procedure a; inline;
begin
end;

procedure b; inline;
begin
  a;
end;

if I call b() in the main program, will the compile copy code for both a
and b to avoid function calls?

Thanks,
Xiangrong
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20140315/3acbe6ee/attachment.html>


More information about the fpc-pascal mailing list