aboutsummaryrefslogtreecommitdiff
path: root/gcc/sched-int.h
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-int.h
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-int.h')
-rw-r--r--gcc/sched-int.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/gcc/sched-int.h b/gcc/sched-int.h
index da31ec9..60919f0 100644
--- a/gcc/sched-int.h
+++ b/gcc/sched-int.h
@@ -22,6 +22,8 @@ along with GCC; see the file COPYING3. If not see
#ifndef GCC_SCHED_INT_H
#define GCC_SCHED_INT_H
+#ifdef INSN_SCHEDULING
+
/* For state_t. */
#include "insn-attr.h"
/* For regset_head. */
@@ -807,9 +809,6 @@ enum INSN_TRAP_CLASS
#define HAIFA_INLINE __inline
#endif
-/* Functions in sched-vis.c. */
-extern void print_insn (char *, rtx, int);
-
/* Functions in sched-deps.c. */
extern bool sched_insns_conditions_mutex_p (const_rtx, const_rtx);
extern void add_dependence (rtx, rtx, enum reg_note);
@@ -992,4 +991,6 @@ extern void sd_copy_back_deps (rtx, rtx, bool);
extern void sd_delete_dep (sd_iterator_def);
extern void sd_debug_lists (rtx, sd_list_types_def);
+#endif /* INSN_SCHEDULING */
+
#endif /* GCC_SCHED_INT_H */