emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] /srv/bzr/emacs/trunk r109400: * lisp.h (VALMASK) [!USE_LSB


From: Paul Eggert
Subject: [Emacs-diffs] /srv/bzr/emacs/trunk r109400: * lisp.h (VALMASK) [!USE_LSB_TAG]: Now a macro
Date: Thu, 02 Aug 2012 03:49:19 -0700
User-agent: Bazaar (2.5.0)

------------------------------------------------------------
revno: 109400
committer: Paul Eggert <address@hidden>
branch nick: trunk
timestamp: Thu 2012-08-02 03:49:19 -0700
message:
  * lisp.h (VALMASK) [!USE_LSB_TAG]: Now a macro
  
  as well as a constant, since it's used in non-static inline functions now.
modified:
  src/ChangeLog
  src/lisp.h
=== modified file 'src/ChangeLog'
--- a/src/ChangeLog     2012-08-02 09:33:13 +0000
+++ b/src/ChangeLog     2012-08-02 10:49:19 +0000
@@ -30,6 +30,7 @@
        (INLINE_HEADER_END): New macros.
        * lisp.h (PSEUDOVECTOR_FLAG): Now a macro as well as a constant,
        since it's used in non-static inline functions now.
+       (VALMASK) [!USE_LSB_TAG]: Likewise.
 
 2012-08-02  Glenn Morris  <address@hidden>
 

=== modified file 'src/lisp.h'
--- a/src/lisp.h        2012-08-02 07:31:34 +0000
+++ b/src/lisp.h        2012-08-02 10:49:19 +0000
@@ -423,7 +423,9 @@
 
 #else  /* not USE_LSB_TAG */
 
-static EMACS_INT const VALMASK = VAL_MAX;
+static EMACS_INT const VALMASK
+#define VALMASK VAL_MAX
+      = VALMASK;
 
 #define XTYPE(a) ((enum Lisp_Type) ((EMACS_UINT) XLI (a) >> VALBITS))
 


reply via email to

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