This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Get further through the build with read-only optrees. Free()ing cops
authorNicholas Clark <nick@ccl4.org>
Wed, 4 Apr 2007 17:22:02 +0000 (17:22 +0000)
committerNicholas Clark <nick@ccl4.org>
Wed, 4 Apr 2007 17:22:02 +0000 (17:22 +0000)
commit3235b7a3ce519fbc8f77ac78f561cb023f680d6d
tree32ed675208f47b680d36f37ebc964d8467c246f0
parent8d2d9fd75ab74bc7af4cecaf85f2b17730965d95
Get further through the build with read-only optrees. Free()ing cops
as currently implemented seems to want write activity to them. Also we
save a field in PL_curcop at one point, and sometimes this can be in
a read only COP. If so, the end of scope restoration is always to the
same value, but it's easier to cheat and skip the restoration than to
dig around and avoid the save.

p4raw-id: //depot/perl@30843
op.c
scope.c