aboutsummaryrefslogtreecommitdiffstats
path: root/src/alloc.c
diff options
context:
space:
mode:
authorKim F. Storm2004-07-12 14:35:53 +0000
committerKim F. Storm2004-07-12 14:35:53 +0000
commit9ea306d1786e97efae7123d32cd59972956ab1d6 (patch)
tree4ce728726c78d34e77278f042494a83d350fc945 /src/alloc.c
parentf85409d318657d2bf616e23d9a222671de82359b (diff)
downloademacs-9ea306d1786e97efae7123d32cd59972956ab1d6.tar.gz
emacs-9ea306d1786e97efae7123d32cd59972956ab1d6.zip
(mark_object): Only look at Lisp_Misc_Save_Value if GC_MARK_STACK.
Diffstat (limited to 'src/alloc.c')
-rw-r--r--src/alloc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/alloc.c b/src/alloc.c
index 7ec882f3dd3..5c2a6fb48c3 100644
--- a/src/alloc.c
+++ b/src/alloc.c
@@ -5033,6 +5033,7 @@ mark_object (arg)
5033 break; 5033 break;
5034 5034
5035 case Lisp_Misc_Save_Value: 5035 case Lisp_Misc_Save_Value:
5036#if GC_MARK_STACK
5036 { 5037 {
5037 register struct Lisp_Save_Value *ptr = XSAVE_VALUE (obj); 5038 register struct Lisp_Save_Value *ptr = XSAVE_VALUE (obj);
5038 /* If DOGC is set, POINTER is the address of a memory 5039 /* If DOGC is set, POINTER is the address of a memory
@@ -5045,6 +5046,7 @@ mark_object (arg)
5045 mark_maybe_object (*p); 5046 mark_maybe_object (*p);
5046 } 5047 }
5047 } 5048 }
5049#endif
5048 break; 5050 break;
5049 5051
5050 case Lisp_Misc_Overlay: 5052 case Lisp_Misc_Overlay: