changeset 58593:ff0c144203a1

(mark_stack): Call GC_MARK_SECONDARY_STACK if defined.
author Andreas Schwab <schwab@suse.de>
date Sat, 27 Nov 2004 22:40:50 +0000
parents 7c0aad26b8bb
children f86ad7205885
files src/alloc.c
diffstat 1 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/alloc.c	Sat Nov 27 22:09:40 2004 +0000
+++ b/src/alloc.c	Sat Nov 27 22:40:50 2004 +0000
@@ -4099,6 +4099,11 @@
 #endif
   for (i = 0; i < sizeof (Lisp_Object); i += GC_LISP_OBJECT_ALIGNMENT)
     mark_memory ((char *) stack_base + i, end);
+  /* Allow for marking a secondary stack, like the register stack on the
+     ia64.  */
+#ifdef GC_MARK_SECONDARY_STACK
+  GC_MARK_SECONDARY_STACK ();
+#endif
 
 #if GC_MARK_STACK == GC_MARK_STACK_CHECK_GCPROS
   check_gcpros ();