[Mono-list] [Off-topic] "if else" or "switch" ?

Marcus mathpup@mylinuxisp.com
Sat, 16 Oct 2004 19:11:49 -0500


On Saturday 16 October 2004 7:20 am, Mike Welham wrote:

Yes, and in fact, according to the CLI spec, it is difficult for the JIT to 
determine whether the a tail call can be used when the ldloca and ldarga 
instructions are involved. I must admit that I do not quite understand how 
ldloca and ldarga interact would interact with tail calls.

> Indeed. What I meant (and should have said) was that the optimization of
> spotting when the calling method frame can be discarded and pre-pending the
> .tail IL instruction should be in the compiler, rather than having the JIT
> trying to work out whether or not each and every call can be ".tailed".