From 840bd6b711a9015cd145b6778539976b05836bc0 Mon Sep 17 00:00:00 2001 From: Sven Verdoolaege Date: Sat, 5 Jun 2010 16:23:04 +0200 Subject: isl_tab_detect_implicit_equalities: return integer instead of struct isl_tab * --- isl_coalesce.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'isl_coalesce.c') diff --git a/isl_coalesce.c b/isl_coalesce.c index 39b6d12b..8f953df1 100644 --- a/isl_coalesce.c +++ b/isl_coalesce.c @@ -1133,7 +1133,8 @@ struct isl_map *isl_map_coalesce(struct isl_map *map) if (!tabs[i]) goto error; if (!ISL_F_ISSET(map->p[i], ISL_BASIC_MAP_NO_IMPLICIT)) - tabs[i] = isl_tab_detect_implicit_equalities(tabs[i]); + if (isl_tab_detect_implicit_equalities(tabs[i]) < 0) + goto error; if (!ISL_F_ISSET(map->p[i], ISL_BASIC_MAP_NO_REDUNDANT)) if (isl_tab_detect_redundant(tabs[i]) < 0) goto error; -- cgit v1.2.3