expr.c: access_add_ref_id: avoid using access relation
commit13ae713155a8b7c579f9c12a9bc8af51195747f9
authorSven Verdoolaege <skimo@kotnet.org>
Mon, 14 Apr 2014 13:20:39 +0000 (14 15:20 +0200)
committerSven Verdoolaege <skimo@kotnet.org>
Fri, 20 Jun 2014 14:29:15 +0000 (20 16:29 +0200)
treef142731f351feb9a4cc0ab5b1689fbe097de247b
parente77199e7957d4cdd6b6c1d3f9f2a871d42d80956
expr.c: access_add_ref_id: avoid using access relation

In a future commit, we will only keep track of access relation(s)
when they cannot be trivially derived from the index expression.
Use pet_expr_get_ctx instead of extracting isl_ctx from access relation.

Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
expr.c