summaryrefslogtreecommitdiff
path: root/gcc/ddg.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/ddg.c
parentfb7803cb2b0d12309503431c659cbcee1e12cd14 (diff)
downloadgcc-a750daa2859a01f62aca03fedc679ff90544e635.tar.gz
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/ddg.c')
-rw-r--r--gcc/ddg.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/ddg.c b/gcc/ddg.c
index f1ec8fdb121..14b18745823 100644
--- a/gcc/ddg.c
+++ b/gcc/ddg.c
@@ -44,6 +44,8 @@ along with GCC; see the file COPYING3. If not see
#include "bitmap.h"
#include "ddg.h"
+#ifdef INSN_SCHEDULING
+
/* A flag indicating that a ddg edge belongs to an SCC or not. */
enum edge_flag {NOT_IN_SCC = 0, IN_SCC};
@@ -1104,3 +1106,5 @@ longest_simple_path (struct ddg * g, int src, int dest, sbitmap nodes)
sbitmap_free (tmp);
return result;
}
+
+#endif /* INSN_SCHEDULING */