isl_tab: keep track of location of inserted integer division in undo stack
commit93a4120f652039cc8b6133dd0deba3b2bf5b7d2e
authorSven Verdoolaege <skimo@kotnet.org>
Sat, 16 Jul 2016 16:04:59 +0000 (16 18:04 +0200)
committerSven Verdoolaege <skimo@kotnet.org>
Tue, 19 Jul 2016 09:44:08 +0000 (19 11:44 +0200)
tree699e60b7a4c312ac5591073a2462f04d135fa191
parent396cf0f0d7f727c2956241ddfb1adf7ef379c6a4
isl_tab: keep track of location of inserted integer division in undo stack

When an integer division is added to the basic map representation
of an isl_tab, it is currently always added at the end.
However, this will be changed in an upcoming commit.
That is, integer divisions may also get added at other positions.
Store the position of the added integer division in the undo stack and
take this position into account when dropping the integer division on undo.

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