X-Git-Url: https://git.hcoop.net/bpt/guile.git/blobdiff_plain/a37593c7c8d518bbd0ff3b1b1362a5a6213027fc..3b91e017e32e1fb6b911f456c61aea6386075095:/libguile/stacks.c diff --git a/libguile/stacks.c b/libguile/stacks.c index b9595e364..5b2eea99d 100644 --- a/libguile/stacks.c +++ b/libguile/stacks.c @@ -1,5 +1,5 @@ /* Representation of stack frame debug information - * Copyright (C) 1996,1997,2000,2001, 2006, 2007, 2008 Free Software Foundation + * Copyright (C) 1996,1997,2000,2001, 2006, 2007, 2008, 2009 Free Software Foundation * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public @@ -174,9 +174,6 @@ stack_depth (scm_t_debug_frame *dframe, scm_t_ptrdiff offset, SCM vmframe, } } } - else if (scm_is_eq (vect[0].a.proc, scm_f_gsubr_apply)) - /* Skip gsubr apply frames. */ - continue; else ++n; /* increment for non-program apply frame */ } @@ -321,9 +318,6 @@ read_frames (scm_t_debug_frame *dframe, scm_t_ptrdiff offset, NEXT_FRAME (iframe, n, quit); } } - else if (scm_is_eq (iframe->proc, scm_f_gsubr_apply)) - /* Skip gsubr apply frames. */ - continue; else if (SCM_PROGRAM_P (iframe->proc)) { if (!SCM_PROGRAM_IS_BOOT (iframe->proc))