]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - gcc/graphite-optimize-isl.c
This patch rewrites the old VEC macro-based interface into a new one
[thirdparty/gcc.git] / gcc / graphite-optimize-isl.c
index 9c17bed6118a75411275945e109b3fab85ee4d11..5e15a7c148f1371584fbb76eaf2fb2af48d7344b 100644 (file)
@@ -51,7 +51,7 @@ scop_get_domains (scop_p scop ATTRIBUTE_UNUSED)
   isl_space *space = isl_set_get_space (scop->context);
   isl_union_set *res = isl_union_set_empty (space);
 
-  FOR_EACH_VEC_ELT (poly_bb_p, scop->bbs, i, pbb)
+  FOR_EACH_VEC_ELT (scop->bbs, i, pbb)
     res = isl_union_set_add_set (res, isl_set_copy (pbb->domain));
 
   return res;
@@ -414,7 +414,7 @@ apply_schedule_map_to_scop (scop_p scop, isl_union_map *schedule_map)
   int i;
   poly_bb_p pbb;
 
-  FOR_EACH_VEC_ELT (poly_bb_p, scop->bbs, i, pbb)
+  FOR_EACH_VEC_ELT (scop->bbs, i, pbb)
     {
       isl_set *domain = isl_set_copy (pbb->domain);
       isl_union_map *stmtBand;