johannes    02/10/31 13:18:11

  Modified:    live/gcc3/gcc haifa-sched.c
  Log:
  Remove an APPLE LOCAL in favor of the equivalent (actually slightly
  superior) code from FSF.
  
  Revision  Changes    Path
  1.14      +4 -3      src/live/gcc3/gcc/haifa-sched.c
  
  Index: haifa-sched.c
  ===================================================================
  RCS file: /cvs/Darwin/src/live/gcc3/gcc/haifa-sched.c,v
  retrieving revision 1.13
  retrieving revision 1.14
  diff -u -r1.13 -r1.14
  --- haifa-sched.c     2002/10/24 23:43:01     1.13
  +++ haifa-sched.c     2002/10/31 21:18:11     1.14
  @@ -2175,9 +2175,10 @@
            can_issue_more =
              (*targetm.sched.variable_issue) (sched_dump, sched_verbose,
                                               insn, can_issue_more);
  -
  -       /* APPLE LOCAL, for now, don't count pseudos */
  -       else if (INSN_CODE (insn) >= 0)
  +       /* A naked CLOBBER or USE generates no instruction, so do
  +          not count them against the issue rate.  */
  +       else if (GET_CODE (PATTERN (insn)) != USE
  +                && GET_CODE (PATTERN (insn)) != CLOBBER)
            can_issue_more--;
   
          schedule_insn (insn, &ready, clock_var);
  
  
  


Reply via email to