changeset 56401:1529ab7bab88

(mark_object): Only look at Lisp_Misc_Save_Value if GC_MARK_STACK.
author Kim F. Storm <storm@cua.dk>
date Mon, 12 Jul 2004 14:35:53 +0000
parents 28ca5294266a
children 78189fca7611
files src/alloc.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/alloc.c	Mon Jul 12 14:24:21 2004 +0000
+++ b/src/alloc.c	Mon Jul 12 14:35:53 2004 +0000
@@ -5033,6 +5033,7 @@
 	  break;
 
 	case Lisp_Misc_Save_Value:
+#if GC_MARK_STACK
 	  {
 	    register struct Lisp_Save_Value *ptr = XSAVE_VALUE (obj);
 	    /* If DOGC is set, POINTER is the address of a memory
@@ -5045,6 +5046,7 @@
 		  mark_maybe_object (*p);
 	      }
 	  }
+#endif
 	  break;
 
 	case Lisp_Misc_Overlay: