diff options
author | Nicholas Clark <nick@ccl4.org> | 2007-04-07 17:14:11 +0000 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2007-04-07 17:14:11 +0000 |
commit | fc97af9c8f85fe5d98c1be12130f8f74fe27a7bf (patch) | |
tree | 5f6c66f13e0fb0c6a32878de6fff94308039b0eb /proto.h | |
parent | 51e4e64df3bc05a7c291521c55c2654beda56c26 (diff) | |
download | perl-fc97af9c8f85fe5d98c1be12130f8f74fe27a7bf.tar.gz |
Under PERL_DEBUG_READONLY_OPS don't panic if you can't find the slab
being freed. Also, need to set the slab to read/write before
incrementing or decrementing an op's reference count.
With this we can build all extentions, and run test_harness.
p4raw-id: //depot/perl@30867
Diffstat (limited to 'proto.h')
-rw-r--r-- | proto.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -3331,6 +3331,10 @@ PERL_CALLCONV void Perl_Slab_Free(pTHX_ void *op) # if defined(PERL_DEBUG_READONLY_OPS) PERL_CALLCONV void Perl_pending_Slabs_to_ro(pTHX); +PERL_CALLCONV OP * Perl_op_refcnt_inc(pTHX_ OP *o); +PERL_CALLCONV PADOFFSET Perl_op_refcnt_dec(pTHX_ OP *o) + __attribute__nonnull__(pTHX_1); + # if defined(PERL_IN_OP_C) STATIC void S_Slab_to_rw(pTHX_ void *op) __attribute__nonnull__(pTHX_1); |