aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDmitry Antipov2014-05-29 12:02:58 +0400
committerDmitry Antipov2014-05-29 12:02:58 +0400
commit609b06a0a1649b9bbcc6ffe0ac96a4192f855603 (patch)
tree69fd4e3640bfefe4579e3b586f22a1351bdca81e /src
parent03ca10a9faeeb2dbeb0a803f1c29995d6d1bc7a2 (diff)
downloademacs-609b06a0a1649b9bbcc6ffe0ac96a4192f855603.tar.gz
emacs-609b06a0a1649b9bbcc6ffe0ac96a4192f855603.zip
* alloc.c (Fgarbage_collect): Fix compilation with
GC_MARK_STACK == GC_USE_GCPROS_AS_BEFORE.
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog5
-rw-r--r--src/alloc.c7
2 files changed, 11 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index a71d34209b2..7665ccb7083 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,8 @@
12014-05-29 Dmitry Antipov <dmantipov@yandex.ru>
2
3 * alloc.c (Fgarbage_collect): Fix compilation with
4 GC_MARK_STACK == GC_USE_GCPROS_AS_BEFORE.
5
12014-05-29 Paul Eggert <eggert@cs.ucla.edu> 62014-05-29 Paul Eggert <eggert@cs.ucla.edu>
2 7
3 * frame.c, frame.h (frame_char_to_pixel_position) 8 * frame.c, frame.h (frame_char_to_pixel_position)
diff --git a/src/alloc.c b/src/alloc.c
index d221cc7e967..ab383f34f04 100644
--- a/src/alloc.c
+++ b/src/alloc.c
@@ -5847,8 +5847,13 @@ See Info node `(elisp)Garbage Collection'. */)
5847 end = stack_grows_down_p ? (char *) &j + sizeof j : (char *) &j; 5847 end = stack_grows_down_p ? (char *) &j + sizeof j : (char *) &j;
5848#endif /* not GC_SAVE_REGISTERS_ON_STACK */ 5848#endif /* not GC_SAVE_REGISTERS_ON_STACK */
5849#endif /* not HAVE___BUILTIN_UNWIND_INIT */ 5849#endif /* not HAVE___BUILTIN_UNWIND_INIT */
5850#endif /* GC_MARK_STACK */
5851 return garbage_collect_1 (end); 5850 return garbage_collect_1 (end);
5851#elif (GC_MARK_STACK == GC_USE_GCPROS_AS_BEFORE)
5852 /* Old GCPROs-based method without stack marking. */
5853 return garbage_collect_1 (NULL);
5854#else
5855 emacs_abort ();
5856#endif /* GC_MARK_STACK */
5852} 5857}
5853 5858
5854/* Mark Lisp objects in glyph matrix MATRIX. Currently the 5859/* Mark Lisp objects in glyph matrix MATRIX. Currently the