OSDN Git Service

* cgraphunit.c: Include tree-pass.h
authorhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 21 Apr 2005 13:18:23 +0000 (13:18 +0000)
committerhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 21 Apr 2005 13:18:23 +0000 (13:18 +0000)
commitf1e2a03395c7d87696b666e40df964d399f5549b
tree9b1c4ea35be4dd923659057c72272052e51d3eef
parent40708992f8f0ebe91991390c63e7ae077c013730
* cgraphunit.c: Include tree-pass.h
(cgraph_decide_recursive_inlining,
cgraph_decide_inlining_of_small_function, cgraph_set_inline_failed,
cgraph_decide_inlining): Dump goes to dump_file.
(cgraph_optimize): Call ipa passes instead of inliner.
(cgraph_gate_inlining, pass_ipa_inline): New.
* tree-optimize.c (all_ipa_passes): New static variable.
(register_one_dump_file): Dead with IPA passes.
(register_dump_files): Likewise.
(init_tree_optimization_passes): Initialize IPA passes.
(execute_todo): Do cgraph dump when asked to, do not dump function body
for IPA pass.
* tree-pass.h (TODO_dump_cgraph): New macro.
(ipa_passes): Declare.
* Makefile.in (cgraphunit.o): Add dependency on cgraphunit.h

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@98501 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/Makefile.in
gcc/cgraphunit.c
gcc/tree-optimize.c
gcc/tree-pass.h