diff options
author | Frank Ch. Eigler <fche@redhat.com> | 2004-06-24 21:12:18 +0000 |
---|---|---|
committer | Frank Ch. Eigler <fche@gcc.gnu.org> | 2004-06-24 21:12:18 +0000 |
commit | cfbd22d765f6afb097d4bfb7b3407d60986e84a9 (patch) | |
tree | b11f74e9117eab25751541c23cf9a481cd239e29 /libmudflap/mf-impl.h | |
parent | 79066482014cb25e9743b44622fb304b6633b24b (diff) | |
download | gcc-cfbd22d765f6afb097d4bfb7b3407d60986e84a9.zip gcc-cfbd22d765f6afb097d4bfb7b3407d60986e84a9.tar.gz gcc-cfbd22d765f6afb097d4bfb7b3407d60986e84a9.tar.bz2 |
Adopt splay trees for object database.
2004-06-24 Frank Ch. Eigler <fche@redhat.com>
Adopt splay trees for object database.
* Makefile.am: Copy splay-tree.* from libiberty.
* Makefile.in, testsuite/Makefile.in: Regenerated.
* mf-runtime.h.in (__mf_unregister): Add third parameter (type).
* mf-hooks[123].c (*): Add new third parameter to mf_unregister.
* mf-impl.h (BEGIN_PROTECT): Remove some trace text.
* mf-runtime.c: Rewrite code dealing with object database to use
libiberty splay trees. Remove tree liveness aging option.
* testsuite/libmudflap.c/fail18-frag.c: Add volatile flag.
From-SVN: r83611
Diffstat (limited to 'libmudflap/mf-impl.h')
-rw-r--r-- | libmudflap/mf-impl.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/libmudflap/mf-impl.h b/libmudflap/mf-impl.h index 05120bf..ef962bf 100644 --- a/libmudflap/mf-impl.h +++ b/libmudflap/mf-impl.h @@ -365,10 +365,6 @@ ret __mfwrap_ ## fname (__VA_ARGS__) else if (UNLIKELY (__mf_state == reentrant)) \ { \ extern unsigned long __mf_reentrancy; \ - if (UNLIKELY (__mf_opts.verbose_trace)) { \ - write (2, "mf: reentrancy detected in `", 28); \ - write (2, __PRETTY_FUNCTION__, strlen(__PRETTY_FUNCTION__)); \ - write (2, "'\n", 2); } \ __mf_reentrancy ++; \ return CALL_REAL(fname, __VA_ARGS__); \ } \ @@ -381,7 +377,7 @@ ret __mfwrap_ ## fname (__VA_ARGS__) /* Unlocked variants of main entry points from mf-runtime.h. */ extern void __mfu_check (void *ptr, size_t sz, int type, const char *location); extern void __mfu_register (void *ptr, size_t sz, int type, const char *name); -extern void __mfu_unregister (void *ptr, size_t sz); +extern void __mfu_unregister (void *ptr, size_t sz, int type); extern void __mfu_report (); extern int __mfu_set_options (const char *opts); |