From: Rafael Garcia-Suarez Date: Tue, 24 Apr 2007 10:34:20 +0000 (+0000) Subject: Remove unnecessarily paranoid protection in pp_defined X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=b7c442934df5578585948a9249cd388c152963f7;p=p5sagit%2Fp5-mst-13.2.git Remove unnecessarily paranoid protection in pp_defined p4raw-id: //depot/perl@31051 --- diff --git a/pp_hot.c b/pp_hot.c index dfa19fd..034495d 100644 --- a/pp_hot.c +++ b/pp_hot.c @@ -431,12 +431,13 @@ PP(pp_defined) --SP; RETURNOP(cLOGOP->op_other); } - } else if (op_type == OP_DEFINED) { + } + else { + /* OP_DEFINED */ sv = POPs; if (!sv || !SvANY(sv)) RETPUSHNO; - } else - DIE(aTHX_ "panic: Invalid op (%s) in pp_defined()", OP_NAME(PL_op)); + } defined = FALSE; switch (SvTYPE(sv)) {