X-Git-Url: http://git.sourceforge.jp/view?a=blobdiff_plain;f=gcc%2Fgraphite-scop-detection.c;fp=gcc%2Fgraphite-scop-detection.c;h=02c653b69a6ef35ca8fb4a93e93fe6223e78fae3;hb=c9ef6b0ef08751c3a3770da15d38c1ef59ee2ec0;hp=6580252a7fa67a39d0ef65a03b22ac5bdae4957e;hpb=83b6c9dbe59299f469b81f88a1de57609e1257f9;p=pf3gnuchains%2Fgcc-fork.git diff --git a/gcc/graphite-scop-detection.c b/gcc/graphite-scop-detection.c index 6580252a7fa..02c653b69a6 100644 --- a/gcc/graphite-scop-detection.c +++ b/gcc/graphite-scop-detection.c @@ -1207,24 +1207,6 @@ print_graphite_statistics (FILE* file, VEC (scop_p, heap) *scops) print_graphite_scop_statistics (file, scop); } -/* Version of free_scops special cased for limit_scops. */ - -static void -free_scops_1 (VEC (scop_p, heap) **scops) -{ - int i; - scop_p scop; - - for (i = 0; VEC_iterate (scop_p, *scops, i, scop); i++) - { - sese region = SCOP_REGION (scop); - free (SESE_PARAMS_NAMES (region)); - SESE_PARAMS_NAMES (region) = 0; - } - - free_scops (*scops); -} - /* We limit all SCoPs to SCoPs, that are completely surrounded by a loop. Example: @@ -1278,7 +1260,7 @@ limit_scops (VEC (scop_p, heap) **scops) } } - free_scops_1 (scops); + free_scops (*scops); *scops = VEC_alloc (scop_p, heap, 3); create_sese_edges (regions);