[fpc-pascal] Inline methods
Jonas Maebe
jonas.maebe at elis.ugent.be
Wed May 18 13:29:22 CEST 2016
LacaK wrote on Wed, 18 May 2016:
> Any other ideas, what leads compiler to not inline ?
If you compile with -vd, the compiler will tell you in most cases why
it's not inlining. Additionally, it's possible that it's not possible
to inline generic routines in regular routines, because IIRC the code
for specialisations is generated after the code for all regular
routines has been generated (and hence it's probably never available
yet while generating code for regular routines, unless perhaps if the
specialisation is defined in another unit).
Jonas
More information about the fpc-pascal
mailing list