Commit a4e11a5c by Graham Stott Committed by Graham Stott

predict.c (estimate_probability): Replace magic numbers with appropriate enumeration.


	* predict.c (estimate_probability): Replace magic numbers with
	appropriate enumeration.

From-SVN: r44738
parent a0e4ce74
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.
......
......@@ -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. */
......
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