aboutsummaryrefslogtreecommitdiff
path: root/gcc/haifa-sched.c
diff options
context:
space:
mode:
authorJeffrey A Law <law@cygnus.com>2000-05-04 16:04:44 +0000
committerJeff Law <law@gcc.gnu.org>2000-05-04 10:04:44 -0600
commit4e95db71c294f64af199bc6feaca0e3a1923106e (patch)
treee83250df907c02908868ac2ea29ff265d1c51f8f /gcc/haifa-sched.c
parentaff3283b5918ccc358c1ad65bea0808aa3165144 (diff)
downloadgcc-4e95db71c294f64af199bc6feaca0e3a1923106e.zip
gcc-4e95db71c294f64af199bc6feaca0e3a1923106e.tar.gz
gcc-4e95db71c294f64af199bc6feaca0e3a1923106e.tar.bz2
haifa-sched.c (schedule_insns): Free the flow edge list when it is no longer needed
* haifa-sched.c (schedule_insns): Free the flow edge list when it is no longer needed From-SVN: r33673
Diffstat (limited to 'gcc/haifa-sched.c')
-rw-r--r--gcc/haifa-sched.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/haifa-sched.c b/gcc/haifa-sched.c
index 83d85fd..aa0eddc 100644
--- a/gcc/haifa-sched.c
+++ b/gcc/haifa-sched.c
@@ -6918,6 +6918,9 @@ schedule_insns (dump_file)
if (sched_verbose >= 3)
debug_regions ();
+ /* We are done with flow's edge list. */
+ free_edge_list (edge_list);
+
/* For now. This will move as more and more of haifa is converted
to using the cfg code in flow.c. */
free (dom);