nest.c: move is_sub_access to expr.c
commitb6686eae32779c35af3561d6af118200f3a336b9
authorSven Verdoolaege <skimo@kotnet.org>
Wed, 26 Mar 2014 09:13:08 +0000 (26 10:13 +0100)
committerSven Verdoolaege <skimo@kotnet.org>
Fri, 20 Jun 2014 14:29:16 +0000 (20 16:29 +0200)
tree3c90103d06755e5419d5c6d9fa1f66bfdaca5157
parent492b313c655711484bffe4689c91b77e5295bbda
nest.c: move is_sub_access to expr.c

This function is intimately tied to both its use by mark_self_dependences
and the internal representation of pet_expr and could therefore belong
in either nest.c or expr.c.  Since we want to remove
pet_expr_access_get_access, it becomes more interesting to move it
to expr.c.  The function can then also be adjusted to the fact
that the access relation may not always be available.

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