* loop.c (debug_loops): New.

From-SVN: r38572
This commit is contained in:
Michael Hayes 2000-12-31 23:58:39 +00:00 committed by Michael Hayes
parent e0cf507b23
commit 685efa5454
2 changed files with 14 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2001-01-01 Michael Hayes <mhayes@redhat.com>
* loop.c (debug_loops): New.
2000-12-31 Philip Blundell <philb@gnu.org>
* config/arm/linux-gas.h (CLEAR_INSN_CACHE): Add missing asm

View File

@ -237,6 +237,7 @@ static int iv_add_mult_cost PARAMS ((rtx, rtx, rtx, rtx));
static void loop_dump_aux PARAMS ((const struct loop *, FILE *, int));
void debug_loop PARAMS ((const struct loop *));
void debug_loops PARAMS ((const struct loops *));
typedef struct rtx_pair
{
@ -9433,3 +9434,12 @@ debug_loop (loop)
{
flow_loop_dump (loop, stderr, loop_dump_aux, 1);
}
/* Call this function from the debugger to dump LOOPS. */
void
debug_loops (loops)
const struct loops *loops;
{
flow_loops_dump (loops, stderr, loop_dump_aux, 1);
}