]> gcc.gnu.org Git - gcc.git/commitdiff
haifa-sched.c (sched_analyze): Use free_INSN_LIST_list instead of zapping the LOG_LIN...
authorJeffrey A Law <law@cygnus.com>
Sat, 18 Sep 1999 12:06:24 +0000 (12:06 +0000)
committerJeff Law <law@gcc.gnu.org>
Sat, 18 Sep 1999 12:06:24 +0000 (06:06 -0600)
        * haifa-sched.c (sched_analyze): Use free_INSN_LIST_list instead of
        zapping the LOG_LINKS of sched_before_next_call.

From-SVN: r29496

gcc/ChangeLog
gcc/haifa-sched.c

index c04276f889a3132dbbfd7845b391f4490d88126a..dd4c4aaa06d24dc521d3c6e36f0e0b5564e6b87b 100644 (file)
@@ -1,5 +1,8 @@
 Sat Sep 18 01:07:21 1999  Jeffrey A Law  (law@cygnus.com)
 
+       * haifa-sched.c (sched_analyze): Use free_INSN_LIST_list instead of
+       zapping the LOG_LINKS of sched_before_next_call.
+
        * pa.h (INSN_SETS_ARE_DELAYED): Delete.
        * pa.c (insn_refs_are_delayed): Renamed from
        insn_sets_and_refs_are_delayed.
index e0387c607b1697688470972a63e6d63582991639..87c97fb3506dcf53b9511b5c0fbfdf2d2baace87 100644 (file)
@@ -3899,7 +3899,7 @@ sched_analyze (head, tail)
              add_dependence (insn, XEXP (x, 0), REG_DEP_ANTI);
              x = XEXP (x, 1);
            }
-         LOG_LINKS (sched_before_next_call) = 0;
+         free_INSN_LIST_list (&LOG_LINKS (sched_before_next_call));
 
          sched_analyze_insn (PATTERN (insn), insn, loop_notes);
          loop_notes = 0;
This page took 0.07549 seconds and 5 git commands to generate.