From 971005966f30c246ab1cfcaa537497a852d1be52 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Manuel=20L=C3=B3pez-Ib=C3=A1=C3=B1ez?= Date: Mon, 29 Jan 2007 20:54:59 +0000 Subject: [PATCH] tree-optimize.c (update_inlined_to_pointers): Delete unused function. 2007-01-29 Manuel Lopez-Ibanez * tree-optimize.c (update_inlined_to_pointers): Delete unused function. From-SVN: r121309 --- gcc/ChangeLog | 5 +++++ gcc/tree-optimize.c | 18 ------------------ 2 files changed, 5 insertions(+), 18 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 3cf0452b2a9..cc1f0c362f4 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2007-01-29 Manuel Lopez-Ibanez + + * tree-optimize.c (update_inlined_to_pointers): Delete unused + function. + 2007-01-29 Janis Johnson * Makefile.in (USER_H): Remove decfloat.h. diff --git a/gcc/tree-optimize.c b/gcc/tree-optimize.c index 1299a856ffd..06adb457b41 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. */ -- 2.30.2