diff options
author | Nicholas Clark <nick@ccl4.org> | 2005-12-21 20:38:42 +0000 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2005-12-21 20:38:42 +0000 |
commit | f730a42d0edd6097a2336d4fa688925f1f317778 (patch) | |
tree | 8e6f7ff57ef9b130648c43b6f9c652f9f171636a /pp_hot.c | |
parent | 2f349aa0467489cdcb72a1f72b53c21a8f771721 (diff) | |
download | perl-f730a42d0edd6097a2336d4fa688925f1f317778.tar.gz |
Localise the stash variable in pp_entersub().
p4raw-id: //depot/perl@26437
Diffstat (limited to 'pp_hot.c')
-rw-r--r-- | pp_hot.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -2621,8 +2621,10 @@ PP(pp_entersub) switch (SvTYPE(sv)) { /* This is overwhelming the most common case: */ case SVt_PVGV: - if (!(cv = GvCVu((GV*)sv))) + if (!(cv = GvCVu((GV*)sv))) { + HV *stash; cv = sv_2cv(sv, &stash, &gv, 0); + } if (!cv) { ENTER; SAVETMPS; |