summaryrefslogtreecommitdiff
path: root/scope.c
diff options
context:
space:
mode:
authorReini Urban <rurban@cpanel.net>2015-03-16 10:27:37 +0100
committerTony Cook <tony@develop-help.com>2015-11-10 14:17:23 +1100
commit6cae08a8be145bcb838b49a6de6051e08d4e25a5 (patch)
tree1fcd25af1a023a401fc019c3111f3b250094a636 /scope.c
parentaec1aee98641bc6f9ad658677f98ce6915bd139a (diff)
downloadperl-6cae08a8be145bcb838b49a6de6051e08d4e25a5.tar.gz
MARK -Ds debugging
display the MARK arity and pointers with MARK macros. assert on markptr underflow.
Diffstat (limited to 'scope.c')
-rw-r--r--scope.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/scope.c b/scope.c
index bdf299a9c4..037bbc00fd 100644
--- a/scope.c
+++ b/scope.c
@@ -131,6 +131,8 @@ Perl_markstack_grow(pTHX)
Renew(PL_markstack, newmax, I32);
PL_markstack_max = PL_markstack + newmax;
PL_markstack_ptr = PL_markstack + oldmax;
+ DEBUG_s(PerlIO_printf(Perl_debug_log, "MARK grow %p %d by %d\n",
+ PL_markstack_ptr, *PL_markstack_ptr, oldmax));
return PL_markstack_ptr;
}