cgraph.h (compute_inline_parameters): Made public.
authorKenneth Zadeck <zadeck@naturalbridge.com>
Thu, 15 May 2008 22:58:03 +0000 (22:58 +0000)
committerKenneth Zadeck <zadeck@gcc.gnu.org>
Thu, 15 May 2008 22:58:03 +0000 (22:58 +0000)
commit1920df6c2253448d27f4e8e016fa504810857649
tree2c6ab8e53e59d94a67a634900e3ca0f68350582a
parentbe95b3555aa82872565a1e1ea85ff826a20c8e2e
cgraph.h (compute_inline_parameters): Made public.

2008-05-15  Kenneth Zadeck <zadeck@naturalbridge.com>

* cgraph.h (compute_inline_parameters): Made public.
* tree-pass.h (ipa_opt_pass): Removed function_generate_summary,
variable_generate_summary, function_write_summary,
variable_write_summary, variable_read_summary.  Added
generate_summary, write_summary, read_summary.
* cgraphunit.c (cgraph_process_new_functions): Changed call from
pass_ipa_inline.function_generate_summary, to
compute_inline_parameters.
* ipa-inline.c (compute_inline_parameters): Made public and added
node parameter.
(compute_inline_parameters_for_current): New function.
(pass_inline_param): Now calls
compute_inline_parameters_for_current.
(inline_generate_summary): Removed parameter and made to loop over
all cgraph nodes.
(pass_ipa_inline): Updated for new IPA_PASS structure.
* passes.c (execute_ipa_summary_passes): Now is called once per
pass rather than once per node*pass.

From-SVN: r135401
gcc/ChangeLog
gcc/cgraph.h
gcc/cgraphunit.c
gcc/ipa-inline.c
gcc/passes.c
gcc/tree-pass.h