aboutsummaryrefslogtreecommitdiffstats
path: root/src/alloc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/alloc.c')
-rw-r--r--src/alloc.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/alloc.c b/src/alloc.c
index a0725efef07..aa5849fee48 100644
--- a/src/alloc.c
+++ b/src/alloc.c
@@ -69,6 +69,12 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
69static bool valgrind_p; 69static bool valgrind_p;
70#endif 70#endif
71 71
72#ifdef USE_LOCAL_ALLOCATORS
73# if GC_MARK_STACK != GC_MAKE_GCPROS_NOOPS
74# error "Stack-allocated Lisp objects are not compatible with GCPROs"
75# endif
76#endif
77
72/* GC_CHECK_MARKED_OBJECTS means do sanity checks on allocated objects. 78/* GC_CHECK_MARKED_OBJECTS means do sanity checks on allocated objects.
73 Doable only if GC_MARK_STACK. */ 79 Doable only if GC_MARK_STACK. */
74#if ! GC_MARK_STACK 80#if ! GC_MARK_STACK