summaryrefslogtreecommitdiff
path: root/ext/arybase
diff options
context:
space:
mode:
authorFather Chrysostomos <sprout@cpan.org>2014-12-07 17:11:21 -0800
committerFather Chrysostomos <sprout@cpan.org>2014-12-07 17:32:36 -0800
commite6dae479a92dc835be9b026ea350a20b94199aa2 (patch)
tree5913265cf5fd1110d2a3844ea0ddecdc06c8d9ff /ext/arybase
parent1daa0c574de23f83ee2d6bba1bc312c165d72dee (diff)
downloadperl-e6dae479a92dc835be9b026ea350a20b94199aa2.tar.gz
Change OP_SIBLING to OpSIBLING
to match the existing convention (OpREFCNT, OpSLAB). Dave Mitchell asked me to wait until after his multideref work was merged. Unfortunately, there are now CPAN modules using OP_SIBLING.
Diffstat (limited to 'ext/arybase')
-rw-r--r--ext/arybase/arybase.xs10
1 files changed, 5 insertions, 5 deletions
diff --git a/ext/arybase/arybase.xs b/ext/arybase/arybase.xs
index e81e7cee6b..bcc902ab89 100644
--- a/ext/arybase/arybase.xs
+++ b/ext/arybase/arybase.xs
@@ -177,7 +177,7 @@ STATIC OP *ab_ck_sassign(pTHX_ OP *o) {
o = (*ab_old_ck_sassign)(aTHX_ o);
if (o->op_type == OP_SASSIGN && FEATURE_ARYBASE_IS_ENABLED) {
OP *right = cBINOPx(o)->op_first;
- OP *left = OP_SIBLING(right);
+ OP *left = OpSIBLING(right);
if (left) ab_process_assignment(left, right);
}
return o;
@@ -187,9 +187,9 @@ STATIC OP *ab_ck_aassign(pTHX_ OP *o) {
o = (*ab_old_ck_aassign)(aTHX_ o);
if (o->op_type == OP_AASSIGN && FEATURE_ARYBASE_IS_ENABLED) {
OP *right = cBINOPx(o)->op_first;
- OP *left = OP_SIBLING(right);
- left = OP_SIBLING(cBINOPx(left)->op_first);
- right = OP_SIBLING(cBINOPx(right)->op_first);
+ OP *left = OpSIBLING(right);
+ left = OpSIBLING(cBINOPx(left)->op_first);
+ right = OpSIBLING(cBINOPx(right)->op_first);
ab_process_assignment(left, right);
}
return o;
@@ -384,7 +384,7 @@ static OP *ab_ck_base(pTHX_ OP *o)
/* Break the aelemfast optimisation */
if (o->op_type == OP_AELEM) {
OP *const first = cBINOPo->op_first;
- OP *second = OP_SIBLING(first);
+ OP *second = OpSIBLING(first);
OP *newop;
if (second->op_type == OP_CONST) {
/* cut out second arg and replace it with a new unop which is