aboutsummaryrefslogtreecommitdiff
path: root/gcc/sched-ebb.c
diff options
context:
space:
mode:
authorMaxim Kuvyrkov <maxim@codesourcery.com>2007-10-17 19:50:55 +0000
committerMaxim Kuvyrkov <mkuvyrkov@gcc.gnu.org>2007-10-17 19:50:55 +0000
commita750daa2859a01f62aca03fedc679ff90544e635 (patch)
treed4e5bbc949a517476a05b7d58c6980bc7235b670 /gcc/sched-ebb.c
parentfb7803cb2b0d12309503431c659cbcee1e12cd14 (diff)
downloadgcc-a750daa2859a01f62aca03fedc679ff90544e635.zip
gcc-a750daa2859a01f62aca03fedc679ff90544e635.tar.gz
gcc-a750daa2859a01f62aca03fedc679ff90544e635.tar.bz2
sched-ebb.c: Surround code with '#ifdef INSN_SCHEDULING'.
* sched-ebb.c: Surround code with '#ifdef INSN_SCHEDULING'. * ddg.c: Ditto. * sched-deps.c: Ditto. Remove nested #ifdef's INSN_SCHEDULING. * sched-int.h: Surround declarations with '#ifdef INSN_SCHEDULING'. (print_insn): Move declaration to ... * rtl.h (print_insn): ... here. From-SVN: r129417
Diffstat (limited to 'gcc/sched-ebb.c')
-rw-r--r--gcc/sched-ebb.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/sched-ebb.c b/gcc/sched-ebb.c
index 4e7596c..7e22874 100644
--- a/gcc/sched-ebb.c
+++ b/gcc/sched-ebb.c
@@ -44,6 +44,8 @@ along with GCC; see the file COPYING3. If not see
#include "output.h"
+#ifdef INSN_SCHEDULING
+
/* The number of insns scheduled so far. */
static int sched_n_insns;
@@ -696,3 +698,5 @@ fix_recovery_cfg (int bbi ATTRIBUTE_UNUSED, int jump_bbi, int jump_bb_nexti)
if (jump_bb_nexti == last_bb->index)
last_bb = BASIC_BLOCK (jump_bbi);
}
+
+#endif /* INSN_SCHEDULING */