Step through the sorted array of basic blocks.

This commit is contained in:
Nick Clifton 2005-03-15 16:20:42 +00:00
parent 43c3ab55ac
commit f7945f452e
2 changed files with 7 additions and 0 deletions

View file

@ -1,3 +1,8 @@
2005-03-15 Nick Clifton <nickc@redhat.com>
* basic_blocks.c (print_exec_counts): Step through sorted array of
basic blocks.
2005-03-15 Alan Modra <amodra@bigpond.net.au> 2005-03-15 Alan Modra <amodra@bigpond.net.au>
* po/es.po: Commit new Spanish translation. * po/es.po: Commit new Spanish translation.

View file

@ -281,6 +281,8 @@ print_exec_counts ()
for (i = 0; i < len; ++i) for (i = 0; i < len; ++i)
{ {
sym = sorted_bbs [i];
if (sym->ncalls > 0 || ! ignore_zeros) if (sym->ncalls > 0 || ! ignore_zeros)
{ {
/* FIXME: This only works if bfd_vma is unsigned long. */ /* FIXME: This only works if bfd_vma is unsigned long. */