Commit 685efa54 by Michael Hayes Committed by Michael Hayes

* loop.c (debug_loops): New.

From-SVN: r38572
parent e0cf507b
2001-01-01 Michael Hayes <mhayes@redhat.com>
* loop.c (debug_loops): New.
2000-12-31 Philip Blundell <philb@gnu.org> 2000-12-31 Philip Blundell <philb@gnu.org>
* config/arm/linux-gas.h (CLEAR_INSN_CACHE): Add missing asm * config/arm/linux-gas.h (CLEAR_INSN_CACHE): Add missing asm
......
...@@ -237,6 +237,7 @@ static int iv_add_mult_cost PARAMS ((rtx, rtx, rtx, rtx)); ...@@ -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)); static void loop_dump_aux PARAMS ((const struct loop *, FILE *, int));
void debug_loop PARAMS ((const struct loop *)); void debug_loop PARAMS ((const struct loop *));
void debug_loops PARAMS ((const struct loops *));
typedef struct rtx_pair typedef struct rtx_pair
{ {
...@@ -9433,3 +9434,12 @@ debug_loop (loop) ...@@ -9433,3 +9434,12 @@ debug_loop (loop)
{ {
flow_loop_dump (loop, stderr, loop_dump_aux, 1); 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);
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment