summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFather Chrysostomos <sprout@cpan.org>2011-11-17 16:38:42 -0800
committerFather Chrysostomos <sprout@cpan.org>2011-11-18 14:58:09 -0800
commit9d245ac18d52fede30ac690fe0fa3dc43f8a2561 (patch)
tree51eea8e916bf7e607e3b987ffa82880a23a27a9e
parentaad9a0d95876a1e047abeb721551e5d86a3c1e62 (diff)
downloadperl-9d245ac18d52fede30ac690fe0fa3dc43f8a2561.tar.gz
Remove redundant check in pp_hot.c:pp_entersub
PVGVs are always globs now.
-rw-r--r--pp_hot.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/pp_hot.c b/pp_hot.c
index 0b696eaab3..32b732fb17 100644
--- a/pp_hot.c
+++ b/pp_hot.c
@@ -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;