PetScan::extract_scop: also add all pet_arrays
commit4f548af67be9296a26a7a1bb0060f3e870110b24
authorSven Verdoolaege <skimo@kotnet.org>
Sun, 16 Mar 2014 11:26:43 +0000 (16 12:26 +0100)
committerSven Verdoolaege <skimo@kotnet.org>
Tue, 25 Mar 2014 13:36:28 +0000 (25 14:36 +0100)
tree890a7188a9ffedaca217ad86f9f79b650e8c5d5e
parent49b22fef74599e7ddd600cfdcd8702aa3d2216e1
PetScan::extract_scop: also add all pet_arrays

We now call scan_arrays in extract_scop rather than in scan to ensure that
scan_arrays is executed in the same pet_context.
In particular, in subsequent commits, we will be modifying the pet_context
inside extract_scop and we want these modifications to be available to
scan_arrays as well.

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