diff src/alloc.c @ 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 a446552d2240
children 9fc5aae4053e a79c4db19c4f 97905c4f1a42
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: