Commit 9d5a1260 authored by Dmitry Antipov's avatar Dmitry Antipov
Browse files

Fix compilation with GC_MARK_STACK == GC_USE_GCPROS_AS_BEFORE.

* eval.c (eval_sub): Protect `form' from being GCed before its
car and cdr becomes protected with the backtrace entry.
parent 73ebd38f
2013-01-14 Dmitry Antipov <dmantipov@yandex.ru>
Fix compilation with GC_MARK_STACK == GC_USE_GCPROS_AS_BEFORE.
* eval.c (eval_sub): Protect `form' from being GCed before its
car and cdr becomes protected with the backtrace entry.
2013-01-14 Dmitry Antipov <dmantipov@yandex.ru>
 
Make Lisp_Save_Value more versatile storage for up to four objects.
......
......@@ -1931,7 +1931,10 @@ eval_sub (Lisp_Object form)
return form;
QUIT;
GCPRO1 (form);
maybe_gc ();
UNGCPRO;
if (++lisp_eval_depth > max_lisp_eval_depth)
{
......
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