[fpc-pascal] inlining functions

ϸ�� ����������� � mail.ru ppkk at mail.ru
Thu Oct 19 12:16:21 CEST 2006

>> > Hi,
>> > when using "inline" on a procedure or function, does it completely avoid
>> > the call by copying anything inside the "begin ... end" block to the
>> > right place?
>> Yes, that's the idea.

"INLINE" is a suggestion, not obligation: sometimes they are compiled
with "CALL". It looks especially not great when trying to inline
assembler procedures.

Calling an inline function from another inline function may (or may not)
obfuscate your debug information.

More information about the fpc-pascal mailing list