summaryrefslogtreecommitdiff
path: root/pp_hot.c
diff options
context:
space:
mode:
authorFather Chrysostomos <sprout@cpan.org>2013-06-08 14:13:21 -0700
committerFather Chrysostomos <sprout@cpan.org>2013-06-08 23:25:13 -0700
commit1f3ffe4c6058f20e1f7d746ababdd669651e8d2b (patch)
tree147520963bb8937173ffbbb6ca78615d5256075b /pp_hot.c
parentc549afe0d456f55513209483c7ddf6040ddeb9d7 (diff)
downloadperl-1f3ffe4c6058f20e1f7d746ababdd669651e8d2b.tar.gz
pp_hot.c: Correct comment
At this point, ob holds the object the reference points to, not the reference itself.
Diffstat (limited to 'pp_hot.c')
-rw-r--r--pp_hot.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pp_hot.c b/pp_hot.c
index 96c93a85d5..e19776b35a 100644
--- a/pp_hot.c
+++ b/pp_hot.c
@@ -3116,7 +3116,7 @@ S_method_common(pTHX_ SV* meth, U32* hashp)
*(PL_stack_base + TOPMARK + 1) = sv_2mortal(newRV(MUTABLE_SV(iogv)));
}
- /* if we got here, ob should be a reference or a glob */
+ /* if we got here, ob should be an object or a glob */
if (!ob || !(SvOBJECT(ob)
|| (SvTYPE(ob) == SVt_PVGV
&& isGV_with_GP(ob)