Commit b2c5a1e9 by Kazu Hirata Committed by Kazu Hirata

* stmt.c (expand_case): Update a comment.

From-SVN: r89591
parent 5100d114
2004-10-26 Kazu Hirata <kazu@cs.umass.edu>
* stmt.c (expand_case): Update a comment.
2004-10-26 Kazu Hirata <kazu@cs.umass.edu>
* stmt.c (expand_case): Put an assertion that index_expr is
never INTEGER_CST. Don't special case for constant
index_expr.
......
......@@ -2499,9 +2499,8 @@ expand_case (tree exp)
if (MEM_P (index))
index = copy_to_reg (index);
/* If the index expression is not constant we generate
a binary decision tree to select the appropriate
target code. This is done as follows:
/* We generate a binary decision tree to select the
appropriate target code. This is done as follows:
The list of cases is rearranged into a binary tree,
nearly optimal assuming equal probability for each case.
......
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