diff options
author | Father Chrysostomos <sprout@cpan.org> | 2011-11-17 16:38:42 -0800 |
---|---|---|
committer | Father Chrysostomos <sprout@cpan.org> | 2011-11-18 14:58:09 -0800 |
commit | 9d245ac18d52fede30ac690fe0fa3dc43f8a2561 (patch) | |
tree | 51eea8e916bf7e607e3b987ffa82880a23a27a9e | |
parent | aad9a0d95876a1e047abeb721551e5d86a3c1e62 (diff) | |
download | perl-9d245ac18d52fede30ac690fe0fa3dc43f8a2561.tar.gz |
Remove redundant check in pp_hot.c:pp_entersub
PVGVs are always globs now.
-rw-r--r-- | pp_hot.c | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -2549,8 +2549,6 @@ PP(pp_entersub) switch (SvTYPE(sv)) { /* This is overwhelming the most common case: */ case SVt_PVGV: - if (!isGV_with_GP(sv)) - DIE(aTHX_ "Not a CODE reference"); we_have_a_glob: if (!(cv = GvCVu((const GV *)sv))) { HV *stash; |