summaryrefslogtreecommitdiff
path: root/pp_hot.c
diff options
context:
space:
mode:
authorFather Chrysostomos <sprout@cpan.org>2011-11-22 13:34:37 -0800
committerFather Chrysostomos <sprout@cpan.org>2011-11-22 21:29:33 -0800
commite499bb364c2db5d5d50ebeb4678982e3fd5bb282 (patch)
treebbdfdff0033135df2f6735e38b9426ee2fc20459 /pp_hot.c
parentf6525ddc4297d17c59a06ff1ffd820c8e0119adc (diff)
downloadperl-e499bb364c2db5d5d50ebeb4678982e3fd5bb282.tar.gz
amagic_deref_call does not necessitate SPAGAIN
As amagic_deref_call pushes a new stack, PL_stack_sp will always have the same value before and after, so SPAGAIN is unnecessary.
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 32b732fb17..eb8fe4ffd5 100644
--- a/pp_hot.c
+++ b/pp_hot.c
@@ -771,7 +771,6 @@ PP(pp_rv2av)
if (SvROK(sv)) {
if (SvAMAGIC(sv)) {
sv = amagic_deref_call(sv, is_pp_rv2av ? to_av_amg : to_hv_amg);
- SPAGAIN;
}
sv = SvRV(sv);
if (SvTYPE(sv) != type)