aboutsummaryrefslogtreecommitdiff
path: root/gcc/value-prof.c
diff options
context:
space:
mode:
authorRichard Sandiford <rsandifo@redhat.com>2005-04-06 22:50:29 +0000
committerRichard Sandiford <rsandifo@gcc.gnu.org>2005-04-06 22:50:29 +0000
commit070e396943c58c4e0f9fc01395ba9b4679ebb0f3 (patch)
tree24e0e22bfb47cd8753027f0806884351901a8e22 /gcc/value-prof.c
parentfb72a0a30b1f694b3cfdc33c95e47f14f60e9f43 (diff)
downloadgcc-070e396943c58c4e0f9fc01395ba9b4679ebb0f3.zip
gcc-070e396943c58c4e0f9fc01395ba9b4679ebb0f3.tar.gz
gcc-070e396943c58c4e0f9fc01395ba9b4679ebb0f3.tar.bz2
coverage.h (GCOV_TYPE_NODE): Delete.
* 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. From-SVN: r97760
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 0ef054e..2603409 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;