summaryrefslogtreecommitdiff
path: root/gcc/value-prof.c
diff options
context:
space:
mode:
authorrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>2005-04-06 22:50:29 +0000
committerrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>2005-04-06 22:50:29 +0000
commit8aa35772495e9c4a629ae875fec096d03a7c6ae4 (patch)
tree24e0e22bfb47cd8753027f0806884351901a8e22 /gcc/value-prof.c
parentb1fcce272741d6d859d21a887ba5491285baf0e7 (diff)
downloadgcc-8aa35772495e9c4a629ae875fec096d03a7c6ae4.tar.gz
* coverage.h (GCOV_TYPE_NODE): Delete.
* coverage.c (coverage_counter_alloc, tree_coverage_counter_ref) (build_ctr_info_type): Use get_gcov_type () instead of GCOV_TYPE_NODE. * tree-profile.c (tree_gen_edge_profiler, tree_gen_interval_profiler) (tree_gen_pow2_profiler, tree_gen_one_value_profiler): Likewise. * value-prof.c (tree_divmod_fixed_value_transform): Delete. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97760 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/value-prof.c')
-rw-r--r--gcc/value-prof.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/value-prof.c b/gcc/value-prof.c
index 0ef054efc19..26034092dd3 100644
--- a/gcc/value-prof.c
+++ b/gcc/value-prof.c
@@ -1242,7 +1242,8 @@ tree_divmod_fixed_value_transform (tree stmt)
/* Compute probability of taking the optimal path. */
prob = (count * REG_BR_PROB_BASE + all / 2) / all;
- tree_val = build_int_cst_wide (GCOV_TYPE_NODE, val & 0xffffffffull, val >> 32);
+ tree_val = build_int_cst_wide (get_gcov_type (),
+ val & 0xffffffffull, val >> 32);
result = tree_divmod_fixed_value (stmt, op, op1, op2, tree_val, prob, count, all);
TREE_OPERAND (modify, 1) = result;