aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKazu Hirata <kazu@cs.umass.edu>2004-11-09 17:43:41 +0000
committerKazu Hirata <kazu@gcc.gnu.org>2004-11-09 17:43:41 +0000
commit9d3fe3556abd00cc6ef0c51d0b91ecfcddafeefd (patch)
tree47f88702ded063dba20e8d3d738a7b4cbb52fcfb
parent2223a9984d66e956e23a3b09c5ef8b4219ec1286 (diff)
downloadgcc-9d3fe3556abd00cc6ef0c51d0b91ecfcddafeefd.zip
gcc-9d3fe3556abd00cc6ef0c51d0b91ecfcddafeefd.tar.gz
gcc-9d3fe3556abd00cc6ef0c51d0b91ecfcddafeefd.tar.bz2
cfgloop.c (flow_loops_update): Remove.
* cfgloop.c (flow_loops_update): Remove. * cfgloop.h: Remove the corresponding prototype. From-SVN: r90355
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/cfgloop.c14
-rw-r--r--gcc/cfgloop.h1
3 files changed, 5 insertions, 15 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 1731097..c979014 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,10 @@
2004-11-09 Kazu Hirata <kazu@cs.umass.edu>
+ * cfgloop.c (flow_loops_update): Remove.
+ * cfgloop.h: Remove the corresponding prototype.
+
+2004-11-09 Kazu Hirata <kazu@cs.umass.edu>
+
* conflict.c (mark_reg, conflict_graph_compute): Remove.
* basic-block.h: Remove the prototype for
conflict_graph_compute.
diff --git a/gcc/cfgloop.c b/gcc/cfgloop.c
index b995b39..c85d053 100644
--- a/gcc/cfgloop.c
+++ b/gcc/cfgloop.c
@@ -973,20 +973,6 @@ flow_loops_find (struct loops *loops, int flags)
return loops->num;
}
-/* Update the information regarding the loops in the CFG
- specified by LOOPS. */
-
-int
-flow_loops_update (struct loops *loops, int flags)
-{
- /* One day we may want to update the current loop data. For now
- throw away the old stuff and rebuild what we need. */
- if (loops->parray)
- flow_loops_free (loops);
-
- return flow_loops_find (loops, flags);
-}
-
/* Return nonzero if basic block BB belongs to LOOP. */
bool
flow_bb_inside_loop_p (const struct loop *loop, const basic_block bb)
diff --git a/gcc/cfgloop.h b/gcc/cfgloop.h
index 3261adb..d59956e 100644
--- a/gcc/cfgloop.h
+++ b/gcc/cfgloop.h
@@ -265,7 +265,6 @@ extern struct loops *current_loops;
/* Loop recognition. */
extern int flow_loops_find (struct loops *, int flags);
-extern int flow_loops_update (struct loops *, int flags);
extern void flow_loops_free (struct loops *);
extern void flow_loops_dump (const struct loops *, FILE *,
void (*)(const struct loop *, FILE *, int), int);