summaryrefslogtreecommitdiff
path: root/sv.h
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2009-11-18 16:53:12 +0000
committerNicholas Clark <nick@ccl4.org>2009-11-19 09:51:02 +0000
commit3cf51070223b095664012011bc367370eda3074c (patch)
treebad6030e58677ef117a2fe7f3cf37e69e26972e6 /sv.h
parent580561a3a5dd3bfef87627781ac362004e3d87b5 (diff)
downloadperl-3cf51070223b095664012011bc367370eda3074c.tar.gz
PVIOs don't use the SvIVX slot.
Diffstat (limited to 'sv.h')
-rw-r--r--sv.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sv.h b/sv.h
index 0146de472d..a5c568c301 100644
--- a/sv.h
+++ b/sv.h
@@ -1071,6 +1071,7 @@ the scalar's value cannot change unless written to.
assert(SvTYPE(_svivx) != SVt_PVHV); \
assert(SvTYPE(_svivx) != SVt_PVCV); \
assert(SvTYPE(_svivx) != SVt_PVFM); \
+ assert(SvTYPE(_svivx) != SVt_PVIO); \
assert(!isGV_with_GP(_svivx)); \
&(((XPVIV*) MUTABLE_PTR(SvANY(_svivx)))->xiv_iv); \
}))
@@ -1081,6 +1082,7 @@ the scalar's value cannot change unless written to.
assert(SvTYPE(_svuvx) != SVt_PVHV); \
assert(SvTYPE(_svuvx) != SVt_PVCV); \
assert(SvTYPE(_svuvx) != SVt_PVFM); \
+ assert(SvTYPE(_svuvx) != SVt_PVIO); \
assert(!isGV_with_GP(_svuvx)); \
&(((XPVUV*) MUTABLE_PTR(SvANY(_svuvx)))->xuv_uv); \
}))