gcc/libmudflap
Frank Ch. Eigler 00dcddaaa0 ANSI C conversion, libmudflap specialization, recursion limiting.
2004-07-08  Frank Ch. Eigler  <fche@redhat.com>

	ANSI C conversion, libmudflap specialization, recursion limiting.
	* splay-tree.h (splay_tree_{de,}allocate_fn): Remove allocation_data
	argument and indirection function pointers, update callers.
	(splay_tree_s): Add statistics and recursion control fields
	num_keys, max_depth, depth, rebalance_p.
	* splay-tree.c (splay_tree_splay_helper): Track recursion depth.
	Back out of search if it exceeds limit.
	(splay_tree_splay): Manage recursion limiting with rebalancing as
	needed.
	(splay_tree_new): More initialization.
	(splay_tree_rebalance): New function.
	(splay_tree_foreach): Rewrite using nonrecursive logic.
	(splay_tree_xmalloc_allocate, splay_tree_xmalloc_deallocate):
	Remove.  Point indirect calls to mf-runtime.c's routines.
	(splay_tree_compare_ints, splay_tree_compare_pointers): Remove unused
	functions.
	(splay_tree_delete, splay_tree_delete_helper): Ditto.
	* testsuite/heap-scalestress.c: New test based on one from
	Eyal Lebedinsky <eyal@eyal.emu.id.au>:

From-SVN: r84303
2004-07-08 19:11:44 +00:00
..
testsuite ANSI C conversion, libmudflap specialization, recursion limiting. 2004-07-08 19:11:44 +00:00
.cvsignore Added .cvsignore entry for autom4te.cache to boehm-gc, libffi and 2004-06-15 07:42:08 +00:00
acinclude.m4 acinclude.m4 (lt_cv_deplibs_check_method): Use pass_all on sh*. 2004-05-18 10:35:12 +00:00
aclocal.m4 configure.ac: New name of configure.in. 2004-06-15 14:47:55 +00:00
ChangeLog ANSI C conversion, libmudflap specialization, recursion limiting. 2004-07-08 19:11:44 +00:00
config.h.in * quick build fix 2004-06-25 17:17:51 +00:00
configure libtool-version: New. 2004-07-05 19:08:30 +00:00
configure.ac libtool-version: New. 2004-07-05 19:08:30 +00:00
libtool-version libtool-version: New. 2004-07-05 19:08:30 +00:00
Makefile.am libtool-version: New. 2004-07-05 19:08:30 +00:00
Makefile.in libtool-version: New. 2004-07-05 19:08:30 +00:00
mf-heuristics.c
mf-hooks1.c Adopt splay trees for object database. 2004-06-24 21:12:18 +00:00
mf-hooks2.c configure.ac (AC_CHECK_HEADERS): Add dirent.h configure: Regenerate. 2004-06-29 10:27:15 +00:00
mf-hooks3.c Adopt splay trees for object database. 2004-06-24 21:12:18 +00:00
mf-impl.h Adopt splay trees for object database. 2004-06-24 21:12:18 +00:00
mf-runtime.c [multiple changes] 2004-06-29 22:30:53 +00:00
mf-runtime.h.in tree-mudflap.c: Include cgraph.h. 2004-07-05 18:12:47 +00:00
splay-tree.c ANSI C conversion, libmudflap specialization, recursion limiting. 2004-07-08 19:11:44 +00:00
splay-tree.h ANSI C conversion, libmudflap specialization, recursion limiting. 2004-07-08 19:11:44 +00:00
stamp-h.in