summaryrefslogtreecommitdiff
path: root/pp_hot.c
diff options
context:
space:
mode:
authorFather Chrysostomos <sprout@cpan.org>2013-10-24 12:53:21 -0700
committerFather Chrysostomos <sprout@cpan.org>2013-10-24 17:50:19 -0700
commit447779af4ae9549587ef7522ffc6dbe70388d31e (patch)
treeaefb3b14654f0c88109ad0fabae8513dbf98d9c0 /pp_hot.c
parent1a8bdda9d755b989a595e71b28eba150ebaae663 (diff)
downloadperl-447779af4ae9549587ef7522ffc6dbe70388d31e.tar.gz
pp_hot.c:pp_rv2av: Remove superfluous SPAGAIN
Commit perl-5.8.0-9908-g5e17dd7, in March of 2007, added a SPAGAIN here to account for the stack shifting when hv_scalar calls tied hashes’ SCALAR method. It was never necessary, because commit perl-5.8.0-3008-ga3bcc51, which added hv_scalar and magic_scalarpack in December of 2003, made magic_scalarpack push a new stack, protecting the old one.
Diffstat (limited to 'pp_hot.c')
-rw-r--r--pp_hot.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/pp_hot.c b/pp_hot.c
index 3bbc4aaabf..48239a38ee 100644
--- a/pp_hot.c
+++ b/pp_hot.c
@@ -941,7 +941,6 @@ PP(pp_rv2av)
else if (gimme == G_SCALAR) {
dTARG;
TARG = Perl_hv_scalar(aTHX_ MUTABLE_HV(sv));
- SPAGAIN;
SETTARG;
}
}