summaryrefslogtreecommitdiff
path: root/gcc/coverage.h
diff options
context:
space:
mode:
authorrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>2005-04-04 19:41:14 +0000
committerrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>2005-04-04 19:41:14 +0000
commitb1b07349c420639e6243e594e50ae8b6e2318d80 (patch)
tree7d239f92c69c3cbd2da9ccdfddf5dc8bafbad712 /gcc/coverage.h
parenta5a297d83e1ba3ef26aeb141129d4b7e93801d3e (diff)
downloadgcc-b1b07349c420639e6243e594e50ae8b6e2318d80.tar.gz
* system.h (GCOV_SIZE_TYPE): Unposion.
* gcov-io.h (GCOV_TYPE_NODE): Delete, replacing with... (GCOV_TYPE_SIZE): ...this new macro. * coverage.h (get_gcov_type, GCOV_TYPE_NODE): Declare. * coverage.c (get_gcov_type, get_gcov_unsigned_t): New functions. (rtl_coverage_counter_ref): Use GCOV_TYPE_SIZE. (build_fn_info_type, build_fn_info_value, build_ctr_info_type) (build_ctr_info_value, build_gcov_info): Use get_gcov_unsigned_t instead of unsigned_intSI_type_node. * rtl-profile.c (rtl_gen_interval_profiler, rtl_gen_pow2_profiler) (rtl_gen_one_value_profiler_no_edge_manipulation) (rtl_gen_const_delta_profiler): Use GCOV_TYPE_SIZE. * value-prof.c: Include coverage.h. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97570 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/coverage.h')
-rw-r--r--gcc/coverage.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/coverage.h b/gcc/coverage.h
index 033d3fdf120..d004e234d35 100644
--- a/gcc/coverage.h
+++ b/gcc/coverage.h
@@ -47,4 +47,8 @@ extern gcov_type *get_coverage_counts (unsigned /*counter*/,
unsigned /*expected*/,
const struct gcov_ctr_summary **);
+extern tree get_gcov_type (void);
+
+#define GCOV_TYPE_NODE get_gcov_type ()
+
#endif