OSDN Git Service

* sched-deps.c (find_insn_list): Remove.
authorkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 17 Feb 2007 04:01:30 +0000 (04:01 +0000)
committerkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 17 Feb 2007 04:01:30 +0000 (04:01 +0000)
* 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

gcc/ChangeLog
gcc/sched-deps.c
gcc/sched-int.h

index 404a138..ece000a 100644 (file)
@@ -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
index 72d8e4f..456636c 100644 (file)
@@ -493,21 +493,6 @@ deps_may_trap_p (rtx mem)
   return rtx_addr_can_trap_p (addr);
 }
 \f
-/* 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;
-}
-\f
 /* Find the condition under which INSN is executed.  */
 
 static rtx
index 61b9cf2..b639657 100644 (file)
@@ -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);