diff options
| author | hainque <hainque@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-06-09 15:32:03 +0000 |
|---|---|---|
| committer | hainque <hainque@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-06-09 15:32:03 +0000 |
| commit | 8fcbc650f13024197a8456a680fe83e42a2850ba (patch) | |
| tree | 5a201c72baed287b76549a13fc9f60bd546845d5 /libjava/classpath/lib/java/util/TreeMap.class | |
| parent | e5ad3c0e58242376986af28c8e349e81fe0eefe9 (diff) | |
| download | ppe42-gcc-8fcbc650f13024197a8456a680fe83e42a2850ba.tar.gz ppe42-gcc-8fcbc650f13024197a8456a680fe83e42a2850ba.zip | |
ada/
* gcc-interface/utils2.c (build_call_alloc_dealloc_proc): New
helper for build_call_alloc_dealloc with arguments to be interpreted
identically. Process the case where a GNAT_PROC to call is provided.
(maybe_wrap_malloc): New helper for build_call_alloc_dealloc, to build
and return an allocator for DATA_SIZE bytes aimed at containing a
DATA_TYPE object, using the default __gnat_malloc allocator. Honor
DATA_TYPE alignments greater than what the latter offers.
(maybe_wrap_free): New helper for build_call_alloc_dealloc, to
release a DATA_TYPE object designated by DATA_PTR using the
__gnat_free entry point.
(build_call_alloc_dealloc): Expect object data type instead of naked
alignment constraint. Use the new helpers.
(build_allocator): Remove special processing for the super-aligned
case, now handled by build_call_alloc_dealloc. Pass data type instead
of the former alignment argument, as expected by the new interface.
* gcc-interface/gigi.h (build_call_alloc_dealloc): Adjust prototype
and comment.
* gcc-interface/trans.c (gnat_to_gnu) <case N_Free_Statement>:
Remove special processing for the super-aligned case, now handled
by build_call_alloc_dealloc. Pass data type instead of the former
alignment argument, as expected by the new interface.
testsuite/
* gnat.dg/align_max.adb: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@148314 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/classpath/lib/java/util/TreeMap.class')
0 files changed, 0 insertions, 0 deletions

