B::OP::slabbed = 47
B::OP::savefree = 48
B::OP::static = 49
B::OP::folded = 50
Added by
3164fde474, these have never worked, because the alias index
check in B::OP::next was never updated.
Instead of hard-coding the number, use C_ARRAY_LENGTH(...).
PREINIT:
SV *ret;
PPCODE:
- if (ix < 0 || ix > 46)
+ if (ix < 0 || ix >= C_ARRAY_LENGTH(op_methods))
croak("Illegal alias %d for B::*OP::next", (int)ix);
ret = get_overlay_object(aTHX_ o,
op_methods[ix].name, op_methods[ix].namelen);