develooper Front page | perl.perl5.porters | Postings from September 2011

[perl #98810] add OP_IS_DIRHOP, OP_IS_NUMCOMPARE macros

Thread Previous
From:
Father Chrysostomos via RT
Date:
September 10, 2011 00:10
Subject:
[perl #98810] add OP_IS_DIRHOP, OP_IS_NUMCOMPARE macros
Message ID:
rt-3.6.HEAD-31297-1315638635-1460.98810-15-0@perl.org
On Fri Sep 09 22:26:53 2011, yoduh wrote:
> > pair of patches generate 2 more OP_IS_* macros:
> >
> > � �regen/opcode.pl: generate OP_IS_DIRHOP, use in gv.c
> >
> > � �Generate OP_IS_DIRHOP like other OP_IS_* macros,
> > � �use in gv.c:Perl_gv_add_by_type().
> > � �Modifies D operand type to DF.
> > � �This yields a micro-optimization.
> >
> > � �implement OP_IS_NUMCOMPARE like other OP_IS macros
> >
> > � �other macros are written by regen/opcode.pl into opnames.h
> > � �Generate OP_IS_NUMCOMPARE the same way, and get a micro-optimization.
> > � �Adds a new 'S<' operand type for the numeric comparison ops.
> > � �Needs make regen.
> >
> 
> and here they are:

Thank you.  Applied as 2b420b63 and 332c2eacbb.


Thread Previous


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