[abc] inlining extensibility

From: Ganesh Sittampalam <ganesh@earth.li>
Date: Mon Mar 06 2006 - 23:38:11 GMT

Hi all,

I noticed that let$n methods weren't being inlined; it turns out that this
was because the "if" method inliner specifically looks for the name "if$"
when deciding whether to inline. Since it seemed to make sense to give
extensions control of inlining, I made the AdviceInliner class be produced
by a factory method. That way extensions can tweak the heuristics if they
choose to.

I have no idea if this will make any practical difference, but it wasn't
much effort and would be easy to revert if there are philosophical
objections to doing things this way.

Cheers,

Ganesh
Received on Mon Mar 06 23:38:14 2006

This archive was generated by hypermail 2.1.8 : Tue Mar 06 2007 - 16:13:27 GMT