summaryrefslogtreecommitdiff
path: root/gv.c
diff options
context:
space:
mode:
authorBrian Fraser <fraserbn@gmail.com>2011-10-01 22:11:42 -0700
committerFather Chrysostomos <sprout@cpan.org>2011-10-06 13:00:59 -0700
commit7f41545982b8820c303c4a89266aa26f0ebdccf0 (patch)
treeeea92ca2a0aefea8073747112764249e725d515c /gv.c
parent44130a266efbc9cc333a3b386fd6ea15cbd3f9f3 (diff)
downloadperl-7f41545982b8820c303c4a89266aa26f0ebdccf0.tar.gz
gv.c: Make Gv_AMupdate use gv_fetchmethod_sv_flags
Diffstat (limited to 'gv.c')
-rw-r--r--gv.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/gv.c b/gv.c
index 1055f8b402..89ee978b45 100644
--- a/gv.c
+++ b/gv.c
@@ -2235,8 +2235,7 @@ Perl_Gv_AMupdate(pTHX_ HV *stash, bool destructing)
"\" for overloaded \"%s\" in package \"%.256s\"\n",
(void*)GvSV(gv), cp, HvNAME(stash)) );
if (!gvsv || !SvPOK(gvsv)
- || !(ngv = gv_fetchmethod_autoload(stash, SvPVX_const(gvsv),
- FALSE)))
+ || !(ngv = gv_fetchmethod_sv_flags(stash, gvsv, 0)))
{
/* Can be an import stub (created by "can"). */
if (destructing) {