summaryrefslogtreecommitdiff
path: root/gcc/loop.c
diff options
context:
space:
mode:
authorm.hayes <m.hayes@138bc75d-0d04-0410-961f-82ee72b054a4>2000-12-31 23:58:39 +0000
committerm.hayes <m.hayes@138bc75d-0d04-0410-961f-82ee72b054a4>2000-12-31 23:58:39 +0000
commit1fe6de19eca02e39a5febb5b99592a242d2a4110 (patch)
tree7e9d6c5a7da428ac34c782a8cfbede3354ab43a6 /gcc/loop.c
parent6078b24a2b890cbfa2b3874aecbec1cf4b308231 (diff)
downloadgcc-1fe6de19eca02e39a5febb5b99592a242d2a4110.tar.gz
* loop.c (debug_loops): New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38572 138bc75d-0d04-0410-961f-82ee72b054a4
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);
+}