emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] trunk r117991: * alloc.c: Remove now-unnecessary check.


From: Paul Eggert
Subject: [Emacs-diffs] trunk r117991: * alloc.c: Remove now-unnecessary check.
Date: Tue, 30 Sep 2014 20:17:40 +0000
User-agent: Bazaar (2.6b2)

------------------------------------------------------------
revno: 117991
revision-id: address@hidden
parent: address@hidden
author: Paul Eggert  <address@hidden>
committer: Paul Eggert <address@hidden>
branch nick: trunk
timestamp: Tue 2014-09-30 13:17:36 -0700
message:
  * alloc.c: Remove now-unnecessary check.
  
  Suggested by Dmitry Antipov in:
  http://lists.gnu.org/archive/html/emacs-devel/2014-09/msg00891.html
modified:
  src/ChangeLog                  changelog-20091113204419-o5vbwnq5f7feedwu-1438
  src/alloc.c                    alloc.c-20091113204419-o5vbwnq5f7feedwu-252
=== modified file 'src/ChangeLog'
--- a/src/ChangeLog     2014-09-30 15:31:18 +0000
+++ b/src/ChangeLog     2014-09-30 20:17:36 +0000
@@ -1,5 +1,9 @@
 2014-09-30  Paul Eggert  <address@hidden>
 
+       * alloc.c: Remove now-unnecessary check.
+       Suggested by Dmitry Antipov in:
+       http://lists.gnu.org/archive/html/emacs-devel/2014-09/msg00891.html
+
        * xterm.c (x_term_init): Allocate temps on stack, not on heap.
 
        * frame.c (x_set_frame_parameters): Port --enable-gcc-warnings

=== modified file 'src/alloc.c'
--- a/src/alloc.c       2014-09-29 06:44:31 +0000
+++ b/src/alloc.c       2014-09-30 20:17:36 +0000
@@ -69,12 +69,6 @@
 static bool valgrind_p;
 #endif
 
-#if USE_STACK_LISP_OBJECTS
-# if GC_MARK_STACK != GC_MAKE_GCPROS_NOOPS
-#  error "Stack-allocated Lisp objects are not compatible with GCPROs"
-# endif
-#endif
-
 /* GC_CHECK_MARKED_OBJECTS means do sanity checks on allocated objects.
    Doable only if GC_MARK_STACK.  */
 #if ! GC_MARK_STACK


reply via email to

[Prev in Thread] Current Thread [Next in Thread]