From: kazu Date: Sat, 17 Feb 2007 04:01:30 +0000 (+0000) Subject: * sched-deps.c (find_insn_list): Remove. X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=7865f8be3feb2aee334ae94e7b49f089af0c820f;p=thirdparty%2Fgcc.git * 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 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 404a13847b86..ece000aad23f 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2007-02-17 Kazu Hirata + + * sched-deps.c (find_insn_list): Remove. + * sched-int.h: Remove the prototype for find_insn_list. + 2007-02-16 Geoffrey Keating * config/darwin.h (LINK_SPEC): Always pass -macosx_version_min diff --git a/gcc/sched-deps.c b/gcc/sched-deps.c index 72d8e4f04cfc..456636c813e9 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 61b9cf259c04..b6396570de23 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);