summaryrefslogtreecommitdiff
path: root/sv.c
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2011-05-24 15:11:53 +0100
committerNicholas Clark <nick@ccl4.org>2011-06-11 09:52:56 +0200
commitc13a5c80de2334e935eada0927b9f5f7c862a45e (patch)
tree0c3f447e07e19ac968e711ec579a327c9090125f /sv.c
parent2bda37bab5fb768caff2b228fda376b75df4815c (diff)
downloadperl-c13a5c80de2334e935eada0927b9f5f7c862a45e.tar.gz
Store FBMs in PVMGs, instead of GVs.
This should reduce the complexity of code dealing with GVs, as they no longer try to play several different incompatible roles. (As suggested by Ben Morrow. However, it didn't turn out to be as straightforward as one might have hoped).
Diffstat (limited to 'sv.c')
-rw-r--r--sv.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sv.c b/sv.c
index 530e3bb87e..e0899ba0ce 100644
--- a/sv.c
+++ b/sv.c
@@ -4088,8 +4088,6 @@ Perl_sv_setsv_flags(pTHX_ SV *dstr, register SV* sstr, const I32 flags)
/* case SVt_BIND: */
case SVt_PVLV:
case SVt_PVGV:
- /* SvVALID means that this PVGV is playing at being an FBM. */
-
case SVt_PVMG:
if (SvGMAGICAL(sstr) && (flags & SV_GMAGIC)) {
mg_get(sstr);