diff options
author | David Mitchell <davem@iabyn.com> | 2014-10-27 17:33:32 +0000 |
---|---|---|
committer | David Mitchell <davem@iabyn.com> | 2014-12-07 09:07:30 +0000 |
commit | 2f7c6295c991839e20b09fbf3107b861d511de31 (patch) | |
tree | 0fdd9d2c00a5c76657a8f6b8a51612b0dd86fef7 /regen/opcodes | |
parent | a644a388ed31c256984f12dd1869bbc141de76e5 (diff) | |
download | perl-2f7c6295c991839e20b09fbf3107b861d511de31.tar.gz |
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.
Diffstat (limited to 'regen/opcodes')
-rw-r--r-- | regen/opcodes | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/regen/opcodes b/regen/opcodes index 62c3b45e70..4731fa7b56 100644 --- a/regen/opcodes +++ b/regen/opcodes @@ -14,6 +14,7 @@ # padop/svop - $ padop - # (unused) loop - { # baseop/unop - % loopexop - } filestatop - - # pvop/svop - " cop - ; methop - . +# unop_aux - + # Other options are: # needs stack mark - m (OA_MARK) |