]> gcc.gnu.org Git - gcc.git/commitdiff
Add #ifdef INSN_SCHEDULING around variables only used by schedule_insns.
authorJim Wilson <wilson@gcc.gnu.org>
Wed, 26 Aug 1992 06:49:54 +0000 (23:49 -0700)
committerJim Wilson <wilson@gcc.gnu.org>
Wed, 26 Aug 1992 06:49:54 +0000 (23:49 -0700)
Add #ifdef INSN_SCHEDULING around variables only used
by schedule_insns.
(INSN_QUEUE_SIZE): Delete default definition.

From-SVN: r1962

gcc/sched.c

index f10ee704fb947d2e7d12ed73b7f327bde3e58028..1a1fe73939cedef6de769cc9924336ce774c176f 100644 (file)
@@ -124,6 +124,7 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.  */
 #include "insn-config.h"
 #include "insn-attr.h"
 
+#ifdef INSN_SCHEDULING
 /* Arrays set up by scheduling for the same respective purposes as
    similar-named arrays set up by flow analysis.  We work with these
    arrays during the scheduling pass so we can compare values against
@@ -267,9 +268,6 @@ static rtx dead_notes;
    time has passed.  INSN_QUEUE_SIZE is a power of two larger than
    MAX_BLOCKAGE and MAX_READY_COST computed by genattr.c.  This is the
    longest time an isnsn may be queued.  */
-#ifndef INSN_QUEUE_SIZE
-#define INSN_QUEUE_SIZE 10
-#endif
 static rtx insn_queue[INSN_QUEUE_SIZE];
 static int q_ptr = 0;
 static int q_size = 0;
@@ -288,6 +286,7 @@ static void schedule_block ();
 
 /* Main entry point of this file.  */
 void schedule_insns ();
+#endif /* INSN_SCHEDULING */
 \f
 #define SIZE_FOR_MODE(X) (GET_MODE_SIZE (GET_MODE (X)))
 
This page took 0.068055 seconds and 5 git commands to generate.