aboutsummaryrefslogtreecommitdiff
path: root/gcc/graphite-clast-to-gimple.c
diff options
context:
space:
mode:
authorSebastian Pop <sebastian.pop@amd.com>2009-11-25 04:52:38 +0000
committerSebastian Pop <spop@gcc.gnu.org>2009-11-25 04:52:38 +0000
commitd48e288db9948aff8d1d75af78d8bb30ef31b12c (patch)
treebbf83ed67944b9d6b349a08a6e0a69692b34e2e3 /gcc/graphite-clast-to-gimple.c
parentd17286f64907bf027dffc9a1b83ad1fdbb166676 (diff)
downloadgcc-d48e288db9948aff8d1d75af78d8bb30ef31b12c.zip
gcc-d48e288db9948aff8d1d75af78d8bb30ef31b12c.tar.gz
gcc-d48e288db9948aff8d1d75af78d8bb30ef31b12c.tar.bz2
graphite-clast-to-gimple.c (build_cloog_prog): Use pbb_index.
2009-10-05 Sebastian Pop <sebastian.pop@amd.com> * graphite-clast-to-gimple.c (build_cloog_prog): Use pbb_index. * graphite-interchange.c (pbb_do_interchange): Same. * graphite-poly.c (print_scattering_function): Same. (debug_pdrs): Same. * graphite-poly.h (pbb_loop): New. * graphite-sese-to-poly.c (create_linear_expr_from_tree): Use pbb_loop. From-SVN: r154557
Diffstat (limited to 'gcc/graphite-clast-to-gimple.c')
-rw-r--r--gcc/graphite-clast-to-gimple.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/graphite-clast-to-gimple.c b/gcc/graphite-clast-to-gimple.c
index 5da15e0..795bb6a 100644
--- a/gcc/graphite-clast-to-gimple.c
+++ b/gcc/graphite-clast-to-gimple.c
@@ -921,7 +921,7 @@ build_cloog_prog (scop_p scop, CloogProgram *prog)
continue;
/* Build the new statement and its block. */
- stmt = cloog_statement_alloc (GBB_BB (PBB_BLACK_BOX (pbb))->index);
+ stmt = cloog_statement_alloc (pbb_index (pbb));
block = cloog_block_alloc (stmt, 0, NULL, pbb_dim_iter_domain (pbb));
cloog_statement_set_usr (stmt, pbb);