diff options
author | Father Chrysostomos <sprout@cpan.org> | 2015-06-28 18:26:42 -0700 |
---|---|---|
committer | Father Chrysostomos <sprout@cpan.org> | 2015-06-29 08:20:27 -0700 |
commit | b7adcee4dcd174053afc53e0295922072726eaa4 (patch) | |
tree | 716aa0d102a90980ddde10eb2da0c6e29122e2cc /universal.c | |
parent | 60121127fb9d33a8ca4ab1e213b635fe63c8fa8c (diff) | |
download | perl-b7adcee4dcd174053afc53e0295922072726eaa4.tar.gz |
Remove PERL_OLD_COPY_ON_WRITE
Diffstat (limited to 'universal.c')
-rw-r--r-- | universal.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/universal.c b/universal.c index 58b010b4d5..9b34df9753 100644 --- a/universal.c +++ b/universal.c @@ -563,9 +563,6 @@ XS(XS_Internals_SvREADONLY) /* This is dangerous stuff. */ } else if (items == 2) { if (SvTRUE(ST(1))) { -#ifdef PERL_OLD_COPY_ON_WRITE - if (SvIsCOW(sv)) sv_force_normal(sv); -#endif SvFLAGS(sv) |= SVf_READONLY; XSRETURN_YES; } @@ -592,9 +589,6 @@ XS(XS_constant__make_const) /* This is dangerous stuff. */ sv = SvRV(svz); -#ifdef PERL_OLD_COPY_ON_WRITE - if (SvIsCOW(sv)) sv_force_normal(sv); -#endif SvREADONLY_on(sv); if (SvTYPE(sv) == SVt_PVAV && AvFILLp(sv) != -1) { /* for constant.pm; nobody else should be calling this |