diff options
author | kazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-02-17 04:01:30 +0000 |
---|---|---|
committer | kazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-02-17 04:01:30 +0000 |
commit | 7865f8be3feb2aee334ae94e7b49f089af0c820f (patch) | |
tree | 6cf1f99d2b616f2187c6f4432d9707991bad0533 | |
parent | 7f1f88317a25ac2778435a7328d83fb95f9a4530 (diff) | |
download | gcc-7865f8be3feb2aee334ae94e7b49f089af0c820f.tar.gz |
* sched-deps.c (find_insn_list): Remove.
* sched-int.h: Remove the prototype for find_insn_list.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@122069 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/sched-deps.c | 15 | ||||
-rw-r--r-- | gcc/sched-int.h | 1 |
3 files changed, 5 insertions, 16 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 404a13847b8..ece000aad23 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 72d8e4f04cf..456636c813e 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 61b9cf259c0..b6396570de2 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); |