[erlang-questions] "Old inliner"?

David Mercer dmercer@REDACTED
Mon Jan 10 19:31:20 CET 2011


On Monday, January 10, 2011, Björn Gustavsson wrote:

> The old inliner is now only used for doing explicit inlining. The old
> inliner only does inlining without any optimizations.
> 
> The new inliner does implicit inling and also does optimizations
> while inlining.

If I also have the -compile(inline) directive in my source file, will it perform these optimizations -- whatever they are -- on the inlined call/3, or will it skip them on account of the explicit inlining?  When I add the -compile(inline) directive, I still get the old verbose output about the old inliner being used, and also an additional line:

	Inlining: inline_size=24 inline_effort=150

Thanks for your reply.

Cheers,

DBM



More information about the erlang-questions mailing list