This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
op_sibling => op_sibparent under PERL_OP_PARENT
authorDavid Mitchell <davem@iabyn.com>
Fri, 17 Apr 2015 14:15:57 +0000 (15:15 +0100)
committerDavid Mitchell <davem@iabyn.com>
Sun, 19 Apr 2015 17:42:00 +0000 (18:42 +0100)
commit86cd3a13b6713cc9d8406c9316fe126788e2497f
treea6c38fd58677d1eba2a11198d15e39225df4eaee
parent93059c1aaf5fd5adc05efe29bdcc6c719aef3108
op_sibling => op_sibparent under PERL_OP_PARENT

On perls built under -DPERL_OP_PARENT, rename the op_sibling OP field
to op_sibparent, since it can now contain either a pointer to the next
sibling if not the last sibling, or back to the parent if it is.

Code written to work under PERL_OP_PARENT should be using macros like
OpSIBLING() rather than accessing op_sibling directly, so this should
be a transparent change. It will also make code naughtily accessing this
field directly give a compile error.
ext/XS-APItest/APItest.xs
op.c
op.h
pod/perlguts.pod
pod/perlhacktips.pod