aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKazu Hirata <kazu@codesourcery.com>2007-02-17 04:01:30 +0000
committerKazu Hirata <kazu@gcc.gnu.org>2007-02-17 04:01:30 +0000
commit51db94a08e94148abba8c32f4eec11b73632ea86 (patch)
tree6cf1f99d2b616f2187c6f4432d9707991bad0533
parente4cad568ec6bf80b86288e88edd52e9ded6a1f59 (diff)
downloadgcc-51db94a08e94148abba8c32f4eec11b73632ea86.zip
gcc-51db94a08e94148abba8c32f4eec11b73632ea86.tar.gz
gcc-51db94a08e94148abba8c32f4eec11b73632ea86.tar.bz2
sched-deps.c (find_insn_list): Remove.
* sched-deps.c (find_insn_list): Remove. * sched-int.h: Remove the prototype for find_insn_list. From-SVN: r122069
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/sched-deps.c15
-rw-r--r--gcc/sched-int.h1
3 files changed, 5 insertions, 16 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 404a138..ece000a 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2007-02-17 Kazu Hirata <kazu@codesourcery.com>
+
+ * sched-deps.c (find_insn_list): Remove.
+ * sched-int.h: Remove the prototype for find_insn_list.
+
2007-02-16 Geoffrey Keating <geoffk@apple.com>
* config/darwin.h (LINK_SPEC): Always pass -macosx_version_min
diff --git a/gcc/sched-deps.c b/gcc/sched-deps.c
index 72d8e4f..456636c 100644
--- a/gcc/sched-deps.c
+++ b/gcc/sched-deps.c
@@ -493,21 +493,6 @@ deps_may_trap_p (rtx mem)
return rtx_addr_can_trap_p (addr);
}
-/* Return the INSN_LIST containing INSN in LIST, or NULL
- if LIST does not contain INSN. */
-
-rtx
-find_insn_list (rtx insn, rtx list)
-{
- while (list)
- {
- if (XEXP (list, 0) == insn)
- return list;
- list = XEXP (list, 1);
- }
- return 0;
-}
-
/* Find the condition under which INSN is executed. */
static rtx
diff --git a/gcc/sched-int.h b/gcc/sched-int.h
index 61b9cf2..b639657 100644
--- a/gcc/sched-int.h
+++ b/gcc/sched-int.h
@@ -834,7 +834,6 @@ extern void init_deps_global (void);
extern void finish_deps_global (void);
extern void add_forw_dep (dep_link_t);
extern void compute_forward_dependences (rtx, rtx);
-extern rtx find_insn_list (rtx, rtx);
extern void init_dependency_caches (int);
extern void free_dependency_caches (void);
extern void extend_dependency_caches (int, bool);