diff options
author | Nicholas Clark <nick@ccl4.org> | 2007-04-02 19:03:55 +0000 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2007-04-02 19:03:55 +0000 |
commit | f1fac472816f68ec1eac2f84892d78b65a4598fb (patch) | |
tree | 5cdd155ab3819ec7d264f9e5b5d12af70460adf4 /perlapi.h | |
parent | 73c71df6a9051c0d8926b8aae2d513c596501d60 (diff) | |
download | perl-f1fac472816f68ec1eac2f84892d78b65a4598fb.tar.gz |
Add a new compile option PERL_DEBUG_READONLY_OPS which marks the optree
as read only (or as much of it as it practical). This makes it trivial
to detect buggy code that is modifying the optree at runtime.
p4raw-id: //depot/perl@30829
Diffstat (limited to 'perlapi.h')
-rw-r--r-- | perlapi.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -526,6 +526,10 @@ END_EXTERN_C #define PL_sighandlerp (*Perl_Isighandlerp_ptr(aTHX)) #undef PL_signals #define PL_signals (*Perl_Isignals_ptr(aTHX)) +#undef PL_slab_count +#define PL_slab_count (*Perl_Islab_count_ptr(aTHX)) +#undef PL_slabs +#define PL_slabs (*Perl_Islabs_ptr(aTHX)) #undef PL_sort_RealCmp #define PL_sort_RealCmp (*Perl_Isort_RealCmp_ptr(aTHX)) #undef PL_splitstr |