PetScan::extract(pet_expr*): take explicit source range
commit56b5172bad589ced5f1aeafa3e2c50c47a8ceedd
authorSven Verdoolaege <skimo@kotnet.org>
Wed, 5 Mar 2014 13:01:25 +0000 (5 14:01 +0100)
committerSven Verdoolaege <skimo@kotnet.org>
Mon, 24 Mar 2014 16:30:39 +0000 (24 17:30 +0100)
treefaa11e5cb8d7381eeace60b4cc898de7c1963fb4
parentc0c4350f88ff6d64bf7ce6fddfd0f3b9854012b9
PetScan::extract(pet_expr*): take explicit source range

When we add support for treating for loops with non-affine initialization or
non-constant increment as whiles, we will want to extract a scop
for part of a Stmt.  Allow the caller to pass an explicit source
range rather than having it derived from a Stmt.

Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
scan.cc
scan.h