Use FOR_EACH_VEC_ELT.
2010-09-09 Sebastian Pop <sebastian.pop@amd.com> * graphite-poly.h (lst_dewey_number): Use FOR_EACH_VEC_ELT. From-SVN: r164797
This commit is contained in:
parent
0706c754ab
commit
69ac2bb6d5
|
@ -1,4 +1,8 @@
|
|||
2010-08-24 Sebastian Pop <sebastian.pop@amd.com>
|
||||
2010-09-30 Sebastian Pop <sebastian.pop@amd.com>
|
||||
|
||||
* graphite-poly.h (lst_dewey_number): Use FOR_EACH_VEC_ELT.
|
||||
|
||||
2010-09-30 Sebastian Pop <sebastian.pop@amd.com>
|
||||
|
||||
* graphite-poly.c (graphite_read_scop_file): Fix uninitialize warning.
|
||||
|
||||
|
|
|
@ -1,3 +1,7 @@
|
|||
2010-09-09 Sebastian Pop <sebastian.pop@amd.com>
|
||||
|
||||
* graphite-poly.h (lst_dewey_number): Use FOR_EACH_VEC_ELT.
|
||||
|
||||
2010-09-02 Vladimir Kargov <kargov@gmail.com>
|
||||
|
||||
* graphite-scop-detection.c (is_valid_expr_p, is_valid_loop_p): New.
|
||||
|
|
|
@ -843,7 +843,7 @@ lst_dewey_number (lst_p lst)
|
|||
if (!LST_LOOP_FATHER (lst))
|
||||
return 0;
|
||||
|
||||
for (i = 0; VEC_iterate (lst_p, LST_SEQ (LST_LOOP_FATHER (lst)), i, l); i++)
|
||||
FOR_EACH_VEC_ELT (lst_p, LST_SEQ (LST_LOOP_FATHER (lst)), i, l)
|
||||
if (l == lst)
|
||||
return i;
|
||||
|
||||
|
|
Loading…
Reference in New Issue