aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-optimize.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/tree-optimize.c')
-rw-r--r--gcc/tree-optimize.c18
1 files changed, 0 insertions, 18 deletions
diff --git a/gcc/tree-optimize.c b/gcc/tree-optimize.c
index 1299a85..06adb45 100644
--- a/gcc/tree-optimize.c
+++ b/gcc/tree-optimize.c
@@ -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);
- }
- }
-}
-
/* For functions-as-trees languages, this performs all optimization and
compilation for FNDECL. */