]> git.eshelyaron.com Git - emacs.git/commitdiff
* alloc.c: Remove now-unnecessary check.
authorPaul Eggert <eggert@cs.ucla.edu>
Tue, 30 Sep 2014 20:17:36 +0000 (13:17 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Tue, 30 Sep 2014 20:17:36 +0000 (13:17 -0700)
Suggested by Dmitry Antipov in:
http://lists.gnu.org/archive/html/emacs-devel/2014-09/msg00891.html

src/ChangeLog
src/alloc.c

index 47c43f669157ef75d76ed2c5aa1decd9e52fc4dd..7dfa2f80775409b668e418c12020233dc1fa8d47 100644 (file)
@@ -1,5 +1,9 @@
 2014-09-30  Paul Eggert  <eggert@cs.ucla.edu>
 
+       * 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
index 93bdd9a281015d77c4ea7b87051f24e80abcbdbe..f656dc94216ea9d25e204dd797c8bbf1ba026514 100644 (file)
@@ -69,12 +69,6 @@ along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.  */
 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