With -DPERL_DEBUG_READONLY_OPS, changing a slab refcnt shouldn't make it r/w.
authorNicholas Clark <nick@ccl4.org>
Tue, 14 Aug 2012 12:10:30 +0000 (14:10 +0200)
committerNicholas Clark <nick@ccl4.org>
Tue, 4 Sep 2012 09:08:36 +0000 (11:08 +0200)
commit372eab0142c6ca32a90d09218d73cf03c96f35b3
tree89a027b85024d803bdf03c8c2f3837d7afbff946
parenta5bd31f4dc3fec64e60f1412a4eeac30d6f6b96b
With -DPERL_DEBUG_READONLY_OPS, changing a slab refcnt shouldn't make it r/w.

Perl_op_refcnt_inc() and Perl_op_refcnt_dec() now both take care to leave the
slab in the same state as they found it. Previously both would
unconditionally make the slab read-write.
op.c