summaryrefslogtreecommitdiff
path: root/isl_coalesce.c
diff options
context:
space:
mode:
authorSven Verdoolaege <skimo@kotnet.org>2011-08-21 10:38:41 +0200
committerSven Verdoolaege <skimo@kotnet.org>2011-09-03 12:02:47 +0200
commitd07eed3bf4d0e290118588ca80997a8035eaeb21 (patch)
treea91f34068f9540feeaf3fe687ca363968de9b5a2 /isl_coalesce.c
parentcd1939ed06617d00159e8e51b72a804b467e98b4 (diff)
downloadisl-d07eed3bf4d0e290118588ca80997a8035eaeb21.tar.gz
isl-d07eed3bf4d0e290118588ca80997a8035eaeb21.tar.bz2
isl-d07eed3bf4d0e290118588ca80997a8035eaeb21.zip
rename isl_dim to isl_space
The old name was confusing because the name suggested that the object represents a single dimension, while in fact it represents an entire space. The documented isl_dim based names are for backward compatibility. Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
Diffstat (limited to 'isl_coalesce.c')
-rw-r--r--isl_coalesce.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/isl_coalesce.c b/isl_coalesce.c
index 8cb942e2..b99c7b53 100644
--- a/isl_coalesce.c
+++ b/isl_coalesce.c
@@ -158,7 +158,7 @@ static int fuse(struct isl_map *map, int i, int j,
unsigned total = isl_basic_map_total_dim(map->p[i]);
unsigned extra_rows = extra ? extra->n_row : 0;
- fused = isl_basic_map_alloc_dim(isl_dim_copy(map->p[i]->dim),
+ fused = isl_basic_map_alloc_space(isl_space_copy(map->p[i]->dim),
map->p[i]->n_div,
map->p[i]->n_eq + map->p[j]->n_eq,
map->p[i]->n_ineq + map->p[j]->n_ineq + extra_rows);