From f1e4e5456f08dd04661d5a7393343c2faaa6024f Mon Sep 17 00:00:00 2001 From: Sven Verdoolaege Date: Mon, 8 Aug 2016 12:20:03 +0200 Subject: [PATCH] isl_basic_map_insert_dims: rename "dim" variable to "space" Signed-off-by: Sven Verdoolaege --- isl_map.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/isl_map.c b/isl_map.c index 40718b13..39b56387 100644 --- a/isl_map.c +++ b/isl_map.c @@ -3878,7 +3878,7 @@ __isl_give isl_basic_map *isl_basic_map_insert_dims( unsigned pos, unsigned n) { isl_bool rational; - isl_space *res_dim; + isl_space *res_space; struct isl_basic_map *res; struct isl_dim_map *dim_map; unsigned total, off; @@ -3890,7 +3890,8 @@ __isl_give isl_basic_map *isl_basic_map_insert_dims( if (!bmap) return NULL; - res_dim = isl_space_insert_dims(isl_basic_map_get_space(bmap), type, pos, n); + res_space = isl_space_insert_dims(isl_basic_map_get_space(bmap), + type, pos, n); total = isl_basic_map_total_dim(bmap) + n; dim_map = isl_dim_map_alloc(bmap->ctx, total); @@ -3905,11 +3906,11 @@ __isl_give isl_basic_map *isl_basic_map_insert_dims( isl_dim_map_dim_range(dim_map, bmap->dim, t, pos, size - pos, off + pos + n); } - off += isl_space_dim(res_dim, t); + off += isl_space_dim(res_space, t); } isl_dim_map_div(dim_map, bmap, off); - res = isl_basic_map_alloc_space(res_dim, + res = isl_basic_map_alloc_space(res_space, bmap->n_div, bmap->n_eq, bmap->n_ineq); rational = isl_basic_map_is_rational(bmap); if (rational < 0) -- 2.11.4.GIT