OSDN Git Service

* tree-pass.h (pass_build_cgraph_edges): Declare.
authorhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 6 Jan 2007 17:58:40 +0000 (17:58 +0000)
committerhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 6 Jan 2007 17:58:40 +0000 (17:58 +0000)
commite7c352d1533aa23b92ca52cf67c2da1dcc508468
tree4376eec55302164500ff8b5a68d63b436c80b4c6
parent5b52bd91a85a4abc18a7e642192526f741285b95
* tree-pass.h (pass_build_cgraph_edges): Declare.
* cgraphunit.c (record_refernece): Move to cgraphbuild.c
(visited_nodes): Remove.
(cgraph_create_edges): Move to cgraphbuild.c; rename to
build_cgrpah_edges; make visited_nodes local.
(cgraph_process_new_functions): DO not call initialize_inline_failed.
(record_references_in_initializer): Move to cgraphbuild.c
(initialize_inline_failed, rebuild_cgraph_edges,
pass_rebuild_cgraph_edges): Move to cgraphbuild.c.
(verify_cgraph_node): Make visited_nodes local.
(cgraph_analyze_function): Do not call cgraph_create_edges and
initialize_inline_failed.
(cgraph_expand_function): Do not call cgraph_lower_function;
assert that function is already lowered.
* Makefile.in (cgraphbuild.o): New.
* passes.c (init_optimization_passes): Add pass_build_cgraph_edges
at the end of lowering passes.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@120527 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/Makefile.in
gcc/cgraphbuild.c [new file with mode: 0644]
gcc/cgraphunit.c
gcc/passes.c
gcc/tree-pass.h