diff options
author | Ivan Maidanski <ivmai@mail.ru> | 2011-07-26 20:18:03 +0400 |
---|---|---|
committer | Ivan Maidanski <ivmai@mail.ru> | 2011-07-26 20:18:03 +0400 |
commit | 64040040407b11d8740516fad2438109e7f22c02 (patch) | |
tree | 6d18a075ceb6f63855730afe630e50b0afa7ed32 /gcj_mlc.c | |
parent | e35a4171fe47dfbf847e08988ea6cec4dfc8d124 (diff) | |
download | bdwgc-64040040407b11d8740516fad2438109e7f22c02.tar.gz |
gc7.0alpha2 tarball importgc7_0alpha2
Diffstat (limited to 'gcj_mlc.c')
-rw-r--r-- | gcj_mlc.c | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -131,7 +131,11 @@ static void maybe_finalize() /* Allocate an object, clear it, and store the pointer to the */ /* type structure (vtable in gcj). */ /* This adds a byte at the end of the object if GC_malloc would.*/ -void * GC_gcj_malloc(size_t lb, void * ptr_to_struct_containing_descr) +#ifdef THREAD_LOCAL_ALLOC + void * GC_core_gcj_malloc(size_t lb, void * ptr_to_struct_containing_descr) +#else + void * GC_gcj_malloc(size_t lb, void * ptr_to_struct_containing_descr) +#endif { ptr_t op; ptr_t * opp; |