[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] emacs-25 2deb20c 1/3: Port last_marked change to full-prog
From: |
Paul Eggert |
Subject: |
[Emacs-diffs] emacs-25 2deb20c 1/3: Port last_marked change to full-program optimizers |
Date: |
Wed, 12 Oct 2016 16:19:48 +0000 (UTC) |
branch: emacs-25
commit 2deb20c1bdef2940629dc2c586d9176b9ea7e203
Author: Paul Eggert <address@hidden>
Commit: Paul Eggert <address@hidden>
Port last_marked change to full-program optimizers
* src/alloc.c (last_marked): Now EXTERNALLY_VISIBLE.
---
src/alloc.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/src/alloc.c b/src/alloc.c
index c5ae8b5..d58532b 100644
--- a/src/alloc.c
+++ b/src/alloc.c
@@ -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