Commit 8fb790fd by Kazu Hirata Committed by Kazu Hirata

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
parent 09f8755b
...@@ -3,6 +3,9 @@ ...@@ -3,6 +3,9 @@
* tree-cfg.c (stmt_starts_bb_p): Clean up by replacing code * tree-cfg.c (stmt_starts_bb_p): Clean up by replacing code
with LABEL_EXPR. with LABEL_EXPR.
* cfgexpand.c (construct_exit_block): Use EDGE_PRED instead of
EDGE_I.
2005-03-03 Roger Sayle <roger@eyesopen.com> 2005-03-03 Roger Sayle <roger@eyesopen.com>
Andrew Pinski <pinskia@physics.uc.edu> Andrew Pinski <pinskia@physics.uc.edu>
......
...@@ -1237,7 +1237,7 @@ construct_exit_block (void) ...@@ -1237,7 +1237,7 @@ construct_exit_block (void)
ix = 0; ix = 0;
while (ix < EDGE_COUNT (EXIT_BLOCK_PTR->preds)) 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)) if (!(e->flags & EDGE_ABNORMAL))
redirect_edge_succ (e, exit_block); redirect_edge_succ (e, exit_block);
else else
......
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