summaryrefslogtreecommitdiff
path: root/pp_hot.c
diff options
context:
space:
mode:
authorFather Chrysostomos <sprout@cpan.org>2018-01-21 16:19:56 -0800
committerFather Chrysostomos <sprout@cpan.org>2018-01-21 16:19:56 -0800
commit0f3591f94499f7771d7a8e07afb6776a93fc5f9f (patch)
treed1eb17c17cd09db9d194cfcbdf679e0e5d3f673c /pp_hot.c
parentef7498d2b69936a5c6476ecf1950066f638b2dac (diff)
downloadperl-0f3591f94499f7771d7a8e07afb6776a93fc5f9f.tar.gz
Follow-up to fd77b29b3be4
As Zefram pointed out, I left in a piece of code that caused one branch to continue to behave as before. The change was ineffective and the tests happened to be written in such a way as to take the other branch.
Diffstat (limited to 'pp_hot.c')
-rw-r--r--pp_hot.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/pp_hot.c b/pp_hot.c
index 1bc453a457..1b9fb9427a 100644
--- a/pp_hot.c
+++ b/pp_hot.c
@@ -1175,8 +1175,6 @@ S_pushav(pTHX_ AV* const av)
PADOFFSET i;
for (i=0; i < (PADOFFSET)maxarg; i++) {
SV *sv = AvARRAY(av)[i];
- if (!LIKELY(sv))
- AvARRAY(av)[i] = sv = newSV(0);
SP[i+1] = LIKELY(sv)
? sv
: UNLIKELY(PL_op->op_flags & OPf_MOD)