OSDN Git Service

2008-05-27 Quentin Ochem <ochem@adacore.com>
authorcharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 27 May 2008 10:13:53 +0000 (10:13 +0000)
committercharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 27 May 2008 10:13:53 +0000 (10:13 +0000)
commitb87952044eb0f4fe9d0952ef672b478b8efc3df9
treefc5f4ca746fe0933f6141488a778144c76c36a5a
parent52c4f4e6747b67b7e64af9b6f39f7b3c9d838942
2008-05-27  Quentin Ochem  <ochem@adacore.com>

* s-stausa.adb (Initialize): Updated result initialization, and
initialization of environment stack.
(Fill_Stack): Improved computation of the pattern zone, taking into
account already filled at the calling point.
(Get_Usage_Range): Now uses Min_Measure and Max_Measure instead of
Measure and Overflow_Guard.
(Report_Result): Fixed computation of the result using new fields of
Stack_Analyzer.

* s-stausa.ads (Initialize_Analyzer): Replaced Size / Overflow_Guard
params by more explicit Stack_Size / Max_Pattern_Size params.
(Stack_Analyzer): Added distinct Stack_Size & Pattern_Size fields.
Added Stack_Used_When_Filling field.
(Task_Result): Replaced Measure / Overflow_Guard by more explicit
Min_Measure and Max_Measure fields.

* s-tassta.adb (Task_Wrapper): Updated call to Initialize_Analyzer.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@135999 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ada/s-stausa.adb
gcc/ada/s-stausa.ads
gcc/ada/s-tassta.adb