summaryrefslogtreecommitdiff
path: root/mark_rts.c
diff options
context:
space:
mode:
authorivmai <ivmai>2009-09-26 10:33:11 +0200
committerIvan Maidanski <ivmai@mail.ru>2011-07-26 19:06:48 +0200
commit88d261763c5f05c3fa0a97e14f750c5be83a7b3d (patch)
treee1fcbd837d7f738db62f435db80e25b76d6bc94b /mark_rts.c
parent4e84a470a723dbd46e8839c1c010cec25ad55f97 (diff)
2009-09-26 Ivan Maidanski <ivmai@mail.ru>
* mark_rts.c (GC_is_tmp_root): Don't define unless NO_DEBUGGING; update the comment. * include/private/gc_priv.h (GC_is_tmp_root): Remove declaration.
Diffstat (limited to 'mark_rts.c')
-rw-r--r--mark_rts.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/mark_rts.c b/mark_rts.c
index 9aab5cb..99ee278 100644
--- a/mark_rts.c
+++ b/mark_rts.c
@@ -335,7 +335,9 @@ STATIC void GC_remove_roots_inner(ptr_t b, ptr_t e)
}
#endif /* !defined(MSWIN32) && !defined(MSWINCE) */
-#if defined(MSWIN32) || defined(_WIN32_WCE_EMULATION)
+#if (defined(MSWIN32) || defined(_WIN32_WCE_EMULATION)) \
+ && !defined(NO_DEBUGGING)
+/* Not used at present (except for, may be, debugging purpose). */
/* Workaround for the OS mapping and unmapping behind our back: */
/* Is the address p in one of the temporary static root sections? */
GC_bool GC_is_tmp_root(ptr_t p)