diff options
author | Jim Wilson <wilson@gcc.gnu.org> | 1992-08-25 23:49:54 -0700 |
---|---|---|
committer | Jim Wilson <wilson@gcc.gnu.org> | 1992-08-25 23:49:54 -0700 |
commit | c0ac5f319777771ee8168536d93439e923009e61 (patch) | |
tree | d48376c8898e6305113fc477510c5e1ba652874d /gcc | |
parent | d562e42ef4aef058c337a8722f9d94da862cf019 (diff) | |
download | gcc-c0ac5f319777771ee8168536d93439e923009e61.zip gcc-c0ac5f319777771ee8168536d93439e923009e61.tar.gz gcc-c0ac5f319777771ee8168536d93439e923009e61.tar.bz2 |
Add #ifdef INSN_SCHEDULING around variables only used by schedule_insns.
Add #ifdef INSN_SCHEDULING around variables only used
by schedule_insns.
(INSN_QUEUE_SIZE): Delete default definition.
From-SVN: r1962
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/sched.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/gcc/sched.c b/gcc/sched.c index f10ee70..1a1fe73 100644 --- a/gcc/sched.c +++ b/gcc/sched.c @@ -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 */ #define SIZE_FOR_MODE(X) (GET_MODE_SIZE (GET_MODE (X))) |