diff options
author | hubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-09-24 12:43:30 +0000 |
---|---|---|
committer | hubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-09-24 12:43:30 +0000 |
commit | a2cb9b3b41216f9a0538a865dbccdb40e6124a83 (patch) | |
tree | 65dc8daa11fadff0c648fecf430944f0ddcca2f3 /gcc/cgraph.h | |
parent | 8420f71f8ac1382f9da0766fc7b337734764f164 (diff) | |
download | gcc-a2cb9b3b41216f9a0538a865dbccdb40e6124a83.tar.gz |
* cgraph.c (cgraph_clone_edge): Make the scale gcov_type.
(cgraph_clone_node): Likewise.
* cgraph.h (cgraph_clone_edge): Update prototype.
(cgraph_mark_inline_edge, cgraph_clone_inlined_nodes): Remove
duplicated prototypes; add updating argument.
* cgraphunit.c (verify_cgraph_node): Verify that counts are non-negative.
* ipa-inline.c (cgraph_clone_inlined_nodes): Allow clonning without
updating profile.
(cgraph_mark_inline_edge): Likewise.
(cgraph_mark_inline): Update use of cgraph_mark_inline_edge.
(cgraph_flatten_node): Likewise.
(cgraph_decide_recursive_inlining): Likewise.
(cgraph_decide_inlining_of_small_function): Likewise.
* tree-optimize.c (tree_rest_of_compilation): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@104601 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cgraph.h')
-rw-r--r-- | gcc/cgraph.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/gcc/cgraph.h b/gcc/cgraph.h index ccb2cdd3b64..42a74f549b4 100644 --- a/gcc/cgraph.h +++ b/gcc/cgraph.h @@ -242,7 +242,7 @@ struct cgraph_rtl_info *cgraph_rtl_info (tree); const char * cgraph_node_name (struct cgraph_node *); struct cgraph_edge * cgraph_clone_edge (struct cgraph_edge *, struct cgraph_node *, - tree, int, int, bool); + tree, gcov_type, int, bool); struct cgraph_node * cgraph_clone_node (struct cgraph_node *, gcov_type, int, bool); @@ -276,8 +276,6 @@ bool cgraph_inline_p (struct cgraph_edge *, const char **reason); bool cgraph_preserve_function_body_p (tree); void verify_cgraph (void); void verify_cgraph_node (struct cgraph_node *); -void cgraph_mark_inline_edge (struct cgraph_edge *e); -void cgraph_clone_inlined_nodes (struct cgraph_edge *e, bool duplicate); void cgraph_build_static_cdtor (char which, tree body, int priority); void cgraph_reset_static_var_maps (void); void init_cgraph (void); @@ -290,7 +288,7 @@ int cgraph_postorder (struct cgraph_node **); /* In ipa-inline.c */ bool cgraph_decide_inlining_incrementally (struct cgraph_node *, bool); -void cgraph_clone_inlined_nodes (struct cgraph_edge *, bool); -void cgraph_mark_inline_edge (struct cgraph_edge *); +void cgraph_clone_inlined_nodes (struct cgraph_edge *, bool, bool); +void cgraph_mark_inline_edge (struct cgraph_edge *, bool); bool cgraph_default_inline_p (struct cgraph_node *, const char **); #endif /* GCC_CGRAPH_H */ |