PetScan::scan(FunctionDecl *): construct a pet_context up front
commite487fb700e37ceada5957b7baca64825fb6f8837
authorSven Verdoolaege <skimo@kotnet.org>
Wed, 25 Dec 2013 19:32:07 +0000 (25 20:32 +0100)
committerSven Verdoolaege <skimo@kotnet.org>
Mon, 24 Mar 2014 16:32:11 +0000 (24 17:32 +0100)
tree66e7732c497f010d12a6172f95f481c13b4f86c2
parent6d8a767c9483f7fa26b5119331ee2d797fac7eb5
PetScan::scan(FunctionDecl *): construct a pet_context up front

Rather than keeping track of assigned values in assigned_values and
converting this map into a pet_context whenever we need one,
we create a pet_context up front and keep track of the assignments
in the pet_context.  This will allow us in subsequent commits
to first extract a pet_tree and to then convert this pet_tree
to a pet_scop outside of the PetScan object.

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