summaryrefslogtreecommitdiff
path: root/xsutils.c
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@gmail.com>2007-06-05 10:10:33 +0000
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>2007-06-05 10:10:33 +0000
commit584420f022db57225e9644b9c6668ff9f567984a (patch)
treead999faf594f41896ebbadd32b3511daf1be91e6 /xsutils.c
parentf58cd3869828b0993f2ad27e1061f23f4c1959bb (diff)
downloadperl-584420f022db57225e9644b9c6668ff9f567984a.tar.gz
Remove support for assertions and -A
p4raw-id: //depot/perl@31333
Diffstat (limited to 'xsutils.c')
-rw-r--r--xsutils.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/xsutils.c b/xsutils.c
index 4ea4de2871..0f8436b677 100644
--- a/xsutils.c
+++ b/xsutils.c
@@ -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))