tree2scop.c: extract_kill: update kill expression rather than creating new one
commit492b313c655711484bffe4689c91b77e5295bbda
authorSven Verdoolaege <skimo@kotnet.org>
Wed, 26 Mar 2014 08:53:50 +0000 (26 09:53 +0100)
committerSven Verdoolaege <skimo@kotnet.org>
Fri, 20 Jun 2014 14:29:16 +0000 (20 16:29 +0200)
treeb975c7c11f1b5d2a8b9678b24c293eea9ec6ce4b
parent9e36da6ee6182dbe6e6915d28b52e4eb0c5e4d38
tree2scop.c: extract_kill: update kill expression rather than creating new one

That is, take the kill expression from the other statement, but
drop the statement name from the expression, so that we can add
the name of the new statement.

As a nice side-effect of the clean-up, we remove a call to
pet_expr_access_get_access, which we want to remove soon.

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