emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] /srv/bzr/emacs/trunk r108828: * alloc.c (mark_object): Rem


From: Paul Eggert
Subject: [Emacs-diffs] /srv/bzr/emacs/trunk r108828: * alloc.c (mark_object): Remove "#ifdef GC_CHECK_MARKED_OBJECTS"
Date: Mon, 02 Jul 2012 00:36:17 -0700
User-agent: Bazaar (2.5.0)

------------------------------------------------------------
revno: 108828
committer: Paul Eggert <address@hidden>
branch nick: trunk
timestamp: Mon 2012-07-02 00:36:17 -0700
message:
  * alloc.c (mark_object): Remove "#ifdef GC_CHECK_MARKED_OBJECTS"
  
  wrapper that is not needed because the wrapped code is a no-op (zero
  machine instructions) when GC_CHECK_MARKED_OBJECTS is not defined.
  This avoids a -Wunused-macros diagnostic with GCC 4.7.1 x86-64.
modified:
  src/ChangeLog
  src/alloc.c
=== modified file 'src/ChangeLog'
--- a/src/ChangeLog     2012-07-02 06:23:15 +0000
+++ b/src/ChangeLog     2012-07-02 07:36:17 +0000
@@ -1,3 +1,10 @@
+2012-07-02  Paul Eggert  <address@hidden>
+
+       * alloc.c (mark_object): Remove "#ifdef GC_CHECK_MARKED_OBJECTS"
+       wrapper that is not needed because the wrapped code is a no-op (zero
+       machine instructions) when GC_CHECK_MARKED_OBJECTS is not defined.
+       This avoids a -Wunused-macros diagnostic with GCC 4.7.1 x86-64.
+
 2012-07-02  Dmitry Antipov  <address@hidden>
 
        * alloc.c (mark_buffer): Simplify.  Remove prototype.

=== modified file 'src/alloc.c'
--- a/src/alloc.c       2012-07-02 06:23:15 +0000
+++ b/src/alloc.c       2012-07-02 07:36:17 +0000
@@ -5924,10 +5924,8 @@
        else
          pvectype = 0;
 
-#ifdef GC_CHECK_MARKED_OBJECTS
        if (pvectype != PVEC_SUBR && pvectype != PVEC_BUFFER)
          CHECK_LIVE (live_vector_p);
-#endif /* GC_CHECK_MARKED_OBJECTS */
 
        if (pvectype == PVEC_BUFFER)
          {


reply via email to

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