diff options
author | Richard Guenther <rguenther@suse.de> | 2007-08-20 11:37:08 +0000 |
---|---|---|
committer | Richard Biener <rguenth@gcc.gnu.org> | 2007-08-20 11:37:08 +0000 |
commit | 1d51f406677ceea381da32d39f43f4084fd8d69f (patch) | |
tree | 80efab936a1dcc2f70ed51c276471013fcb4ee5c /gcc/cgraphunit.c | |
parent | 50886bf1f9143bd97180043ceaddde5061d43e78 (diff) | |
download | gcc-1d51f406677ceea381da32d39f43f4084fd8d69f.zip gcc-1d51f406677ceea381da32d39f43f4084fd8d69f.tar.gz gcc-1d51f406677ceea381da32d39f43f4084fd8d69f.tar.bz2 |
c-objc-common.c (c_disregard_inline_limits): Remove.
2007-08-20 Richard Guenther <rguenther@suse.de>
* c-objc-common.c (c_disregard_inline_limits): Remove.
* c-objc-common.h (c_disregard_inline_limits): Likewise.
* cgraphunit.c (cgraph_process_new_functions): Call
disregard_inline_limits_p.
(cgraph_preserve_function_body_p): Likewise.
* ipa-inline.c (compute_inline_parameters): Likewise.
* langhooks-def.h (lhd_tree_inlining_disregard_inline_limits):
Remove.
(LANG_HOOKS_TREE_INLINING_DISREGARD_INLINE_LIMITS): Remove.
(LANG_HOOKS_TREE_INLINING_INITIALIZER): Remove initializer for
disregard_inline_limits langhook.
* langhooks.c (lhd_tree_inlining_disregard_inline_limits):
Remove.
* langhooks.h (lang_hooks_for_tree_inlining): Remove
disregard_inline_limits langhook.
* tree-inline.c (disregard_inline_limits_p): New function.
* tree-inline.h (disregard_inline_limits_p): Declare.
From-SVN: r127644
Diffstat (limited to 'gcc/cgraphunit.c')
-rw-r--r-- | gcc/cgraphunit.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/cgraphunit.c b/gcc/cgraphunit.c index f810c27..dddc093 100644 --- a/gcc/cgraphunit.c +++ b/gcc/cgraphunit.c @@ -381,7 +381,7 @@ cgraph_process_new_functions (void) node->local.self_insns = estimate_num_insns (fndecl, &eni_inlining_weights); node->local.disregard_inline_limits - |= lang_hooks.tree_inlining.disregard_inline_limits (fndecl); + |= disregard_inline_limits_p (fndecl); /* Inlining characteristics are maintained by the cgraph_mark_inline. */ node->global.insns = node->local.self_insns; @@ -1252,7 +1252,7 @@ cgraph_preserve_function_body_p (tree decl) struct cgraph_node *node; if (!cgraph_global_info_ready) return (flag_really_no_inline - ? lang_hooks.tree_inlining.disregard_inline_limits (decl) + ? disregard_inline_limits_p (decl) : DECL_INLINE (decl)); /* Look if there is any clone around. */ for (node = cgraph_node (decl); node; node = node->next_clone) |