isl_basic_map_add_{eq,ineq}: only modify single copy of basic map
commit132deefbd368b29f687065de7a10a16e7fd23425
authorSven Verdoolaege <skimo@kotnet.org>
Fri, 6 Nov 2015 15:09:43 +0000 (6 16:09 +0100)
committerSven Verdoolaege <sven.verdoolaege@gmail.com>
Sat, 25 Aug 2018 11:49:23 +0000 (25 13:49 +0200)
tree1d9236af9a6a9960540ae031cfa9b23a0dcac7d4
parent174c7f36562a1bc0eb2508555f2f2512605403c3
isl_basic_map_add_{eq,ineq}: only modify single copy of basic map

There is currently only a single caller, and it already ensures
that the basic map only has a single reference,
but it is safer to let isl_basic_map_add_eq take care of this.

Signed-off-by: Sven Verdoolaege <sven.verdoolaege@gmail.com>
isl_map.c