On 29 May 2005, at 13:41, Peter Vreman wrote:

Doesn't the compiler attempt to inline small functions/methods
automatically as part of its optimisation (even if the inline
directive is not specified)?

No.

The inline directive is only a hint to the compiler. The behaviour is the same in D2005.

Yes, but the poster was asking whether the compiler never decided by itself to inline something (even if no "inline" directive was specified). That's not the case currently.


Jonas


_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to