diff options
Diffstat (limited to 'gcc/graphite.c')
-rw-r--r-- | gcc/graphite.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/gcc/graphite.c b/gcc/graphite.c index a957d93..1188c24 100644 --- a/gcc/graphite.c +++ b/gcc/graphite.c @@ -278,6 +278,20 @@ graphite_finalize (bool need_cfg_cleanup_p) print_loops (dump_file, 3); } +/* Deletes all scops in SCOPS. */ + +static void +free_scops (vec<scop_p> scops) +{ + int i; + scop_p scop; + + FOR_EACH_VEC_ELT (scops, i, scop) + free_scop (scop); + + scops.release (); +} + isl_ctx *the_isl_ctx; /* Perform a set of linear transforms on the loops of the current |