This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Add a new compile option PERL_DEBUG_READONLY_OPS which marks the optree
authorNicholas Clark <nick@ccl4.org>
Mon, 2 Apr 2007 19:03:55 +0000 (19:03 +0000)
committerNicholas Clark <nick@ccl4.org>
Mon, 2 Apr 2007 19:03:55 +0000 (19:03 +0000)
commitf1fac472816f68ec1eac2f84892d78b65a4598fb
tree5cdd155ab3819ec7d264f9e5b5d12af70460adf4
parent73c71df6a9051c0d8926b8aae2d513c596501d60
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
embed.fnc
embed.h
embedvar.h
intrpvar.h
op.c
perl.c
perlapi.h
pod/perlhack.pod
proto.h