Simplify deb_curcv() a bit
Benjamin Sugars [Wed, 9 May 2001 18:14:34 +0000 (14:14 -0400)]
Message-ID: <Pine.LNX.4.21.0105091811340.1160-100000@marmot.rim.canoe.ca>

p4raw-id: //depot/perl@10062

run.c

diff --git a/run.c b/run.c
index 60d591e..04302db 100644 (file)
--- a/run.c
+++ b/run.c
@@ -114,8 +114,6 @@ S_deb_curcv(pTHX_ I32 ix)
     PERL_CONTEXT *cx = &cxstack[ix];
     if (CxTYPE(cx) == CXt_SUB || CxTYPE(cx) == CXt_FORMAT)
         return cx->blk_sub.cv;
-    else if (CxTYPE(cx) == CXt_EVAL && CxREALEVAL(cx))
-        return PL_compcv;
     else if (CxTYPE(cx) == CXt_EVAL && !CxTRYBLOCK(cx))
         return PL_compcv;
     else if (ix == 0 && PL_curstackinfo->si_type == PERLSI_MAIN)