OSDN Git Service

* haifa-sched.c (schedule_insns): Free the flow edge list when it
authorlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 4 May 2000 16:04:44 +0000 (16:04 +0000)
committerlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 4 May 2000 16:04:44 +0000 (16:04 +0000)
        is no longer needed

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33673 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/haifa-sched.c

index 60153d6..fa3465b 100644 (file)
@@ -1,3 +1,8 @@
+Thu May  4 10:03:50 2000  Jeffrey A Law  (law@cygnus.com)
+
+       * haifa-sched.c (schedule_insns): Free the flow edge list when it
+       is no longer needed
+
 2000-05-04  Bruce Korb  <bkorb@gnu.org>
 
        * fixincl/inclhack.def: added broken_cabs -
index 83d85fd..aa0eddc 100644 (file)
@@ -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);