aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-pass.h
diff options
context:
space:
mode:
authorJan Hubicka <jh@suse.cz>2007-01-06 18:58:40 +0100
committerJan Hubicka <hubicka@gcc.gnu.org>2007-01-06 17:58:40 +0000
commit2dee695bfc9d9384aa18e9e8a7fbc822a18e43c6 (patch)
tree4376eec55302164500ff8b5a68d63b436c80b4c6 /gcc/tree-pass.h
parentdc1f5a111805364e5311333cb2d0e7522034a258 (diff)
downloadgcc-2dee695bfc9d9384aa18e9e8a7fbc822a18e43c6.zip
gcc-2dee695bfc9d9384aa18e9e8a7fbc822a18e43c6.tar.gz
gcc-2dee695bfc9d9384aa18e9e8a7fbc822a18e43c6.tar.bz2
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
Diffstat (limited to 'gcc/tree-pass.h')
-rw-r--r--gcc/tree-pass.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/tree-pass.h b/gcc/tree-pass.h
index 01a0c7d..0cec9d4 100644
--- a/gcc/tree-pass.h
+++ b/gcc/tree-pass.h
@@ -303,6 +303,7 @@ extern struct tree_opt_pass pass_uncprop;
extern struct tree_opt_pass pass_return_slot;
extern struct tree_opt_pass pass_reassoc;
extern struct tree_opt_pass pass_rebuild_cgraph_edges;
+extern struct tree_opt_pass pass_build_cgraph_edges;
extern struct tree_opt_pass pass_reset_cc_flags;
/* IPA Passes */