summaryrefslogtreecommitdiff
path: root/gcc/loop.c
diff options
context:
space:
mode:
authorMichael Hayes <mhayes@redhat.com>2000-12-31 23:58:39 +0000
committerMichael Hayes <m.hayes@gcc.gnu.org>2000-12-31 23:58:39 +0000
commit685efa54548aed93f34a130959721df4fd053a79 (patch)
tree7e9d6c5a7da428ac34c782a8cfbede3354ab43a6 /gcc/loop.c
parente0cf507b2390537ca18112a3e921840b65cd5972 (diff)
downloadgcc-685efa54548aed93f34a130959721df4fd053a79.tar.gz
* loop.c (debug_loops): New.
From-SVN: r38572
Diffstat (limited to 'gcc/loop.c')
-rw-r--r--gcc/loop.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/gcc/loop.c b/gcc/loop.c
index 271e36c508c..50079b1577d 100644
--- a/gcc/loop.c
+++ b/gcc/loop.c
@@ -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);
+}