develooper Front page | perl.perl5.porters | Postings from February 2008

[PATCH] Splitting OP_CONST (Was: pp_const, not, that, hot?)

Thread Next
From:
Vincent Pit
Date:
February 14, 2008 16:21
Subject:
[PATCH] Splitting OP_CONST (Was: pp_const, not, that, hot?)
Message ID:
47B4DAE6.1090707@profvince.com
Here's a candidate for taking hints out of OP_CONST. I named the new 
OP_HINTSEVAL, with its pp_hintseval in pp_ctl.c.
The only places I could find where an OP_CONST with OPf_SPECIAL could 
possibly appear were :
- op.c:ck_eval: OP creation ;
- op.c:op_clear: OP deletion ;
- pp_hot.c:pp_const.
(Am I missing some ?)
I've also ran opnames.pl, duplicated the OP_CONST cases in dump.c, and 
added the hintseval tag to Opcode.pm in the "still to be decided" area.

Tested OK against 33314.


Vincent.

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