diff options
Diffstat (limited to 'gcc/graphite.c')
-rw-r--r-- | gcc/graphite.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/gcc/graphite.c b/gcc/graphite.c index 7511527..10d1dd5 100644 --- a/gcc/graphite.c +++ b/gcc/graphite.c @@ -62,6 +62,7 @@ along with GCC; see the file COPYING3. If not see #include "graphite-scop-detection.h" #include "graphite-clast-to-gimple.h" #include "graphite-sese-to-poly.h" +#include "graphite-htab.h" CloogState *cloog_state; @@ -255,7 +256,7 @@ graphite_transform_loops (void) scop_p scop; bool need_cfg_cleanup_p = false; vec<scop_p> scops = vNULL; - htab_t bb_pbb_mapping; + bb_pbb_htab_type bb_pbb_mapping; isl_ctx *ctx; /* If a function is parallel it was most probably already run through graphite @@ -277,7 +278,7 @@ graphite_transform_loops (void) print_global_statistics (dump_file); } - bb_pbb_mapping = htab_create (10, bb_pbb_map_hash, eq_bb_pbb_map, free); + bb_pbb_mapping.create (10); FOR_EACH_VEC_ELT (scops, i, scop) if (dbg_cnt (graphite_scop)) @@ -291,7 +292,7 @@ graphite_transform_loops (void) need_cfg_cleanup_p = true; } - htab_delete (bb_pbb_mapping); + bb_pbb_mapping.dispose (); free_scops (scops); graphite_finalize (need_cfg_cleanup_p); the_isl_ctx = NULL; |