diff options
author | rsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-04-04 19:41:14 +0000 |
---|---|---|
committer | rsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-04-04 19:41:14 +0000 |
commit | b1b07349c420639e6243e594e50ae8b6e2318d80 (patch) | |
tree | 7d239f92c69c3cbd2da9ccdfddf5dc8bafbad712 /gcc/gcov-io.h | |
parent | a5a297d83e1ba3ef26aeb141129d4b7e93801d3e (diff) | |
download | gcc-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/gcov-io.h')
-rw-r--r-- | gcc/gcov-io.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/gcc/gcov-io.h b/gcc/gcov-io.h index 904f5419dba..d0bacff9280 100644 --- a/gcc/gcov-io.h +++ b/gcc/gcov-io.h @@ -214,11 +214,7 @@ typedef HOST_WIDEST_INT gcov_type; #include <sys/types.h> #endif #else /*!IN_GCOV */ -#if LONG_LONG_TYPE_SIZE > 32 -#define GCOV_TYPE_NODE intDI_type_node -#else -#define GCOV_TYPE_NODE intSI_type_node -#endif +#define GCOV_TYPE_SIZE (LONG_LONG_TYPE_SIZE > 32 ? 64 : 32) #endif #if defined (HOST_HAS_F_SETLKW) |