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

Re: [PATCH] Turn off constant folding and optimization

Thread Previous | Thread Next
Jarkko Hietaniemi
July 24, 2001 11:49
Re: [PATCH] Turn off constant folding and optimization
Message ID:
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

$jhi++; #
        # There is this special biologist word we use for 'stable'.
        # It is 'dead'. -- Jack Cohen

Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About