]> git.eshelyaron.com Git - emacs.git/commitdiff
(mark_object): Only look at Lisp_Misc_Save_Value if GC_MARK_STACK.
authorKim F. Storm <storm@cua.dk>
Mon, 12 Jul 2004 14:35:53 +0000 (14:35 +0000)
committerKim F. Storm <storm@cua.dk>
Mon, 12 Jul 2004 14:35:53 +0000 (14:35 +0000)
src/alloc.c

index 7ec882f3dd30422f68ee81d881a8d4fcf46c8bfa..5c2a6fb48c3ea60c0278f49be5cba75e93003afc 100644 (file)
@@ -5033,6 +5033,7 @@ mark_object (arg)
          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_object (arg)
                  mark_maybe_object (*p);
              }
          }
+#endif
          break;
 
        case Lisp_Misc_Overlay: