profile.c (edge_gcov_counts): Turn to pointer.
* profile.c (edge_gcov_counts): Turn to pointer. (compute_branch_probabilities, compute_branch_probabilities): Update. (branch_prob): Do not clear edge_gcov_count. * profile.h (edge_gcov_counts): Turn to pointer. (edge_gcov_count): Update. From-SVN: r249057
This commit is contained in:
parent
ffb9d1b140
commit
f05d82a711
@ -2,6 +2,7 @@
|
||||
|
||||
* profile.c (edge_gcov_counts): Turn to pointer.
|
||||
(compute_branch_probabilities, compute_branch_probabilities): Update.
|
||||
(branch_prob): Do not clear edge_gcov_count.
|
||||
* profile.h (edge_gcov_counts): Turn to pointer.
|
||||
(edge_gcov_count): Update.
|
||||
|
||||
|
@ -1149,7 +1149,6 @@ branch_prob (void)
|
||||
for (i = 0 ; i < num_edges ; i++)
|
||||
{
|
||||
edge e = INDEX_EDGE (el, i);
|
||||
edge_gcov_count (e) = 0;
|
||||
|
||||
/* Mark edges we've replaced by fake edges above as ignored. */
|
||||
if ((e->flags & (EDGE_ABNORMAL | EDGE_ABNORMAL_CALL))
|
||||
|
Loading…
Reference in New Issue
Block a user