From fbd00ea8ffa96c98513ac870dfb48f8954c61c04 Mon Sep 17 00:00:00 2001 From: Sven Verdoolaege Date: Thu, 12 Apr 2012 14:07:48 +0200 Subject: [PATCH] isl_union_map_extract_map: rename dim argument to space Signed-off-by: Sven Verdoolaege --- isl_union_map.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/isl_union_map.c b/isl_union_map.c index ee6b157..46ae9ea 100644 --- a/isl_union_map.c +++ b/isl_union_map.c @@ -432,23 +432,23 @@ __isl_give isl_set *isl_set_from_union_set(__isl_take isl_union_set *uset) } __isl_give isl_map *isl_union_map_extract_map(__isl_keep isl_union_map *umap, - __isl_take isl_space *dim) + __isl_take isl_space *space) { uint32_t hash; struct isl_hash_table_entry *entry; - if (!umap || !dim) + if (!umap || !space) goto error; - hash = isl_space_get_hash(dim); + hash = isl_space_get_hash(space); entry = isl_hash_table_find(umap->dim->ctx, &umap->table, hash, - &has_dim, dim, 0); + &has_dim, space, 0); if (!entry) - return isl_map_empty(dim); - isl_space_free(dim); + return isl_map_empty(space); + isl_space_free(space); return isl_map_copy(entry->data); error: - isl_space_free(dim); + isl_space_free(space); return NULL; } -- 2.7.4