tree-optimize.c (update_inlined_to_pointers): Delete unused function.
authorManuel López-Ibáñez <manu@gcc.gnu.org>
Mon, 29 Jan 2007 20:54:59 +0000 (20:54 +0000)
committerManuel López-Ibáñez <manu@gcc.gnu.org>
Mon, 29 Jan 2007 20:54:59 +0000 (20:54 +0000)
2007-01-29  Manuel Lopez-Ibanez  <manu@gcc.gnu.org>

        * tree-optimize.c (update_inlined_to_pointers): Delete unused
        function.

From-SVN: r121309

gcc/ChangeLog
gcc/tree-optimize.c

index 3cf0452b2a9f2a1d3c282c36841457d3461b86df..cc1f0c362f43aeb3548d9913ba32d6f8471ed966 100644 (file)
@@ -1,3 +1,8 @@
+2007-01-29  Manuel Lopez-Ibanez  <manu@gcc.gnu.org>
+
+       * tree-optimize.c (update_inlined_to_pointers): Delete unused
+       function.
+
 2007-01-29  Janis Johnson  <janis187@us.ibm.com>
 
        * Makefile.in (USER_H): Remove decfloat.h.
index 1299a856ffd2198074b9548cddb47071a08e9265..06adb457b416bce0c62c62ba3c7fec448f2e3a70 100644 (file)
@@ -436,24 +436,6 @@ tree_lowering_passes (tree fn)
   bitmap_obstack_release (NULL);
   pop_cfun ();
 }
-
-/* Update recursively all inlined_to pointers of functions
-   inlined into NODE to INLINED_TO.  */
-static void
-update_inlined_to_pointers (struct cgraph_node *node,
-                           struct cgraph_node *inlined_to)
-{
-  struct cgraph_edge *e;
-  for (e = node->callees; e; e = e->next_callee)
-    {
-      if (e->callee->global.inlined_to)
-       {
-         e->callee->global.inlined_to = inlined_to;
-         update_inlined_to_pointers (e->callee, inlined_to);
-       }
-    }
-}
-
 \f
 /* For functions-as-trees languages, this performs all optimization and
    compilation for FNDECL.  */