aboutsummaryrefslogtreecommitdiff
path: root/gcc/cgraph.h
diff options
context:
space:
mode:
authorJan Hubicka <jh@suse.cz>2010-06-01 17:43:27 +0200
committerJan Hubicka <hubicka@gcc.gnu.org>2010-06-01 15:43:27 +0000
commit91382288079e2b47f7a18252051036e4f76c6ada (patch)
tree40b6483e885e19cfee06a54fdb8b5bec8bff3a8b /gcc/cgraph.h
parent6ac9d3a3c3ede0fd799548829eb08341d9c8b784 (diff)
downloadgcc-91382288079e2b47f7a18252051036e4f76c6ada.zip
gcc-91382288079e2b47f7a18252051036e4f76c6ada.tar.gz
gcc-91382288079e2b47f7a18252051036e4f76c6ada.tar.bz2
cgraph.h (tree_function_versioning): Update prototype.
* cgraph.h (tree_function_versioning): Update prototype. (cgraph_function_versioning): Update prototype. * cgraphunit.c (cgraph_copy_node_for_versioning): Accept bbs_to_copy bitmap. (cgraph_function_versioning): Accept new_entry_block and bbs_to_copy. (cgraph_materialize_clone, save_inline_function_body): Update use of tree_function_versioning. * tree-inline.c (copy_bb): Look for previous copied block to link after; fix debug output. (copy_cfg_body): Accept new_entry_block and bbs_to_copy. (copy_body): Likewise. (expand_call_inline): Update use of copy_body. (tree_function_versioning): Update use of copy body; accept blocks_to_copy and new_entry. From-SVN: r160110
Diffstat (limited to 'gcc/cgraph.h')
-rw-r--r--gcc/cgraph.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/gcc/cgraph.h b/gcc/cgraph.h
index 3c91f049..c82fc18 100644
--- a/gcc/cgraph.h
+++ b/gcc/cgraph.h
@@ -616,8 +616,10 @@ void init_cgraph (void);
struct cgraph_node *cgraph_function_versioning (struct cgraph_node *,
VEC(cgraph_edge_p,heap)*,
VEC(ipa_replace_map_p,gc)*,
- bitmap, const char *);
-void tree_function_versioning (tree, tree, VEC (ipa_replace_map_p,gc)*, bool, bitmap);
+ bitmap, bitmap, basic_block,
+ const char *);
+void tree_function_versioning (tree, tree, VEC (ipa_replace_map_p,gc)*, bool, bitmap,
+ bitmap, basic_block);
struct cgraph_node *save_inline_function_body (struct cgraph_node *);
void record_references_in_initializer (tree, bool);
bool cgraph_process_new_functions (void);