develooper Front page | perl.perl5.porters | Postings from July 2001

Re: [PATCH] Turn off constant folding and optimization

Thread Previous | Thread Next
From:
Jarkko Hietaniemi
Date:
July 24, 2001 11:49
Subject:
Re: [PATCH] Turn off constant folding and optimization
Message ID:
20010724134943.K14651@chaos.wustl.edu
On Tue, Jul 24, 2001 at 11:45:52AM -0700, Gurusamy Sarathy wrote:
> On Tue, 24 Jul 2001 09:19:31 +0200, Arthur Bergman wrote:
> >If PL_no_optimize is true, then we won't move the constants to the pad and
> >that is where we expect to find them! Maybe we should move the constants to
> >the pad earlier? 
> >
> >Sarathy, why wait until peep to move consts to the pad?
> 
> IIRC, doing it earlier messed up some cases involving constants where the
> constants ended up in the wrong pad.
> 
> I think disabling all of peep() is probably the wrong approach to disabling
> optimizations, because peep() has always done things that aren't optimizations.
> It needs to be more fine-grained than peep() (only certain branches of
> peep(), maybe).

And just on principle I object to a "no_foo" variable, I dislike
negative logic...

> 
> Sarathy
> gsar@ActiveState.com

-- 
$jhi++; # http://www.iki.fi/jhi/
        # There is this special biologist word we use for 'stable'.
        # It is 'dead'. -- Jack Cohen

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About