summaryrefslogtreecommitdiff
path: root/isl_coalesce.c
diff options
context:
space:
mode:
authorSven Verdoolaege <skimo@kotnet.org>2010-06-25 18:56:12 +0200
committerSven Verdoolaege <skimo@kotnet.org>2010-06-26 17:37:39 +0200
commit3dd551186a6f18654214338a83d141c80885ddf6 (patch)
tree6b913504acfaccfa10a9e5db23a7e23e4c1c0250 /isl_coalesce.c
parente4b5dcadbee6167cf444338a7cb69b0851bca566 (diff)
downloadisl-3dd551186a6f18654214338a83d141c80885ddf6.tar.gz
isl-3dd551186a6f18654214338a83d141c80885ddf6.tar.bz2
isl-3dd551186a6f18654214338a83d141c80885ddf6.zip
isl_tab_add_eq: return int instead of isl_tab *
Diffstat (limited to 'isl_coalesce.c')
-rw-r--r--isl_coalesce.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/isl_coalesce.c b/isl_coalesce.c
index 8f953df1..84a5a4b0 100644
--- a/isl_coalesce.c
+++ b/isl_coalesce.c
@@ -722,7 +722,8 @@ static int wrap_in_facets(struct isl_map *map, int i, int j,
isl_seq_cpy(bound->el, map->p[i]->ineq[cuts[k]], 1 + total);
isl_int_add_ui(bound->el[0], bound->el[0], 1);
- tabs[j] = isl_tab_add_eq(tabs[j], bound->el);
+ if (isl_tab_add_eq(tabs[j], bound->el) < 0)
+ goto error;
if (isl_tab_detect_redundant(tabs[j]) < 0)
goto error;