if (!dim)
return NULL;
- u = isl_calloc_type(ctx, UNION);
+ u = isl_calloc_type(dim->ctx, UNION);
if (!u)
return NULL;
__isl_give UNION *FN(UNION,align_params)(__isl_take UNION *u,
__isl_take isl_dim *model)
{
- int i, j;
S(UNION,align) data = { NULL, NULL };
if (!u || !model)
UNION *res;
};
+/* This function is currently only used from isl_polynomial.c
+ * and not from isl_fold.c.
+ */
+static __isl_give UNION *match_bin_op(__isl_take UNION *u1,
+ __isl_take UNION *u2,
+ int (*fn)(void **, void *)) __attribute__ ((unused));
static __isl_give UNION *match_bin_op(__isl_take UNION *u1,
__isl_take UNION *u2, int (*fn)(void **, void *))
{
S(UNION,match_set_data) *data = user;
uint32_t hash;
struct isl_hash_table_entry *entry2;
- isl_dim *dim;
PW *pw = *entry;
int empty;