diff options
author | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2007-06-05 10:10:33 +0000 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2007-06-05 10:10:33 +0000 |
commit | 584420f022db57225e9644b9c6668ff9f567984a (patch) | |
tree | ad999faf594f41896ebbadd32b3511daf1be91e6 /xsutils.c | |
parent | f58cd3869828b0993f2ad27e1061f23f4c1959bb (diff) | |
download | perl-584420f022db57225e9644b9c6668ff9f567984a.tar.gz |
Remove support for assertions and -A
p4raw-id: //depot/perl@31333
Diffstat (limited to 'xsutils.c')
-rw-r--r-- | xsutils.c | 13 |
1 files changed, 0 insertions, 13 deletions
@@ -71,17 +71,6 @@ modify_SV_attributes(pTHX_ SV *sv, SV **retlist, SV **attrlist, int numattrs) switch (SvTYPE(sv)) { case SVt_PVCV: switch ((int)len) { -#ifdef CVf_ASSERTION - case 9: - if (memEQ(name, "assertion", 9)) { - if (negated) - CvFLAGS((CV*)sv) &= ~CVf_ASSERTION; - else - CvFLAGS((CV*)sv) |= CVf_ASSERTION; - continue; - } - break; -#endif case 6: switch (name[3]) { #ifdef CVf_LVALUE @@ -230,8 +219,6 @@ usage: XPUSHs(sv_2mortal(newSVpvs("method"))); if (GvUNIQUE(CvGV((CV*)sv))) XPUSHs(sv_2mortal(newSVpvs("unique"))); - if (cvflags & CVf_ASSERTION) - XPUSHs(sv_2mortal(newSVpvs("assertion"))); break; case SVt_PVGV: if (GvUNIQUE(sv)) |