tree2scop.c: scop_from_non_affine_while: drop preallocation of statement number
commitf8bf81fd961e4f8df771a010b51dbfdc27d27c20
authorSven Verdoolaege <skimo@kotnet.org>
Sun, 9 Mar 2014 11:47:59 +0000 (9 12:47 +0100)
committerSven Verdoolaege <skimo@kotnet.org>
Tue, 25 Mar 2014 13:36:26 +0000 (25 14:36 +0100)
treec051906dc842a44d118445ec420c26e52e35d98d
parent3a9bf99e8967a0f3304277463ae7a41c1919b94d
tree2scop.c: scop_from_non_affine_while: drop preallocation of statement number

Before the previous commit, we would extract a scop for the body
before extracting a scop for the non-affine condition.
Since we wanted the statement number of the statement evaluating
the non-affine condition to be smaller than the statement numbers
of the statements in the body, we would preallocate a statement number.
Now that we extract a scop from the body after extracting the scop
for the non-affine condition, this preallocation is no longer needed.

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