diff options
author | Bob Duff <duff@adacore.com> | 2011-08-05 14:09:33 +0000 |
---|---|---|
committer | Arnaud Charlet <charlet@gcc.gnu.org> | 2011-08-05 16:09:33 +0200 |
commit | 7882673f4c6036951fbaea9bb23975f250587c01 (patch) | |
tree | 95d9fe2f3f2d0672a147fa18ad64ca7c091f73fb /gcc/config.gcc | |
parent | d34cd27401917a9b85e7ad5ac2cbca62bbc458cc (diff) | |
download | gcc-7882673f4c6036951fbaea9bb23975f250587c01.zip gcc-7882673f4c6036951fbaea9bb23975f250587c01.tar.gz gcc-7882673f4c6036951fbaea9bb23975f250587c01.tar.bz2 |
a-fihema.ads, [...] (Finalization_Collection): Avoid heap allocation for Objects component.
2011-08-05 Bob Duff <duff@adacore.com>
* a-fihema.ads, a-fihema.adb (Finalization_Collection): Avoid heap
allocation for Objects component. This simplifies the code somewhat. It
is also a little more efficient in the not-so-unusual case where there
are no controlled objects allocated.
Make Finalization_Started flag atomic.
(Finalize): Avoid unnecessary detachment of items from the list.
(pcol): Minor cleanup.
From-SVN: r177439
Diffstat (limited to 'gcc/config.gcc')
0 files changed, 0 insertions, 0 deletions