summaryrefslogtreecommitdiff
path: root/gcc/modulo-sched.c
diff options
context:
space:
mode:
authorbernie <bernie@138bc75d-0d04-0410-961f-82ee72b054a4>2004-06-08 21:46:32 +0000
committerbernie <bernie@138bc75d-0d04-0410-961f-82ee72b054a4>2004-06-08 21:46:32 +0000
commit07cba9882b41c30a237464c6b4438d96246eb2ae (patch)
treed57a4567586953a7626537eaeef5c13f19424410 /gcc/modulo-sched.c
parent858826356f257ac98cc2368563d420d0d85cec74 (diff)
downloadgcc-07cba9882b41c30a237464c6b4438d96246eb2ae.tar.gz
* modulo-sched.c: Compile only when INSN_SCHEDULING is
defined. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@82791 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/modulo-sched.c')
-rw-r--r--gcc/modulo-sched.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/modulo-sched.c b/gcc/modulo-sched.c
index a9822e26d90..1c7978adda7 100644
--- a/gcc/modulo-sched.c
+++ b/gcc/modulo-sched.c
@@ -49,6 +49,7 @@ Software Foundation, 59 Temple Place - Suite 330, Boston, MA
#include "df.h"
#include "ddg.h"
+#ifdef INSN_SCHEDULING
/* This file contains the implementation of the Swing Modulo Scheduler,
described in the following references:
@@ -2123,3 +2124,5 @@ rotate_partial_schedule (partial_schedule_ptr ps, int start_cycle)
ps->max_cycle -= start_cycle;
ps->min_cycle -= start_cycle;
}
+
+#endif /* INSN_SCHEDULING*/