summaryrefslogtreecommitdiff
path: root/util.c
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@gmail.com>2008-02-26 13:13:18 +0000
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>2008-02-26 13:13:18 +0000
commitd2c25739add64fa456c06f60e5029d44b4a14912 (patch)
treefd88aed2355e7985fcc3c79800663516440557d7 /util.c
parentdda32041caadc1e77d142250f9ea787d110258cc (diff)
downloadperl-d2c25739add64fa456c06f60e5029d44b4a14912.tar.gz
Chainsaw DEBUG_S out, as suggested by Vincent Pit.
p4raw-id: //depot/perl@33376
Diffstat (limited to 'util.c')
-rw-r--r--util.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/util.c b/util.c
index b7e1cce4d7..37e913eccb 100644
--- a/util.c
+++ b/util.c
@@ -1344,9 +1344,6 @@ S_vdie_croak_common(pTHX_ const char* pat, va_list* args, STRLEN* msglen,
message = NULL;
}
- DEBUG_S(PerlIO_printf(Perl_debug_log,
- "%p: die/croak: message = %s\ndiehook = %p\n",
- (void*)thr, message, (void*)PL_diehook));
if (PL_diehook) {
S_vdie_common(aTHX_ message, *msglen, *utf8, FALSE);
}
@@ -1362,17 +1359,10 @@ Perl_vdie(pTHX_ const char* pat, va_list *args)
STRLEN msglen;
I32 utf8 = 0;
- DEBUG_S(PerlIO_printf(Perl_debug_log,
- "%p: die: curstack = %p, mainstack = %p\n",
- (void*)thr, (void*)PL_curstack, (void*)PL_mainstack));
-
message = vdie_croak_common(pat, args, &msglen, &utf8);
PL_restartop = die_where(message, msglen);
SvFLAGS(ERRSV) |= utf8;
- DEBUG_S(PerlIO_printf(Perl_debug_log,
- "%p: die: restartop = %p, was_in_eval = %d, top_env = %p\n",
- (void*)thr, (void*)PL_restartop, was_in_eval, (void*)PL_top_env));
if ((!PL_restartop && was_in_eval) || PL_top_env->je_prev)
JMPENV_JUMP(3);
return PL_restartop;