PetScan::extract(IfStmt *): extract out extract_non_affine_if
commit9a07308aa03387aeeb510919e532d19f2e095c5d
authorSven Verdoolaege <skimo@kotnet.org>
Mon, 12 Mar 2012 10:57:01 +0000 (12 11:57 +0100)
committerSven Verdoolaege <skimo@kotnet.org>
Sun, 3 Jun 2012 12:02:31 +0000 (3 14:02 +0200)
tree44878995de53f64b818125795830884c18cacda3
parent9f352e76f7f6a614786e1200d0d2c35a256b359b
PetScan::extract(IfStmt *): extract out extract_non_affine_if

This simplifies PetScan::extract(IfStmt *) and will make it easier
to extend it, in particular to handle breaks and continues.

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