From: Nicholas Clark Date: Mon, 6 Nov 2006 08:13:09 +0000 (+0000) Subject: PVCVs no longer allocate memory for the SvNVX slot, so assert that X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=281ab51b33babea2132e1437175b7fc2114c8232;p=p5sagit%2Fp5-mst-13.2.git PVCVs no longer allocate memory for the SvNVX slot, so assert that no-one is trying to access it. p4raw-id: //depot/perl@29206 --- diff --git a/sv.h b/sv.h index ab09bba..744bb39 100644 --- a/sv.h +++ b/sv.h @@ -1170,6 +1170,7 @@ the scalar's value cannot change unless written to. assert(SvTYPE(_svi) == SVt_NV || SvTYPE(_svi) >= SVt_PVNV); \ assert(SvTYPE(_svi) != SVt_PVAV); \ assert(SvTYPE(_svi) != SVt_PVHV); \ + assert(SvTYPE(_svi) != SVt_PVCV); \ assert(SvTYPE(_svi) != SVt_PVFM); \ assert(!isGV_with_GP(_svi)); \ &(((XPVNV*) SvANY(_svi))->xnv_u.xnv_nv); \