aboutsummaryrefslogtreecommitdiff
path: root/gcc/value-prof.c
diff options
context:
space:
mode:
authorJan Hubicka <jh@suse.cz>2007-02-08 10:56:34 +0100
committerJan Hubicka <hubicka@gcc.gnu.org>2007-02-08 09:56:34 +0000
commit674474a525cfedbebb3580b78a008e01c6ff226e (patch)
treea17874068ad233b00c1794a75fd882539e406fb6 /gcc/value-prof.c
parent822f505b75eaa2a7a35481af4c8a76c8f87eba5e (diff)
downloadgcc-674474a525cfedbebb3580b78a008e01c6ff226e.zip
gcc-674474a525cfedbebb3580b78a008e01c6ff226e.tar.gz
gcc-674474a525cfedbebb3580b78a008e01c6ff226e.tar.bz2
value-prof.c (visit_hist, free_hist): Return 1 instead of 0.
* value-prof.c (visit_hist, free_hist): Return 1 instead of 0. Co-Authored-By: Robert Kidd <rkidd@crhc.uiuc.edu> From-SVN: r121711
Diffstat (limited to 'gcc/value-prof.c')
-rw-r--r--gcc/value-prof.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/value-prof.c b/gcc/value-prof.c
index b03e677..2de51f6 100644
--- a/gcc/value-prof.c
+++ b/gcc/value-prof.c
@@ -354,7 +354,7 @@ visit_hist (void **slot, void *data)
debug_generic_stmt (hist->hvalue.stmt);
error_found = true;
}
- return 0;
+ return 1;
}
/* Verify sanity of the histograms. */
@@ -406,7 +406,7 @@ free_hist (void **slot, void *data ATTRIBUTE_UNUSED)
memset (hist, 0xab, sizeof (*hist));
#endif
free (hist);
- return 0;
+ return 1;
}
void