summaryrefslogtreecommitdiff
path: root/sv.h
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2006-02-24 14:19:37 +0000
committerNicholas Clark <nick@ccl4.org>2006-02-24 14:19:37 +0000
commit2892acdbbc776bf121eaec9d93ea404f7afc54b8 (patch)
treec3fbfb10ffb7ab31100f465f4c0fa6745c5f069f /sv.h
parente736a858356e87659136ef1f34af858e253efe45 (diff)
downloadperl-2892acdbbc776bf121eaec9d93ea404f7afc54b8.tar.gz
Use PVMGs rather than PVGVs to store the names of our variables in the
pad. p4raw-id: //depot/perl@27313
Diffstat (limited to 'sv.h')
-rw-r--r--sv.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sv.h b/sv.h
index 159fd1a4a2..b4926c0560 100644
--- a/sv.h
+++ b/sv.h
@@ -962,7 +962,7 @@ in gv.h: */
(SvPAD_OUR(sv) ? ((XPVMG*) SvANY(sv))->xmg_u.xmg_ourstash : NULL)
#define OURSTASH_set(sv, st) \
STMT_START { \
- assert(SvTYPE(sv) == SVt_PVGV); \
+ assert(SvTYPE(sv) == SVt_PVMG); \
((XPVMG*) SvANY(sv))->xmg_u.xmg_ourstash = st; \
} STMT_END