diff options
author | Tristan Gingold <gingold@adacore.com> | 2011-08-30 14:13:06 +0000 |
---|---|---|
committer | Arnaud Charlet <charlet@gcc.gnu.org> | 2011-08-30 16:13:06 +0200 |
commit | 5b8ca141c207d428a24416d2e5a5e6a324e8770f (patch) | |
tree | 464965dc947d9763f162797b95afc77bd3ec6bd1 /gcc/ada | |
parent | 3597c0e902c51c0f9ea2ca58a0807d8f8cf54087 (diff) | |
download | gcc-5b8ca141c207d428a24416d2e5a5e6a324e8770f.zip gcc-5b8ca141c207d428a24416d2e5a5e6a324e8770f.tar.gz gcc-5b8ca141c207d428a24416d2e5a5e6a324e8770f.tar.bz2 |
Renames Ratio to Percentage, and Sec_Stack_Ratio to Sec_Stack_Percentage
From-SVN: r178315
Diffstat (limited to 'gcc/ada')
-rw-r--r-- | gcc/ada/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/ada/s-parame-ae653.ads | 8 |
2 files changed, 6 insertions, 6 deletions
diff --git a/gcc/ada/ChangeLog b/gcc/ada/ChangeLog index e39ed6a..ce9e88b 100644 --- a/gcc/ada/ChangeLog +++ b/gcc/ada/ChangeLog @@ -17,8 +17,8 @@ * s-parame-vms-alpha.ads, s-parame-hpux.ads, s-tassta.adb, s-tarest.adb, s-parame-vms-ia64.ads, s-soflin.adb, s-secsta.adb, - s-secsta.ads, s-parame.ads, s-parame-vxworks.ads: Renames Ratio to - Percentage, and Sec_Stack_Ratio to Sec_Stack_Percentage. + s-secsta.ads, s-parame.ads, s-parame-vxworks.ads, s-parame-ae653.ads: + Renames Ratio to Percentage, and Sec_Stack_Ratio to Sec_Stack_Percentage 2011-08-30 Gary Dismukes <dismukes@adacore.com> diff --git a/gcc/ada/s-parame-ae653.ads b/gcc/ada/s-parame-ae653.ads index a13ecf3..82a5d31 100644 --- a/gcc/ada/s-parame-ae653.ads +++ b/gcc/ada/s-parame-ae653.ads @@ -6,7 +6,7 @@ -- -- -- S p e c -- -- -- --- Copyright (C) 1992-2010, Free Software Foundation, Inc. -- +-- Copyright (C) 1992-2011, Free Software Foundation, Inc. -- -- -- -- GNAT is free software; you can redistribute it and/or modify it under -- -- terms of the GNU General Public License as published by the Free Soft- -- @@ -62,7 +62,7 @@ package System.Parameters is Unspecified_Size : constant Size_Type := Size_Type'First; -- Value used to indicate that no size type is set - subtype Ratio is Size_Type range -1 .. 100; + subtype Percentage is Size_Type range -1 .. 100; Dynamic : constant Size_Type := -1; -- The secondary stack ratio is a constant between 0 and 100 which -- determines the percentage of the allocated task stack that is @@ -70,10 +70,10 @@ package System.Parameters is -- The special value of minus one indicates that the secondary -- stack is to be allocated from the heap instead. - Sec_Stack_Ratio : constant Ratio := 50; + Sec_Stack_Percentage : constant Percentage := 50; -- This constant defines the handling of the secondary stack - Sec_Stack_Dynamic : constant Boolean := Sec_Stack_Ratio = Dynamic; + Sec_Stack_Dynamic : constant Boolean := Sec_Stack_Percentage = Dynamic; -- Convenient Boolean for testing for dynamic secondary stack function Default_Stack_Size return Size_Type; |