summaryrefslogtreecommitdiff
path: root/gcc/gcse.c
diff options
context:
space:
mode:
authorbje <bje@138bc75d-0d04-0410-961f-82ee72b054a4>2004-10-13 04:33:28 +0000
committerbje <bje@138bc75d-0d04-0410-961f-82ee72b054a4>2004-10-13 04:33:28 +0000
commit56ff961b25c723dc51b7a93b1f610780a83ba3d1 (patch)
tree6a081f1f6693d5039bffedca48954bf4f88f18fc /gcc/gcse.c
parentbc3c8ad48535b3f1293af0409175cf75cc80d0c1 (diff)
downloadgcc-56ff961b25c723dc51b7a93b1f610780a83ba3d1.tar.gz
* basic-block.h (edge_iterator): Keep the address of VEC(edge) *.
(ei_container): New; renamed. (ei_start, ei_last): New macros. (ei_start_1, ei_last_1): Renamed from ei_start. (ei_last_1, ei_end_p): Use ei_container() where applicable. (ei_one_before_end_p, ei_next, ei_edge): Likewise. * gcse.c (remove_reachable_equiv_notes): Use ei_container(). git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88966 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/gcse.c')
-rw-r--r--gcc/gcse.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/gcse.c b/gcc/gcse.c
index 1370be1c349..f1e1b0aa85f 100644
--- a/gcc/gcse.c
+++ b/gcc/gcse.c
@@ -6293,7 +6293,7 @@ remove_reachable_equiv_notes (basic_block bb, struct ls_expr *smexpr)
sbitmap_zero (visited);
- act = (EDGE_COUNT (ei.container) > 0 ? EDGE_I (ei.container, 0) : NULL);
+ act = (EDGE_COUNT (ei_container (ei)) > 0 ? EDGE_I (ei_container (ei), 0) : NULL);
while (1)
{
if (!act)
@@ -6351,7 +6351,7 @@ remove_reachable_equiv_notes (basic_block bb, struct ls_expr *smexpr)
if (act)
stack[sp++] = ei;
ei = ei_start (bb->succs);
- act = (EDGE_COUNT (ei.container) > 0 ? EDGE_I (ei.container, 0) : NULL);
+ act = (EDGE_COUNT (ei_container (ei)) > 0 ? EDGE_I (ei_container (ei), 0) : NULL);
}
}
}