Port last_marked change to full-program optimizers

* src/alloc.c (last_marked): Now EXTERNALLY_VISIBLE.
This commit is contained in:
Paul Eggert 2016-10-12 09:00:27 -07:00
parent 27eb668ac3
commit 2deb20c1bd

View file

@ -6014,9 +6014,7 @@ mark_glyph_matrix (struct glyph_matrix *matrix)
all the references contained in it. */
#define LAST_MARKED_SIZE 500
/* This is not static to prevent it from being optimized away in an
optimized build, which then makes debugging GC problems harder. */
Lisp_Object last_marked[LAST_MARKED_SIZE];
Lisp_Object last_marked[LAST_MARKED_SIZE] EXTERNALLY_VISIBLE;
static int last_marked_index;
/* For debugging--call abort when we cdr down this many