]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/cgraphbuild.c
tree-pass.h (pass_build_cgraph_edges): Declare.
authorJan Hubicka <jh@suse.cz>
Sat, 6 Jan 2007 17:58:40 +0000 (18:58 +0100)
committerJan Hubicka <hubicka@gcc.gnu.org>
Sat, 6 Jan 2007 17:58:40 +0000 (17:58 +0000)
commit2dee695bfc9d9384aa18e9e8a7fbc822a18e43c6
tree4376eec55302164500ff8b5a68d63b436c80b4c6
parentdc1f5a111805364e5311333cb2d0e7522034a258
tree-pass.h (pass_build_cgraph_edges): Declare.

* 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.

From-SVN: r120527
gcc/ChangeLog
gcc/Makefile.in
gcc/cgraphbuild.c [new file with mode: 0644]
gcc/cgraphunit.c
gcc/passes.c
gcc/tree-pass.h