cfgexpand.c (construct_exit_block): Use EDGE_PRED instead of EDGE_I.

* cfgexpand.c (construct_exit_block): Use EDGE_PRED instead of
	EDGE_I.

From-SVN: r95834
This commit is contained in:
Kazu Hirata 2005-03-03 16:22:38 +00:00 committed by Kazu Hirata
parent 09f8755b65
commit 8fb790fd3f
2 changed files with 4 additions and 1 deletions

View file

@ -3,6 +3,9 @@
* tree-cfg.c (stmt_starts_bb_p): Clean up by replacing code
with LABEL_EXPR.
* cfgexpand.c (construct_exit_block): Use EDGE_PRED instead of
EDGE_I.
2005-03-03 Roger Sayle <roger@eyesopen.com>
Andrew Pinski <pinskia@physics.uc.edu>

View file

@ -1237,7 +1237,7 @@ construct_exit_block (void)
ix = 0;
while (ix < EDGE_COUNT (EXIT_BLOCK_PTR->preds))
{
e = EDGE_I (EXIT_BLOCK_PTR->preds, ix);
e = EDGE_PRED (EXIT_BLOCK_PTR, ix);
if (!(e->flags & EDGE_ABNORMAL))
redirect_edge_succ (e, exit_block);
else