[m-rev.] for review: --eliminate-local-vars

Tyson Dowd trd at cs.mu.OZ.AU
Fri Feb 8 08:57:48 AEDT 2002


On 07-Feb-2002, Fergus Henderson <fjh at cs.mu.OZ.AU> wrote:
> On 07-Feb-2002, Peter Ross <peter.ross at miscrit.be> wrote:
> > On Thu, Feb 07, 2002 at 04:34:16AM +1100, Fergus Henderson wrote:
> > > Add a new MLDS->MLDS optimization option, --eliminate-local-variables.
> > > The aim of this pass is to improve performance in cases where local
> > > variables are costly -- for nondeterministic procedures,
> > > for MLDS->C accurate GC, and for the .NET back-end.
> >
> > For interest, why are local variables costly on the .NET back-end?
> 
> I don't know.  That's the trouble with closed-source systems.
> 
> But I guess it is probably just because the JIT doesn't optimize them away.

I have heard some conjecture that the MS JIT stops doing register
allocation when you have too many local variables.  

-- 
       Tyson Dowd           # 
                            #  Surreal humour isn't everyone's cup of fur.
     trd at cs.mu.oz.au        # 
http://www.cs.mu.oz.au/~trd #
--------------------------------------------------------------------------
mercury-reviews mailing list
post:  mercury-reviews at cs.mu.oz.au
administrative address: owner-mercury-reviews at cs.mu.oz.au
unsubscribe: Address: mercury-reviews-request at cs.mu.oz.au Message: unsubscribe
subscribe:   Address: mercury-reviews-request at cs.mu.oz.au Message: subscribe
--------------------------------------------------------------------------



More information about the reviews mailing list