This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
add UNOP_AUX OP class
authorDavid Mitchell <davem@iabyn.com>
Mon, 27 Oct 2014 17:33:32 +0000 (17:33 +0000)
committerDavid Mitchell <davem@iabyn.com>
Sun, 7 Dec 2014 09:07:30 +0000 (09:07 +0000)
commit2f7c6295c991839e20b09fbf3107b861d511de31
tree0fdd9d2c00a5c76657a8f6b8a51612b0dd86fef7
parenta644a388ed31c256984f12dd1869bbc141de76e5
add UNOP_AUX OP class

This is the same as a UNOP, but with the addition of an op_aux field,
which points to an array of UNOP_AUX_item unions.

It is intended as a general escape mechanism for adding per-op-type extra
fields (or arrays of items) to UNOPs.

Its class character (for regen/opcodes etc) is '+'.

Currently there are no ops of this type; but shortly, OP_MULTIDEREF will
be added, which is the original motivation for this new op type.
12 files changed:
embed.fnc
embed.h
ext/B/B.pm
ext/B/B.xs
ext/B/B/Concise.pm
op.c
op.h
perl.h
proto.h
regen/op_private
regen/opcode.pl
regen/opcodes