This is a live mirror of the Perl 5 development currently hosted at
https://github.com/perl/perl5
https://perl5.git.perl.org
/
perl5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2f349aa
)
Localise the stash variable in pp_entersub().
author
Nicholas Clark
<nick@ccl4.org>
Wed, 21 Dec 2005 20:38:42 +0000
(20:38 +0000)
committer
Nicholas Clark
<nick@ccl4.org>
Wed, 21 Dec 2005 20:38:42 +0000
(20:38 +0000)
p4raw-id: //depot/perl@26437
pp_hot.c
patch
|
blob
|
blame
|
history
diff --git
a/pp_hot.c
b/pp_hot.c
index
ffdd631
..
668c759
100644
(file)
--- a/
pp_hot.c
+++ b/
pp_hot.c
@@
-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;