summaryrefslogtreecommitdiff
path: root/gv.c
diff options
context:
space:
mode:
authorSteffen Mueller <smueller@cpan.org>2017-01-27 15:55:51 +0100
committerSteffen Mueller <smueller@cpan.org>2017-01-27 15:56:16 +0100
commit1cde3371bb6a7d2f24de42ef82c0028a0a50f195 (patch)
treeb87fcfc8d836d5a0a9fa5f173adf5c4d9ba7d5ee /gv.c
parent9a7b7fba267b8910dbea2920dd675030f796320c (diff)
downloadperl-1cde3371bb6a7d2f24de42ef82c0028a0a50f195.tar.gz
Reuse previously-computed flag
Diffstat (limited to 'gv.c')
-rw-r--r--gv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gv.c b/gv.c
index ae800c923b..8c85614386 100644
--- a/gv.c
+++ b/gv.c
@@ -736,7 +736,7 @@ S_gv_fetchmeth_internal(pTHX_ HV* stash, SV* meth, const char* name, STRLEN len,
/* check locally for a real method or a cache entry */
he = (HE*)hv_common(
- cachestash, meth, name, len, (flags & SVf_UTF8) ? HVhek_UTF8 : 0, create, NULL, 0
+ cachestash, meth, name, len, is_utf8 ? HVhek_UTF8 : 0, create, NULL, 0
);
if (he) gvp = (GV**)&HeVAL(he);
else gvp = NULL;