diff options
author | Dirk Mueller <mueller@gcc.gnu.org> | 2007-05-30 22:22:43 +0000 |
---|---|---|
committer | Dirk Mueller <mueller@gcc.gnu.org> | 2007-05-30 22:22:43 +0000 |
commit | 62090afbfb4386d136f0f52574a699fad1a49848 (patch) | |
tree | dd153a60d28479eddacdbce9f42dab29bee604bb | |
parent | 27edb5482d77d61a5adafd1851d61f4ecefe6361 (diff) | |
download | gcc-62090afbfb4386d136f0f52574a699fad1a49848.zip gcc-62090afbfb4386d136f0f52574a699fad1a49848.tar.gz gcc-62090afbfb4386d136f0f52574a699fad1a49848.tar.bz2 |
cgraphunit.c (cgraph_analyze_function): Remove computation of inline parameters.
* cgraphunit.c (cgraph_analyze_function): Remove
computation of inline parameters.
From-SVN: r125202
-rw-r--r-- | gcc/ChangeLog | 7 | ||||
-rw-r--r-- | gcc/cgraphunit.c | 13 |
2 files changed, 6 insertions, 14 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 9f5a5ce..d8dd62f 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,4 +1,9 @@ -2007-05-30 Uros Bizjak <ubizjak@gmail.com> +2007-05-30 Dirk Mueller <dmueller@suse.de> + + * cgraphunit.c (cgraph_analyze_function): Remove + computation of inline parameters. + +2007-05-30 Uros Bizjak <ubizjak@gmail.com> * config/i386/darwin.h (TARGET_SUBTARGET_DEFAULT): Undef before define. diff --git a/gcc/cgraphunit.c b/gcc/cgraphunit.c index a81b3b2..1dba95b 100644 --- a/gcc/cgraphunit.c +++ b/gcc/cgraphunit.c @@ -761,19 +761,6 @@ cgraph_analyze_function (struct cgraph_node *node) push_cfun (DECL_STRUCT_FUNCTION (decl)); cgraph_lower_function (node); - node->local.estimated_self_stack_size = estimated_stack_frame_size (); - node->global.estimated_stack_size = node->local.estimated_self_stack_size; - node->global.stack_frame_offset = 0; - node->local.inlinable = tree_inlinable_function_p (decl); - if (!flag_unit_at_a_time) - node->local.self_insns = estimate_num_insns (decl, &eni_inlining_weights); - if (node->local.inlinable) - node->local.disregard_inline_limits - = lang_hooks.tree_inlining.disregard_inline_limits (decl); - if (flag_really_no_inline && !node->local.disregard_inline_limits) - node->local.inlinable = 0; - /* Inlining characteristics are maintained by the cgraph_mark_inline. */ - node->global.insns = node->local.self_insns; if (!flag_unit_at_a_time) { bitmap_obstack_initialize (NULL); |