summaryrefslogtreecommitdiff
path: root/include/ChangeLog
diff options
context:
space:
mode:
authorjimb <jimb@138bc75d-0d04-0410-961f-82ee72b054a4>2002-02-22 17:01:23 +0000
committerjimb <jimb@138bc75d-0d04-0410-961f-82ee72b054a4>2002-02-22 17:01:23 +0000
commita3af3ae8d31c4e7a5381d97d454005d50cdf6e1a (patch)
tree4759685426e1fe1ad06d6c7ecee1dac0bf9aff27 /include/ChangeLog
parente9a502ef11fecb00bf6489ea2255ca3be7cca730 (diff)
downloadgcc-a3af3ae8d31c4e7a5381d97d454005d50cdf6e1a.tar.gz
include:
Allow the user to specify functions for allocating memory for splay tree roots and nodes. * splay-tree.h (splay_tree_allocate_fn, splay_tree_deallocate_fn): New types. (splay_tree): New fields: `allocate', `deallocate', and `allocate_data'. (splay_tree_new_with_allocator): New function declaration. libiberty: * splay-tree.c (splay_tree_xmalloc_allocate, splay_tree_xmalloc_deallocate): New functions. (splay_tree_new): Call splay_tree_new_with_allocator, passing the above functions and a dummy data pointer. (splay_tree_new_with_allocator): New function. (splay_tree_delete_helper, splay_tree_delete, splay_tree_insert, splay_tree_remove): Use the splay tree's allocation and deallocation functions. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49968 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'include/ChangeLog')
-rw-r--r--include/ChangeLog10
1 files changed, 10 insertions, 0 deletions
diff --git a/include/ChangeLog b/include/ChangeLog
index 599adbaa1f7..e6c3d5e49d0 100644
--- a/include/ChangeLog
+++ b/include/ChangeLog
@@ -1,3 +1,13 @@
+2002-02-22 Jim Blandy <jimb@redhat.com>
+
+ Allow the user to specify functions for allocating memory for
+ splay tree roots and nodes.
+ * splay-tree.h (splay_tree_allocate_fn, splay_tree_deallocate_fn):
+ New types.
+ (splay_tree): New fields: `allocate', `deallocate', and
+ `allocate_data'.
+ (splay_tree_new_with_allocator): New function declaration.
+
2002-02-05 Jason Merrill <jason@redhat.com>
* demangle.h (cplus_demangle_v3): Add "options" parm.