Commit 9ea306d1 authored by Kim F. Storm's avatar Kim F. Storm
Browse files

(mark_object): Only look at Lisp_Misc_Save_Value if GC_MARK_STACK.

parent f85409d3
...@@ -5033,6 +5033,7 @@ mark_object (arg) ...@@ -5033,6 +5033,7 @@ mark_object (arg)
break; break;
case Lisp_Misc_Save_Value: case Lisp_Misc_Save_Value:
#if GC_MARK_STACK
{ {
register struct Lisp_Save_Value *ptr = XSAVE_VALUE (obj); register struct Lisp_Save_Value *ptr = XSAVE_VALUE (obj);
/* If DOGC is set, POINTER is the address of a memory /* If DOGC is set, POINTER is the address of a memory
...@@ -5045,6 +5046,7 @@ mark_object (arg) ...@@ -5045,6 +5046,7 @@ mark_object (arg)
mark_maybe_object (*p); mark_maybe_object (*p);
} }
} }
#endif
break; break;
case Lisp_Misc_Overlay: case Lisp_Misc_Overlay:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment