summaryrefslogtreecommitdiff
path: root/gcc/value-prof.c
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/value-prof.c
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/value-prof.c')
-rw-r--r--gcc/value-prof.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/value-prof.c b/gcc/value-prof.c
index 4712b523824..0ef054efc19 100644
--- a/gcc/value-prof.c
+++ b/gcc/value-prof.c
@@ -37,6 +37,7 @@ Software Foundation, 59 Temple Place - Suite 330, Boston, MA
#include "tree-flow.h"
#include "tree-flow-inline.h"
#include "diagnostic.h"
+#include "coverage.h"
#include "tree.h"
#include "gcov-io.h"