summaryrefslogtreecommitdiff
path: root/dbg_mlc.c
diff options
context:
space:
mode:
authorivmai <ivmai>2009-10-20 15:34:26 +0200
committerIvan Maidanski <ivmai@mail.ru>2011-07-26 19:06:51 +0200
commitcbf2fbfe06d7960b9379cd44eb5ad2016552925b (patch)
treef37b9db0f26b4eea021a70753ed1c4467efaae75 /dbg_mlc.c
parent2b8606bf1eab075aa8e8dc99e1690941473f15ed (diff)
2009-10-20 Ivan Maidanski <ivmai@mail.ru>
* include/gc.h (REVEAL_POINTER): Remove redundant parentheses. * include/gc.h (GC_HIDE_POINTER, GC_REVEAL_POINTER): New macros (only if GC_I_HIDE_POINTERS). * backgraph.c (GET_OH_BG_PTR): Prefix REVEAL_POINTER() with "GC_". * dbg_mlc.c (GC_get_back_ptr_info): Ditto. * finalize.c (GC_grow_table, GC_dump_finalization, GC_finalize, GC_enqueue_all_finalizers): Ditto. * backgraph.c (SET_OH_BG_PTR): Prefix HIDE_POINTER() with "GC_". * finalize.c (GC_general_register_disappearing_link, GC_unregister_disappearing_link, GC_register_finalizer_inner, GC_finalize): Ditto. * include/private/dbg_mlc.h (HIDE_BACK_PTR): Ditto. * include/private/dbg_mlc.h (GC_I_HIDE_POINTERS): Define instead of I_HIDE_POINTERS. * include/private/gc_priv.h (GC_I_HIDE_POINTERS): Ditto. * include/gc.h (_GC_H): Strip leading underscore. * include/gc_backptr.h (_GC_H): Ditto. * include/gc_gcj.h (_GC_H): Ditto. * include/gc_mark.h (_GC_H): Ditto. * include/gc_typed.h (_GC_TYPED_H, _GC_H): Ditto. * include/javaxfc.h (_GC_H): Ditto. * include/new_gc_alloc.h (__GC_SPECIALIZE): Ditto. * include/private/dbg_mlc.h (_GC_H): Ditto. * include/private/gc_priv.h (_GC_H): Ditto. * include/gc_backptr.h: Reformat the code (adjust indentation, comment out function parameter names). * include/gc_gcj.h: Ditto. * include/gc_mark.h: Ditto. * include/gc_typed.h: Ditto. * include/javaxfc.h: Ditto. * include/private/dbg_mlc.h: Ditto. * include/private/gc_priv.h: Ditto.
Diffstat (limited to 'dbg_mlc.c')
-rw-r--r--dbg_mlc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dbg_mlc.c b/dbg_mlc.c
index 96a64b7..bbcb44f 100644
--- a/dbg_mlc.c
+++ b/dbg_mlc.c
@@ -102,7 +102,7 @@ GC_bool GC_has_other_debug_info(ptr_t p)
ptr_t bp;
ptr_t bp_base;
if (!GC_HAS_DEBUG_INFO((ptr_t) hdr)) return GC_NO_SPACE;
- bp = REVEAL_POINTER(hdr -> oh_back_ptr);
+ bp = GC_REVEAL_POINTER(hdr -> oh_back_ptr);
if (MARKED_FOR_FINALIZATION == bp) return GC_FINALIZER_REFD;
if (MARKED_FROM_REGISTER == bp) return GC_REFD_FROM_REG;
if (NOT_MARKED == bp) return GC_UNREFERENCED;