+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.
+
2009-09-26 Ivan Maidanski <ivmai@mail.ru>
* alloc.c: Expand all tabs to spaces; remove trailing spaces at
GC_bool GC_is_static_root(ptr_t p);
/* Is the address p in one of the registered static */
/* root sections? */
-# if defined(MSWIN32) || defined(_WIN32_WCE_EMULATION)
-GC_bool GC_is_tmp_root(ptr_t p);
- /* Is the address p in one of the temporary static */
- /* root sections? */
-# endif
void GC_register_dynamic_libraries(void);
/* Add dynamic library data sections to the root set. */
void GC_cond_register_dynamic_libraries(void);
}
#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)