diff options
author | bstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-10-17 06:29:06 +0000 |
---|---|---|
committer | bstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-10-17 06:29:06 +0000 |
commit | cc5193bb7e518249b7ed62c484802e719f69fd6d (patch) | |
tree | 795c51eddeeb744cf93dae3fd38f448824cdc93b /gcc/ada/s-stopoo.ads | |
parent | d98b2a2eca4f4e0f1baff4a64be2c0b677f9d191 (diff) | |
download | gcc-cc5193bb7e518249b7ed62c484802e719f69fd6d.tar.gz |
2011-10-17 Basile Starynkevitch <basile@starynkevitch.net>
MELT branch merged with trunk rev 180071 using svnmerge.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@180075 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ada/s-stopoo.ads')
-rw-r--r-- | gcc/ada/s-stopoo.ads | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gcc/ada/s-stopoo.ads b/gcc/ada/s-stopoo.ads index 1c4d12754a0..e2d66ff747d 100644 --- a/gcc/ada/s-stopoo.ads +++ b/gcc/ada/s-stopoo.ads @@ -65,6 +65,14 @@ private type Root_Storage_Pool is abstract new Ada.Finalization.Limited_Controlled with null record; + type Root_Storage_Pool_Ptr is access all Root_Storage_Pool'Class; + for Root_Storage_Pool_Ptr'Storage_Size use 0; + -- Type of the BIP_Storage_Pool extra parameter (see Exp_Ch6). The + -- Storage_Size clause is necessary, because otherwise we have a + -- chicken&egg problem; we can't be creating collection finalization code + -- in this low-level package, because that involves Pool_Global, which + -- imports this package. + -- ??? Are these two still needed? It might be possible to use Subpools. -- Allocate_Any_Controlled / Deallocate_Any_Controlled for non-controlled -- objects. |