diff options
author | grahams <grahams@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-08-09 13:23:01 +0000 |
---|---|---|
committer | grahams <grahams@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-08-09 13:23:01 +0000 |
commit | 187f4c4fb0132268bb68873f8060478691a6f3b9 (patch) | |
tree | 0921d9a67b61c2f574c8b2551280907ea8861b1f /gcc/predict.c | |
parent | 1218ae489cb1a2e8f75a719b34ef27529875c308 (diff) | |
download | gcc-187f4c4fb0132268bb68873f8060478691a6f3b9.tar.gz |
* predict.c (estimate_probability): Replace magic numbers with
appropriate enumeration.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44738 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/predict.c')
-rw-r--r-- | gcc/predict.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/predict.c b/gcc/predict.c index 91a64a3fd1f..a512377e62b 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. */ |