aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPaul Eggert2016-10-12 09:00:27 -0700
committerPaul Eggert2016-10-12 09:19:44 -0700
commit2deb20c1bdef2940629dc2c586d9176b9ea7e203 (patch)
tree798752d1fb973993295a845694568183ce3d867e /src
parent27eb668ac34eb3899985718c6879dc11e916d382 (diff)
downloademacs-2deb20c1bdef2940629dc2c586d9176b9ea7e203.tar.gz
emacs-2deb20c1bdef2940629dc2c586d9176b9ea7e203.zip
Port last_marked change to full-program optimizers
* src/alloc.c (last_marked): Now EXTERNALLY_VISIBLE.
Diffstat (limited to 'src')
-rw-r--r--src/alloc.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/alloc.c b/src/alloc.c
index c5ae8b53ddc..d58532b97ff 100644
--- a/src/alloc.c
+++ b/src/alloc.c
@@ -6014,9 +6014,7 @@ mark_glyph_matrix (struct glyph_matrix *matrix)
6014 all the references contained in it. */ 6014 all the references contained in it. */
6015 6015
6016#define LAST_MARKED_SIZE 500 6016#define LAST_MARKED_SIZE 500
6017/* This is not static to prevent it from being optimized away in an 6017Lisp_Object last_marked[LAST_MARKED_SIZE] EXTERNALLY_VISIBLE;
6018 optimized build, which then makes debugging GC problems harder. */
6019Lisp_Object last_marked[LAST_MARKED_SIZE];
6020static int last_marked_index; 6018static int last_marked_index;
6021 6019
6022/* For debugging--call abort when we cdr down this many 6020/* For debugging--call abort when we cdr down this many