Commit 674474a5 by Jan Hubicka Committed by Jan Hubicka

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
parent 822f505b
2007-02-07 Jan Hubicka <jh@suse.cz>
Robert Kidd <rkidd@crhc.uiuc.edu>
* value-prof.c (visit_hist, free_hist): Return 1 instead of 0.
2007-02-07 Ian Lance Taylor <iant@google.com> 2007-02-07 Ian Lance Taylor <iant@google.com>
* lower-subreg.c (simple_move): Reject PARTIAL_INT modes. * lower-subreg.c (simple_move): Reject PARTIAL_INT modes.
......
...@@ -354,7 +354,7 @@ visit_hist (void **slot, void *data) ...@@ -354,7 +354,7 @@ visit_hist (void **slot, void *data)
debug_generic_stmt (hist->hvalue.stmt); debug_generic_stmt (hist->hvalue.stmt);
error_found = true; error_found = true;
} }
return 0; return 1;
} }
/* Verify sanity of the histograms. */ /* Verify sanity of the histograms. */
...@@ -406,7 +406,7 @@ free_hist (void **slot, void *data ATTRIBUTE_UNUSED) ...@@ -406,7 +406,7 @@ free_hist (void **slot, void *data ATTRIBUTE_UNUSED)
memset (hist, 0xab, sizeof (*hist)); memset (hist, 0xab, sizeof (*hist));
#endif #endif
free (hist); free (hist);
return 0; return 1;
} }
void void
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment