summaryrefslogtreecommitdiff
path: root/embedvar.h
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2007-04-02 19:03:55 +0000
committerNicholas Clark <nick@ccl4.org>2007-04-02 19:03:55 +0000
commitf1fac472816f68ec1eac2f84892d78b65a4598fb (patch)
tree5cdd155ab3819ec7d264f9e5b5d12af70460adf4 /embedvar.h
parent73c71df6a9051c0d8926b8aae2d513c596501d60 (diff)
downloadperl-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 'embedvar.h')
-rw-r--r--embedvar.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/embedvar.h b/embedvar.h
index 0898cf682d..bc1d3aaf6f 100644
--- a/embedvar.h
+++ b/embedvar.h
@@ -324,6 +324,8 @@
#define PL_sig_pending (vTHX->Isig_pending)
#define PL_sighandlerp (vTHX->Isighandlerp)
#define PL_signals (vTHX->Isignals)
+#define PL_slab_count (vTHX->Islab_count)
+#define PL_slabs (vTHX->Islabs)
#define PL_sort_RealCmp (vTHX->Isort_RealCmp)
#define PL_splitstr (vTHX->Isplitstr)
#define PL_srand_called (vTHX->Isrand_called)
@@ -590,6 +592,8 @@
#define PL_Isig_pending PL_sig_pending
#define PL_Isighandlerp PL_sighandlerp
#define PL_Isignals PL_signals
+#define PL_Islab_count PL_slab_count
+#define PL_Islabs PL_slabs
#define PL_Isort_RealCmp PL_sort_RealCmp
#define PL_Isplitstr PL_splitstr
#define PL_Isrand_called PL_srand_called