From 9de21a2340b1c198d7ce431753ac92a1f71e0a48 Mon Sep 17 00:00:00 2001 From: Josh Conner Date: Thu, 28 Jul 2005 17:14:57 +0000 Subject: ipa-inline.c (cgraph_edge_badness): Update comments. * ipa-inline.c (cgraph_edge_badness): Update comments. Invert shift direction of badness if negative. (cgraph_default_inline_p): Add reason to parameters, and assign it a value. (cgraph_decide_inlining_of_small_functions): New parameter in call to cgraph_default_inline_p. (cgraph_decide_inlining_incrementally): Likewise. * cgraphunit.c (decide_is_function_needed): Likewise. * cgraph.h (cgraph_default_inline_p): Likewise. From-SVN: r102497 --- gcc/cgraphunit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gcc/cgraphunit.c') diff --git a/gcc/cgraphunit.c b/gcc/cgraphunit.c index 7b126cc6f89..f8f864c11f8 100644 --- a/gcc/cgraphunit.c +++ b/gcc/cgraphunit.c @@ -248,7 +248,7 @@ decide_is_function_needed (struct cgraph_node *node, tree decl) /* When declared inline, defer even the uninlinable functions. This allows them to be eliminated when unused. */ && !DECL_DECLARED_INLINE_P (decl) - && (!node->local.inlinable || !cgraph_default_inline_p (node)))) + && (!node->local.inlinable || !cgraph_default_inline_p (node, NULL)))) return true; return false; -- cgit v1.2.1