diff options
Diffstat (limited to 'gcc/tree-inline.c')
-rw-r--r-- | gcc/tree-inline.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/gcc/tree-inline.c b/gcc/tree-inline.c index a9ca33b..cb97db1 100644 --- a/gcc/tree-inline.c +++ b/gcc/tree-inline.c @@ -795,7 +795,8 @@ copy_body_r (tree *tp, int *walk_subtrees, void *data) later */ static basic_block -copy_bb (copy_body_data *id, basic_block bb, int frequency_scale, int count_scale) +copy_bb (copy_body_data *id, basic_block bb, int frequency_scale, + gcov_type count_scale) { block_stmt_iterator bsi, copy_bsi; basic_block copy_basic_block; @@ -1108,7 +1109,7 @@ update_ssa_across_abnormal_edges (basic_block bb, basic_block ret_bb, accordingly. Edges will be taken care of later. Assume aux pointers to point to the copies of each BB. */ static void -copy_edges_for_bb (basic_block bb, int count_scale, basic_block ret_bb) +copy_edges_for_bb (basic_block bb, gcov_type count_scale, basic_block ret_bb) { basic_block new_bb = (basic_block) bb->aux; edge_iterator ei; @@ -1257,7 +1258,7 @@ initialize_cfun (tree new_fndecl, tree callee_fndecl, gcov_type count, struct function *new_cfun = (struct function *) ggc_alloc_cleared (sizeof (struct function)); struct function *src_cfun = DECL_STRUCT_FUNCTION (callee_fndecl); - int count_scale, frequency_scale; + gcov_type count_scale, frequency_scale; if (ENTRY_BLOCK_PTR_FOR_FUNCTION (src_cfun)->count) count_scale = (REG_BR_PROB_BASE * count @@ -1321,7 +1322,7 @@ copy_cfg_body (copy_body_data * id, gcov_type count, int frequency, struct function *cfun_to_copy; basic_block bb; tree new_fndecl = NULL; - int count_scale, frequency_scale; + gcov_type count_scale, frequency_scale; int last; if (ENTRY_BLOCK_PTR_FOR_FUNCTION (src_cfun)->count) |