This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
In opcode.h, use the alias macros in PL_ppaddr[]
authorNicholas Clark <nick@ccl4.org>
Sat, 8 Jan 2011 11:11:52 +0000 (11:11 +0000)
committerNicholas Clark <nick@ccl4.org>
Sun, 9 Jan 2011 12:11:24 +0000 (12:11 +0000)
commit6f3ed33686edc657dce73f7b5a70e096a40970aa
tree069db7caf153f1a53bae039a6783394002cffbc5
parentdbe23faf03015412d408a0b54662009b941989a6
In opcode.h, use the alias macros in PL_ppaddr[]

For OPs that share implementations, use #define aliases for the "original"
names in PL_ppaddr[], instead of having regen/opcode.pl replace them with
the name of the implementing OP body. Whilst this initially adds another layer
of indirection, it will give more flexibility where conditional compilation of
OPs is determined by the feature macros in config.h
opcode.h
regen/opcode.pl