Commit Graph

159 Commits

Author SHA1 Message Date
Jim Blandy
2bbcdae974 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.
2002-02-21 22:19:14 +00:00
DJ Delorie
59ea9fe7b6 merge from gcc 2002-02-19 21:01:40 +00:00
DJ Delorie
6f84855018 merge from gcc 2002-02-18 23:01:39 +00:00
DJ Delorie
44354ae183 merge from gcc 2002-02-05 17:53:17 +00:00
DJ Delorie
42da15d6b3 merge from gcc 2002-02-03 13:12:45 +00:00
DJ Delorie
b117c15877 merge from gcc 2002-02-01 21:20:30 +00:00
DJ Delorie
c78d91b126 merge from gcc 2002-02-01 01:34:09 +00:00
DJ Delorie
bef8b55d39 merge from gcc 2002-01-31 19:01:15 +00:00
DJ Delorie
2c955b8b61 merge from gcc 2002-01-31 02:21:27 +00:00
Richard Henderson
58b1717a5e * configure.in (variable detection): Use arrays of unspecified
size instead of plain integers.
2002-01-22 22:32:35 +00:00
DJ Delorie
cc096b7166 merge from gcc 2002-01-22 20:14:53 +00:00
DJ Delorie
c23795e245 merge from gcc 2002-01-03 00:25:57 +00:00
DJ Delorie
20d54542b9 merge from gcc 2002-01-02 18:01:38 +00:00
DJ Delorie
d86cd7453a merge from gcc 2002-01-01 17:46:09 +00:00
DJ Delorie
f348a7b160 merge from gcc 2002-01-01 01:03:22 +00:00
DJ Delorie
15ae9e7145 merge from gcc 2001-12-24 19:13:07 +00:00
DJ Delorie
ae53364610 merge from gcc 2001-12-13 00:05:32 +00:00
DJ Delorie
c0eb281b9d merge from gcc 2001-12-11 14:46:51 +00:00
Richard Henderson
2da4c07f1c * demangle.h (no_demangling): New.
(NO_DEMANGLING_STYLE_STRING): New.

        * cplus-dem.c (libiberty_demanglers): Add no_demangling case.
        (cplus_demangle): Support no_demangling.
2001-12-06 21:57:28 +00:00
DJ Delorie
24acd898d2 merge from gcc 2001-11-28 02:11:49 +00:00
DJ Delorie
fec501579d merge from gcc 2001-11-26 22:25:58 +00:00
DJ Delorie
5527febf4d merge from gcc 2001-11-26 21:23:10 +00:00
DJ Delorie
941d74a0b0 merge from gcc 2001-11-16 22:31:03 +00:00
DJ Delorie
dc5790516e merge from gcc 2001-11-15 19:06:06 +00:00
DJ Delorie
1a78a35acf merge from gcc 2001-11-13 03:54:15 +00:00
DJ Delorie
4e55c4b6b4 merge from gcc 2001-11-05 01:12:22 +00:00
DJ Delorie
d311a83ab4 merge from gcc 2001-10-23 15:32:45 +00:00
DJ Delorie
3bc62f91f4 merge from gcc 2001-10-21 00:08:22 +00:00
DJ Delorie
5d852400e9 merge from gcc 2001-10-17 22:35:28 +00:00
DJ Delorie
ba19b94f67 merge from gcc 2001-10-16 02:55:31 +00:00
DJ Delorie
56056af518 merge from gcc 2001-10-10 00:05:13 +00:00
DJ Delorie
99b5813985 merge from gcc 2001-10-07 22:42:23 +00:00
DJ Delorie
e6450fe561 merge from gcc 2001-10-07 17:24:36 +00:00
DJ Delorie
da191b5b76 merge from gcc 2001-09-29 16:55:59 +00:00
DJ Delorie
916aaa1251 merge from gcc 2001-09-29 03:19:56 +00:00
DJ Delorie
fa9f0e33b3 merge from gcc 2001-09-27 20:27:58 +00:00
DJ Delorie
3942352316 merge from gcc 2001-09-26 18:45:50 +00:00
DJ Delorie
66c94e19fc merge from gcc 2001-09-25 23:02:03 +00:00
DJ Delorie
99ee3a8f13 merge from gcc 2001-09-24 23:37:52 +00:00
DJ Delorie
54c2024269 merge from gcc 2001-09-17 23:11:04 +00:00
DJ Delorie
843f21be9e merge from gcc 2001-09-04 21:33:56 +00:00
DJ Delorie
8a423cb3d6 merge from gcc 2001-08-27 20:05:03 +00:00
DJ Delorie
dc67663583 merge from gcc 2001-08-23 16:38:09 +00:00
DJ Delorie
f080c76dc0 merge from gcc 2001-08-22 22:55:38 +00:00
DJ Delorie
f01b59ed06 merge from gcc 2001-08-22 02:12:15 +00:00
DJ Delorie
8e777d6aa9 merge from gcc 2001-08-21 15:19:19 +00:00
Andrew Cagney
eb82859947 * floatformat.h (floatformat_arm_ext): Document as deprecated.
(floatformat_arm_ext_big, floatformat_arm_ext_littlebyte_bigword)
(floatformat_ia64_spill_little, floatformat_ia64_quad_little)
(floatformat_ia64_spill_big, floatformat_ia64_quad_big)
(floatformat_m88110_harris_ext): Declare.
2001-08-21 00:20:07 +00:00
DJ Delorie
68a41de77d merge from gcc 2001-08-17 21:14:20 +00:00
DJ Delorie
8fc3479902 merge from gcc 2001-08-17 06:33:05 +00:00
DJ Delorie
8aefe91ac7 sync with gcc - whitespace differences, one missing entry, and one
rearrangement.
2001-08-14 14:08:12 +00:00