diff options
| -rw-r--r-- | gcc/ChangeLog | 7 | ||||
| -rw-r--r-- | gcc/predict.c | 4 |
2 files changed, 8 insertions, 3 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index a1bbdb2..3efda2c 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,6 +1,11 @@ 2001-08-09 Graham Stott <grahams@redhat.com> - cppexp.c (EXTRACT_PRIO): Uppercase and parenthsize macro + * predict.c (estimate_probability): Replace magic numbers with + appropriate enumeration. + +2001-08-09 Graham Stott <grahams@redhat.com> + + * cppexp.c (EXTRACT_PRIO): Uppercase and parenthsize macro parameter. (EXTRACT_FLAGS): Likewise. diff --git a/gcc/predict.c b/gcc/predict.c index 91a64a3..a512377 100644 --- a/gcc/predict.c +++ b/gcc/predict.c @@ -287,8 +287,8 @@ estimate_probability (loops_info) dominators = sbitmap_vector_alloc (n_basic_blocks, n_basic_blocks); post_dominators = sbitmap_vector_alloc (n_basic_blocks, n_basic_blocks); - calculate_dominance_info (NULL, dominators, 0); - calculate_dominance_info (NULL, post_dominators, 1); + calculate_dominance_info (NULL, dominators, CDI_DOMINATORS); + calculate_dominance_info (NULL, post_dominators, CDI_POST_DOMINATORS); /* Try to predict out blocks in a loop that are not part of a natural loop. */ |
