diff options
author | Nicholas Clark <nick@ccl4.org> | 2011-05-24 15:11:53 +0100 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2011-06-11 09:52:56 +0200 |
commit | c13a5c80de2334e935eada0927b9f5f7c862a45e (patch) | |
tree | 0c3f447e07e19ac968e711ec579a327c9090125f /sv.c | |
parent | 2bda37bab5fb768caff2b228fda376b75df4815c (diff) | |
download | perl-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.c | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -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); |