PetScan::get_array_size: cache results
commit26d75c926067452820ab9ab1088130e73b9779b4
authorSven Verdoolaege <skimo@kotnet.org>
Sun, 16 Mar 2014 20:24:41 +0000 (16 21:24 +0100)
committerSven Verdoolaege <skimo@kotnet.org>
Tue, 25 Mar 2014 13:36:29 +0000 (25 14:36 +0100)
treef8a3afb4b1f7ba696f4f81d70dc742d2bf4bb02c
parent7e7f6dee309af23b32060a7ce25b286b0ee9991e
PetScan::get_array_size: cache results

This is already useful when two or more arrays of the same type
are used inside a scop, but it will become even more useful
when we start reusing the method to figure out which parameters
are needed in the size expressions.

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